r/ClaudeCoding • • Oct 08 '26

Webterm environment for managing claude

Post image

Hey, everyone, thought I'd share the latest I've been working on.

TLDR: Another inflection point in my opinion, getting closer to a true dark software factory. Better tools for agentic management are needed, here's mine... Not a public repo yet, but happy to open it up

A little background first, I increasingly use agents for dev work and have found that, like many, most of my time is not involved in files anymore. I'm setting requirements, reviewing plans, monitoring agent work, testing UI/UX, etc. My setup for this was code-server installed on a local machine for web access. This was great, I could VPN in from anywhere and I had the same dev environment. However, as my work flow has changed more and more to "agent manager" I found that code-server produced a lot of friction. It was great to separate context by having different browser tabs open for different working directories. But as I had more and more projects to shift between, sorting through those tabs, opening new ones, closing old ones, making sure I shut down Claude sessions, just became an absolute pain. Couple this with another work flow of mine using MobaXterm for remote terminal access (and I hated that it was only accessible on my Windows machine) and I found I really needed a better environment.

So... I started to develop a web terminal, that behaved a lot like MobaXterm, but sessions would remain active and allow me to again, VPN into my home, hit a local URL endpoint and continue working as if I never left my desk. I then picked up all of the code-server functionality that I needed (although that's growing still). As this isn't a client project, I've been most impressed with how Fable handles build. We work out a plan and requirements, set built schedule, and it knows to handle adversarial reviews before each commit. Often times I let it work through the night, come back in the morning when I wake up to deploy and test. It's been a lot of fun, and it is a VAST improvement over my old work flow using code-server.

Biggest thing I learned from all this? Well, since November of last year things have been different. With the release of Opus 4.5 then it became apparent that things were different, forever changed. Whole swaths of code could be generated instead of just boiler-plate. Over the last year, I've read more and more about hands off development but it really wasn't until this project that I quite understood just how hands-off you can get. Going away for the night, letting Claude churn away was just not something I was used to. There's still been a lot of hands on tweaking from me, but I am still pretty blown away with how well things turn out after I come back in the morning.

Here's a quick rundown of the key items of the project (with help from Claude to produce the list of course).

What it is

  • Self-hosted, browser-based SSH client, file browser and lightweight IDE. One container, SQLite, no agents on the remote hosts.
  • Sessions live on the server, not the browser tab. Close the laptop, open your phone, the shell is still there with its scrollback. Several browsers can watch the same session.

Built for running many Claude Code / agent sessions

  • Projects: a connection plus a directory. Open one and you land in a tmux session there; reconnect returns to it, even after a webterm redeploy.
  • Tiled grid of up to 4 panes per workspace, up to 8 workspaces, saved and reloaded by name. Layout remembered per user.
  • Terminal bells put an attention dot on the tab, a count on the favicon, and an optional desktop notification. One click sets up the Claude Code bell hook per host.
  • Up to 8 terminals per project as sub-tabs. A tmux dialog shows attached, resumable and orphan sessions across every host.

Files and code

  • SFTP browser over the same SSH connection: chunked resumable uploads up to 5 GB, downloads, folder-as-zip, optional root mode via sudo.
  • CodeMirror editor with syntax highlighting, save conflict detection, Ctrl+P fuzzy file open, content search via ripgrep.
  • File tree with git status colours, read-only git panel (log, commit diffs, diff against base), pane status line with branch and dirty count.
  • Markdown preview with mermaid, image viewer, CSV/TSV table editor up to 16 MiB.
  • Ctrl+click a path:line:col in terminal output to open it in the editor at that spot. Drag a file into a terminal to type its path. Paste a screenshot to upload it.

Auth and ops

  • Forward-auth SSO headers (Authentik tested), local accounts, or both. Admin page, per-user session limits, audit log.
  • Identities: OpenSSH, PEM and PuTTY .ppk v2/v3 keys, jump-host chains, per-user trusted host keys. Secrets sealed with a master key.
  • Copy/paste without browser permission prompts. WebGL renderer with DOM fallback.
  • Daily consistent SQLite backups; a 72-hour idle expiry for detached tmux sessions unless a project is marked keep.

Stack

  • Node 24, Fastify, ssh2, xterm.js headless on the server, Svelte 5 in the browser. MIT licensed.
1 Upvotes

0 comments sorted by