On this page
clownfish
Prev: prettynb | Up: projects | Next: peaches
Rel: wispsy, wispsy-labs, Applications
Ref: wispsy on GitHub
Tags: #public #wispsy #project #applications #tier/standard
Role
A modern terminal emulator written in Python 3.14+ and Tkinter (0.6.5, zero runtime deps)—featuring TrueColor, POSIX PTY/SSH sessions, split panes, tabs, layout restoration, Kitty keyboard protocol, and a programmatic HeadlessTerminal API.
Install
# Homebrew tap (CLI formula or macOS Cask):
brew tap wispsy/tap && brew install clownfish
# brew install --cask wispsy/tap/clownfish
# Or PyPI:
uv tool install clownfish
# pip install clownfish
Quickstart
# Launch the interactive desktop terminal
clownfish
# Programmatic / CI usage without opening a Tk window
from clownfish import HeadlessTerminal
term = HeadlessTerminal(cols=80, rows=24)
term.feed(b"\x1b[32mhello clownfish\x1b[0m\r\n")
print(term.snapshot_text())
When to Reach for It
- Running a hackable Python-native desktop terminal emulator or driving scripted terminal sessions via
HeadlessTerminalin CI/tests. - Strong candidate for eventual graduation into wispsy-labs or a dedicated app org.
Gotchas & Pitfalls
- Tkinter GUI requirement: Desktop sessions require a Python
>=3.14build with working Tk/Tcl (tkinter); in headless CI environments, use the programmaticHeadlessTerminalAPI instead of launching the GUI window. - POSIX PTY sessions: Built around POSIX PTYs (
pty/termios) and remote shell subprocesses, making macOS and Linux the primary supported interactive targets. - Layout restoration paths: Saved tab/pane layouts reference local working directories and commands—missing directories fall back cleanly, so verify paths when syncing dotfiles across machines.
Pairs With
- escape-colors — Optional
[syntax]extra (escape-colors==0.3.0). - homebrew-tap — Publishes both the CLI formula and macOS Cask.
Metadata
type: project-card
slug: clownfish
org: wispsy
repo: wispsy/clownfish
package: clownfish
version: 0.6.5
requires_python: ">=3.14"
layer: applications
topic: wispsy-application
status: active
language: python
source_docs: README.md, docs/
Linked from
Related notes
- wiki/projects/peaches Linked here; links to this page; shared tags: #applications, #project, #tier, #wispsy
- wiki/projects/prettynb Linked here; links to this page; shared tags: #applications, #project, #tier, #wispsy
- wiki/projects/homebrew-tap Linked here; links to this page; shared tags: #project, #tier, #wispsy
- wiki/stack/applications Linked here; links to this page; shared tags: #applications, #tier, #wispsy
- wiki/orgs/wispsy Linked here; links to this page; shared tags: #tier, #wispsy
- wiki/projects Linked here; links to this page; shared tags: #wispsy
- wiki/projects/escape-colors Linked here; shared tags: #project, #tier, #wispsy
- wiki/choosing links to this page; shared tags: #tier, #wispsy
- wiki/compatibility links to this page; shared tags: #tier, #wispsy
- wiki/orgs/wispsy-labs Linked here; shared tags: #tier, #wispsy