Skip to content
Arpit Jalan
Go back

A terminal theme for term-llm’s web UI

I like using term-llm in the browser because I can keep a diff open while I ask the agent about a line of code. I wanted that tab to look like the terminal I use every day, so I made an extension and called it Hacker. I am grateful to Keegan George for his Varnish extension, which gave me a place to start. I put the install steps and a few more screenshots on the term-llm forum.

I used one monospace font throughout, including in the sidebar and the chat messages. The tool calls sit together in a box, so I can read down the list and see what the agent did. In the screenshot below, it ran grep, then read_file, then edit_file.

Hacker in Tokyo Night, with a list of the agent’s tool calls above a highlighted Ruby snippet.

On my Omarchy desktop, the colored border around the active window tells me where my next keystroke will go, so I gave the message box that same border when it has focus. The colors come from Omarchy’s themes too. If I feel like using Gruvbox, I type gruvbox in the command palette and press Enter, and the colors in the chat, the code snippets, and the built-in terminal all change together.

My favorite part is the new-chat screen. I modeled it on fastfetch, the terminal program that prints a summary of the machine it’s running on.

Hacker’s new-chat screen in Catppuccin Latte shows the Opus model and one running chat above a prompt with a block cursor.

The screen shows me which agent and model I am about to use and how many chats I have running. I added the blinking block cursor mostly because it makes me smile.


Share this post on:

Previous Post
Pipal, a minimal, durable AI harness
Next Post
Tinkering with Pi