Sign inSign up

gera2ld/termcast

By gera2ld

•Updated about 2 months ago

Image
0

413

gera2ld/termcast repository overview

Web-based terminal secured by passkeys, powered by Bun.

⁠Why

  • Passkeys are safe and convenient
  • No more password login to servers
  • No SSH server, daemon, or private keys to manage
  • Commands run straight on the machine hosting TermCast via Bun's built-in pty
  • Easy access to other servers with predefined commands

⁠Usage

  • Run termcast serve, configure a reverse proxy to http://localhost:9998 for HTTPS support.
  • On your first run, you'll see a setup URL to initialize the server.
  • You may also run termcast grant to get a one-time login token or URL.

Note: HTTPS is required for passkeys, so you'll need to set up a reverse proxy to handle it.

⁠Use Case

TermCast runs each command you define directly on the machine hosting it — no SSH client, SSH server, or jump host involved. Every command is just a program and its arguments; TermCast launches it in a pty and streams the session to your browser.

After setting up TermCast, you can disable SSH password login entirely while keeping an easy-to-remember password for your Linux user. You can even block port 22 to lock down SSH, since TermCast is an HTTP service. And because commands run locally, defining them is trivial — create "Run Bash" (bash), "Attach to tmux" (tmux -u2 new -A -s home), or "Manage Server A" (ssh serverA), then manage everything from a single terminal window in your browser.

Tag summary

Content type

Image

Digest

sha256:1633a5427…

Size

102 MB

Last updated

about 2 months ago

docker pull gera2ld/termcast