Skip to content
QeztaPublic

About

ssh divit@qezta.com: SSH terminal portfolio mirroring divit.qezta.com, built on wish + Bubble Tea

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

An abstract image of a donut-like object

ssh

ssh divit@qezta.com: SSH terminal portfolio mirroring divit.qezta.com, built on wish + Bubble Tea


Contents


Overview

ssh divit@qezta.com — a real SSH server that drops you straight into a terminal portfolio, no real shell access involved.

This mirrors the fake browser terminal on divit.qezta.com (see Terminal.svelte and terminal-commands.ts in Qezta/divit), but backed by a genuine SSH connection instead of a JS widget. The server never grants a real shell, only a sandboxed Bubble Tea TUI — but which persona you land in depends on the username you connect as:

ssh divit@qezta.com   # Divit's personal portfolio
ssh qezta@qezta.com   # generic Qezta org landing (any other username too)

There's a single SSH listener on qezta.com, so identity is chosen by username rather than running a separate server per persona — see identityFor in internal/tui/commands.go. Only divit/div get the personal identity; every other username (hi, qezta, guest, ...) falls back to the org identity.

How it works

flowchart LR
  client["ssh <user>@qezta.com"] --> wish["wish SSH server"]
  wish --> mw["middleware<br/>Bubble Tea · logging"]
  mw --> id{"identityFor(user)"}
  id -- "divit / div" --> me["personal portfolio TUI"]
  id -- "anything else" --> org["Qezta org TUI"]
Loading

No shell is ever started: every session is a Bubble Tea program.

Stack

Commands

Shared: clear, nix-build, cowsay <text>.

divit/div (personal): help, about, projects [--ml|--infrastructure|--functional], skills [--expert], contact, experience, resume.

Anything else (org): help, about, repos, contact.

Development

go run .                        # serves on :23234 by default
ssh -p 23234 divit@localhost    # personal identity
ssh -p 23234 qezta@localhost    # org identity
Variable Default Purpose
SSH_HOST 0.0.0.0 Bind address
SSH_PORT 23234 Bind port (proxy/forward 22 to this in prod)
SSH_HOST_KEY_PATH .ssh/qezta_ed25519 Where the server's host key is generated/read
go build ./...   # build
go vet ./...     # vet
gofmt -l .       # format check

Nix

nix develop      # devshell with go, gopls, golangci-lint

Security

This server intentionally accepts any username with any key or password — see SECURITY.md for what's in and out of scope.

License

MIT — see LICENSE.

About

ssh divit@qezta.com: SSH terminal portfolio mirroring divit.qezta.com, built on wish + Bubble Tea

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages