Skip to content

Show HN: Ttydterm, browser terminals with Unix tools (ttyd, tmux)

1 pointanilgulechadiscuss
On HN

I built ttydterm because I live in the browser or pi.dev these days, and well, we could combine them. I wanted workspaces, split panes, themes, and persistent processes without building them from scratch.

ttydterm is the result. It ships as one self-contained index.html file. ttyd serves the page along with the same-origin /token and /ws endpoints. React, xterm.js, the addons, and all styles are bundled, so there are no runtime network dependencies.

The default setup binds ttyd to 127.0.0.1 and uses Basic Auth. The documentation covers TLS, origin checks, trusted configuration, and browser notifications.

  Workspaces: Keep projects and terminals separate.
  Split panes: Arrange rows and columns.
  Pane setup: Choose each command and working directory.
  tmux continuity: Keep processes running through disconnects.
  Completion alerts: Mark finished commands and notify when away.
  Themes: Choose colors, patterns, fonts, and weights.
  Keyboard control: Navigate and search without the mouse.
  Backup: Export and restore your workspace configuration.
  Offline: Run the complete interface from one index.html.
  Hackable: Build your terminal just like you want it. I've set up the base.
Demo and documentation (the same index.html): https://www.gulecha.org/ttydterm/

Source: https://github.com/anilgulecha/ttydterm

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.