Skip to content
Avead556Public

About

A keyboard-first IDE that lives in your terminal

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

TTYwright

A keyboard-first IDE that lives in your terminal

Editor, Git, language servers, run and debug in one terminal window.
Familiar IntelliJ IDEA–style shortcuts, and the mouse works too.

Features · Install · Quick start · Shortcuts

Rust 2024 macOS · Linux Status

Editor with the project tree, Rust highlighting and changed lines marked in the gutter

Features

✏️ Editor

Tabs, splits, tree-sitter highlighting for many languages, find and replace with regex and a project-wide preview, structural search by code shape, soft wrap, and Markdown preview right in the terminal.

🧠 Language servers

Diagnostics, go to definition, completion, hover docs, find usages, rename, quick fixes and formatting. rust-analyzer installs itself.

🌿 Git

Log with a branch graph, commits by checkbox or partial staging by hunk and line, side-by-side diffs, conflicts, stash, branches, blame, push and pull.

▶️ Run and debug

Finds what to run: cargo, npm, go, gradle, maven, composer. Errors in the output are clickable. Debugging over DAP with breakpoints, watches and stepping.

🧰 Tools

Built-in terminal, Database panel (SQLite, Postgres, MySQL), HTTP client for .http files, Docker, GitHub, test coverage, duplicate detection, and Claude Code in a panel.

🛡️ Nothing gets lost

Every edit reaches a journal before it reaches the screen. Autosave, swap files and local history. An untrusted project never gets to run its code.

Screenshots

Commit view with checked files and a side-by-side diff

Commit: checkboxes, hunks, side-by-side diff

Git log with authors and a commit diff

Log: history, files and the diff of a commit

Action palette with fuzzy search

Palette: any action in a few keystrokes

Run tab with cargo test output

Run: programs, tests, jump to errors

Claude Code in a panel, connected to the editor, reviewing the open file

Claude Code: the real CLI in a panel, connected to the editor, sees the open file and selection

Install

curl -fsSL https://raw.githubusercontent.com/Avead556/ttywright/main/install.sh | sh

The script downloads a prebuilt release for macOS or Linux (arm64 and x86_64) from Releases, verifies its checksum, installs it into ~/.local/share/ttywright and links the ttyw command into ~/.local/bin. No Rust toolchain needed, and rust-analyzer is bundled.

A specific version, custom folders, uninstalling
curl -fsSL https://raw.githubusercontent.com/Avead556/ttywright/main/install.sh | TTYWRIGHT_VERSION=v0.1.0 sh
curl -fsSL https://raw.githubusercontent.com/Avead556/ttywright/main/install.sh | TTYWRIGHT_HOME=~/apps/ttywright TTYWRIGHT_BIN_DIR=~/bin sh

Running the script again updates the install. To uninstall:

rm -rf ~/.local/share/ttywright ~/.local/bin/ttyw
Building from source

Requires stable Rust with edition 2024 (tested with 1.92) and a C compiler for the tree-sitter grammars.

git clone https://github.com/Avead556/ttywright.git
cd ttywright
cargo install --path .

The ttyw command lands in ~/.cargo/bin. On the first .rs file the editor finds or fetches rust-analyzer by itself.

Quick start

ttyw              # the current folder as a project
ttyw ~/code/app   # a given folder
ttyw src/main.rs  # open a file

Tabs, splits and cursor positions come back on the next start. The first time you open a folder, the editor asks whether to trust it: without trust, nothing from the project is executed.

Key shortcuts

Action Keys
Action palette Ctrl+Shift+A or Ctrl+K
Go to file Ctrl+Shift+N or Ctrl+P
Search Everywhere Ctrl+N
Project panel Alt+1
Find in file / in project Ctrl+F / Ctrl+Shift+F
Go to definition Ctrl+B
Completion / quick fixes Ctrl+Space / Alt+Enter
Rename symbol Shift+F6
Git: log / commit / branches Alt+9 / Alt+0 / Alt+G
Choose what to run / rerun Ctrl+Shift+F10 / Shift+F10
Run any command Alt+X
Split Ctrl+\
Quit Ctrl+Shift+Q

Languages

Language Highlighting Language server
Rust ✓ rust-analyzer, installed automatically
TypeScript, JavaScript ✓ typescript-language-server
Python ✓ pyright or pylsp
Go ✓ gopls
Java ✓ jdtls
PHP ✓ intelephense
Bash ✓ bash-language-server
TOML, JSON, Markdown ✓

Debugging: Rust, C and C++ (lldb-dap, codelldb, gdb), Python (debugpy), Go (dlv), PHP (Xdebug), JS and TS (js-debug).

About

A keyboard-first IDE that lives in your terminal

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages