Silkie / Terminal emulator / macOS + Linux
A terminal for richer interaction.¶
Silkie is a terminal emulator for macOS and Linux, built on kitty. It extends the terminal with pen and touch input, vector graphics, HDR color, and display timing feedback.
Run your shell and terminal applications. Build software that can draw, respond to a stylus, and understand the display it is running on.
Open source · Main branch: silkie
Starting the shell…
Play in a full-window terminal: Presidential · Silkie Loophole · Ground Stop · Silkie Sprint · Silkie Scramble · Gobble Protocol. Use Fullscreen to fill the display. SSH setup · Powered by CheerpX
Specifications and documentation
03 / Silkie extensions
Pen, touch, ink, vectors, color, and timing. Explore Silkie’s additions.
02 / kitty + kitten tools
The terminal emulator Silkie forks, with graphics, keyboard protocols, and tools called kittens. Read kitty’s docs and kitten docs.
01 / Terminal foundations
The text stream and VT/xterm-style control sequences that kitty extends. Read the underlying references.
Features¶
Silkie adds protocols that applications can discover and use as needed. Support depends on the operating system, input device, display, and compositor; each specification describes its capabilities and limits.
Fonts and typography¶
Mix Iosevka’s sans-serif and slab-serif faces, select weights from Thin to Heavy, and control slant in either direction. Regional CJK font preferences preserve character widths and the terminal grid. Font files are installed separately; see Font selection protocol for configuration and escape sequences.
Pen, touch, and gestures¶
Give applications pressure and tilt information, touch contacts, smooth scrolling, and gesture events. Inspect what a device reports with the show_pointer kitten.
Tablet input · Scrolling · Gestures · Haptics
Vector graphics and ink¶
Send paths, styled text and scenes for the terminal to render at the displayed size, with session fonts, text measurement, nested window clips and HDR color. Let the terminal draw pen strokes as input arrives, without waiting for each sample to make a round trip to the application. Transmit SVG documents through the graphics protocol and let Silkie render them at the displayed size.
Vector images · Terminal-side ink · GPU surfaces
Send one-, two-, four-, or eight-bit grayscale pixels and RGB565 without requiring compression; Packed image formats describes the compact wire encodings, independent of the display’s color model. Palette images adds images of one- to eight-bit indices into a palette of RGBA colors that can be replaced without resending the pixels. Send 16-bit gray, RGB10A2 and 16-bit RGBA at their full precision, encoded with sRGB, linear, PQ or HLG, so that HDR10 frames go to the GPU as they are; see High precision images. Images of any size are drawn, from tiles when they are larger than a GPU texture, with mipmaps when shown smaller than they are, and stay without a storage quota; see Large images and image storage.
Accessibility¶
Magnify and pan the active pane while keeping the same terminal grid. Silkie redraws text and vector graphics at the selected scale. Review the descriptions of charts, diagrams, and other images in the active pane with a keyboard or screen reader. Programs can describe each placement and identify decorative artwork. See Accessibility.
Find in terminal output¶
Search the active pane and its compressed scrollback with Edit → Find. Silkie highlights matches as you type. See Find in terminal output for shortcuts and settings.
Color beyond ordinary SDR¶
Use wider color spaces, request brightness above SDR white on supported displays, and give text colors with sixteen bits per channel. Query the available headroom and control transparency at the cell level.
HDR · Wide gamut · Deep colors · Cell alpha
Display and presentation feedback¶
Learn about the display, receive input timing information, and track when a frame is presented. Use those reports to coordinate drawing with the terminal.
Games¶
Play Presidential, a political satire and economic simulation, or Silkie Loophole, a raccoon’s trick-or-treating adventure in Montpelier. Ground Stop brings every aircraft in America down at Montpelier’s last working airport. Silkie Sprint crosses roads and rivers; Silkie Scramble gathers chicks while outwitting garden predators. All five run in the browser’s Linux terminal and support native Silkie and kitty terminals.
Play the games, watch gameplay, and find installation instructions.
Gobble Protocol is a multiplayer Thanksgiving game on one shared farm. Play in your browser or download the terminal game.
Install¶
Binary packages are available from Homebrew for Apple Silicon macOS, and the APT repository for Linux. See Install Silkie for the supported targets and installation instructions. To set up package sources and install both Silkie and its Iosevka font:
curl -fsSL https://silkie.goblinreactor.com/install.sh | bash
The installer asks before adding or changing Goblin Reactor package sources. It installs unmodified Iosevka with its SIL Open Font License notice. Silkie uses Iosevka’s wider Extended faces by default.
The macOS app is not signed with an Apple Developer ID or notarized by Apple,
so macOS would refuse to open it as downloaded. On macOS the install script
and the Homebrew cask clear the quarantine flag from silkie.app after
installing it, so Silkie opens normally. If macOS still blocks it, approve
Silkie in System Settings > Privacy & Security, or run
xattr -dr com.apple.quarantine /Applications/silkie.app.
To build from source, use the silkie branch. You will need Git, a C compiler, and
Go; Linux also needs the system libraries listed in the
installation guide. The build script downloads the remaining
build dependencies.
git clone --branch silkie https://github.com/adamdeprince/silkie.git
cd silkie
./dev.sh build
./kitty/launcher/kitty
Launch the installed application with silkie and use silkie-kitten for
its companion tools. The source build above runs directly from the checkout.
Upstream kitty packages install upstream
kitty; use the Silkie packages or source above to get these additions.
Documentation¶
Silkie’s specifications describe the additions. Read them alongside the upstream references to understand the terminal as a whole.
Find the specifications¶
The developer guide brings together terminal standards, kitty and kitten manuals, Silkie’s extension specifications, and links to the source.
Use the extension reference¶
Find escape sequences, fields, units, replies, and platform limits. Start with capability discovery and shared framing, then choose a protocol.
Follow the upstream manuals¶
kitty documents inherited terminal behavior. Its kittens are tools and plugins that use and extend kitty, such as image display, SSH integration, and remote control.
kitty manual · Kitten tools · kitty protocols