{"repo":"dannote/ghostty_ex","free":true,"listed":false,"github":"https://github.com/dannote/ghostty_ex","clone":"git clone https://github.com/dannote/ghostty_ex.git","description":"Terminal emulator library for the BEAM — libghostty-vt NIFs with OTP integration","language":"Elixir","stars":106,"topics":["elixir","genserver","ghostty","nif","simd","terminal-emulator","vt-parser"],"license":"MIT","category":"cli-tools","readme_excerpt":"Ghostty Terminal emulator library for the BEAM. Wraps libghostty-vt — the virtual terminal extracted from Ghostty. SIMD-optimized VT parsing, full Unicode, 24-bit color, scrollback with text reflow. Terminals are GenServers. Installation Precompiled terminal and PTY NIF binaries are downloaded automatically for x86 64 Linux, aarch64 Linux, and aarch64 macOS. Usage Color themes Configure default foreground, background, cursor, and ANSI palette colors when starting a terminal. A palette list starts at index 0; a map can override sparse indices while retaining libghostty-vt's built-in values for the rest. Effective foreground and background colors are also included in Ghostty.Terminal.render state/1 so custom renderers can apply the theme. Supervision Messages Terminal effects Effect messages are sent to the process that called start link/1 : Message Trigger --- --- {:pty write, binary} Query responses to write back to the PTY :bell BEL character ( \\a ) :title changed Title change via OSC 2 Subprocess output Ghostty.PTY sends messages to the process that called start link/1 : Message Trigger --- --- {:data, binary} Subprocess stdout/stderr {:exit, status} Subprocess exit Resize with reflow Strip ANSI Render state Read the screen as a grid of cells for building custom renderers (LiveView, Scenic, etc.): Current terminal TTY Use Ghostty.TTY for local terminal applications that need raw keyboard input from the terminal running the BEAM process: Ghostty.TTY complements Ghostty.PTY :","default_branch":null,"files":null,"tree":[],"storefront":"/r/dannote","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dannote/ghostty_ex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}