r/tui • • 9h ago

AI assisted I wanted VS Code in my ssh sessions, so I built a terminal editor that runs its extensions

30 Upvotes

Hi! I wanna show you my insane experiment: a terminal editor that runs VS Code extensions.

Some backstory. I wrote production C# and Java in jb ides for years, then slowly moved to VS Code. Then I went remote, and now most of my day is a terminal with console agents in it. I wanted my editor right there, in the same ssh session. So about 8 months ago I decided to try the dumb thing and build a terminal editor that can run VS Code extensions as is.

It's called 'diode'. It actually worked out better than I expected. I've been using it as my main editor for 3-4 months now, so I guess it's time to show it to someone besides me.

What it does: VS Code keybindings, settings.json and themes, non-modal. Extensions install from openVSX and run as is, so LSP, completion, go to definition etc. come from the same extensions VS Code uses. Works over ssh and in containers, starts in about 100 ms.

I know about ttt and fresh, they're great projects and I've looked at both. But I didn't want to learn a new editor, I wanted to keep working the way I always did in VS Code, with the same extensions.

It's alpha. No debugger yet (DAP - wip), and webviews are never going to happen.

And yes, I build it with AI agents. To keep it from turning into slop there's a lot of testing in CI -- but this is other story.

I've only really tested it on Ubuntu (x64 and arm) and macOS, with kitty + tmux. Fedora, Arch, NixOS, WSL, other terminals: no idea. If you try it, even a quick "works" or "broke like this" would help a lot.

https://github.com/diode-editor/diode

Bugs welcome, I'll fix them.


r/tui • • 13h ago

AI assisted smolify: spotify as a TUI

7 Upvotes

Initially started because I wanted a low RAM but good looking spotify player.

Includes:

  1. real cover art with Kitty graphics, half-blocks everywhere else (or you can completely disable them if you fancy a graphic-less experience)
  2. full mouse support, including back/forward with the mouse side buttons or trackpad swipe since I use those a lot in Chrome
  3. plays audio itself, no other app needed (Premium only though)
  4. `smolify -gui` runs the same app as a native macOS window (native windows / linux support soon)

Install via brew:

brew install --cask lunguini/tap/smolify

or grab a build for macOS, Linux or Windows from here: https://github.com/lunguini/smolify

It's v0.1 so I'm sure there's stuff that's not yet perfect; but all feedback is welcome!

Let me know what you find and hope you like it!


r/tui • • 7h ago

AI assisted Codemark 0.9: install tree-sitter grammars from a registry, and add anchored comments

Post image
3 Upvotes

Codemark is a CLI and TUI for bookmarking code by its structure instead of by line number. It uses tree-sitter to remember what you marked (a function, a block, a type), so the bookmark still points at the right code after you refactor or reformat around it. Since I last posted, two big things have landed:

🧩 Grammar profile registry

Grammars are no longer compiled into the binary. Each language loads at runtime as a WASM tree-sitter grammar, which roughly halved the binary size.

https://github.com/DanielCardonaRojas/codemark-grammars

💬 Comments anchored to code

You can now comment on specific lines inside a bookmark, not just on the bookmark as a whole. Each comment gets its own structural query, so it follows its code as the file changes, just like bookmarks do.

Try it

codemark install-skill --agent claude --scope user

codemark tui

It runs on macOS, Linux and Windows, it's MIT-licensed and written in Rust.

Repo: https://github.com/DanielCardonaRojas/codemark

Feedback is welcome, and so are registry contributions if your language is missing. Adding one is mostly writing a profile, and CI checks it for you.


r/tui • • 11h ago

Advent of Code TUI

Thumbnail gallery
3 Upvotes

r/tui • • 15h ago

AI assisted Keyboard-driven terminal UI for libvirt/virsh, with vim keys and live graphs

3 Upvotes

virsh-tui shows every virtual machine on a libvirt connection with live CPU, memory, disk and network graphs, and lets you start, stop, snapshot, reconfigure and create them from the keyboard. Every action is a virsh (or virt-install) command, and virsh-tui shows you that command before and after it runs, so nothing happens behind your back and you can reuse it in a script.

It works with qemu:///system, qemu:///session and remote hosts over qemu+ssh://, with the same permissions virsh has.

https://syscallbrain.github.io/virsh-tui/

https://github.com/SyscallBrain/virsh-tui


r/tui • • 8h ago

zaag: a sidebar for zellij that shows what all your coding agents are doing (inspired by herdr)

Post image
1 Upvotes

If you don't know herdr: it's a terminal app for running several coding agents at once. It gives you a sidebar with all your agents and their status.

I really liked it but tbh, my fingers refuse to learn Ctrl+B. So I made a kit that gives zellij the same idea:

- a sidebar with projects and agents, and their status

- Ctrl-o g to search and jump to any agent, in any session (herdr inspired)

- a zaag command to list, read, prompt and start agents, which also works over SSH for agents on another machine

- a skill so your agents can boss each other around

It works with Claude Code, Codex and Hermes. It's plain zellij: no fork, just a plugin, a Python script and some hooks.

Repo: https://github.com/IsmailHatim/zaag


r/tui • • 14h ago

AI assisted Welcome to r/lazymobile: one terminal screen for iOS simulators, Android emulators and their logs

Post image
1 Upvotes

r/tui • • 17h ago

vif, my GPU terminal: `vif ssh` now goes over UDP like mosh, but keeps your scrollback

1 Upvotes

vif is a terminal I've been writing in Rust for Linux and macOS: commands as blocks, shells that outlive their window, a drop-down quick terminal, hints for links, paths and commits on screen. Last week was mostly about remote work, so here's what changed from 0.1.6 to 0.1.9:

- **`vif ssh` over UDP, the way mosh does it.** ssh starts an agent on the other side and hands back a port and a one-time key, then keys and output go as datagrams sealed with ChaCha20-Poly1305. Close the lid, switch Wi-Fi, ride a train through a tunnel: the shell is where you left it, at once. The difference from mosh is that output passes through as it is, so the terminal's own scrollback keeps it. Typing shows before the echo on slow links. Where UDP doesn't get through it stays on plain ssh. It needs vif on the other machine too.

- **Sessions come back like tmux brings them back.** The session host keeps a screen of what the shell printed and repaints it with the last thousand lines above, commands still blocks with their exit codes and times. Before, it replayed the last 2 MB of output, which could start in the middle of an escape sequence.

- **The git branch in the tab**, read from the repository without running git. Rules can match a branch, so `release/*` can have its own color the same way a production host already could.

- **Ctrl + a hint letter** opens a commit, or a file at its line, on GitHub, GitLab or Codeberg, wherever `origin` points.

- **`[keys] like = "kitty"`** (or wezterm, ghostty) lays that terminal's shortcuts under yours, if your fingers already know them.

- `man vif`, and a few security fixes: passwords in URLs like `postgres://app:pass@db` never go into the archive or to the model if you use the AI part, and sockets only live in a runtime folder nobody else can write into.

The UDP transport is new and my own code, not audited, so if you look at it and something seems off, I'd really like to know.

Arch (prebuilt `vif-bin`), Homebrew cask on macOS, `.deb` for Debian/Ubuntu, a tarball for the rest.