{"id":51870715,"url":"https://github.com/natelindev/open-termkit","last_synced_at":"2026-07-24T22:30:24.107Z","repository":{"id":368350880,"uuid":"1284168478","full_name":"natelindev/open-termkit","owner":"natelindev","description":"Local PTY-backed terminal environment with React, wterm, SQLite profiles, and light/dark themes.","archived":false,"fork":false,"pushed_at":"2026-06-30T06:29:18.000Z","size":169,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-30T08:20:55.611Z","etag":null,"topics":["cli","dark-mode","developer-tools","go","local-first","productivity","pty","react","self-hosted","shell","sqlite","ssh","terminal","tmux","typescript","web-terminal","websocket"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/natelindev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-29T15:34:32.000Z","updated_at":"2026-06-30T06:29:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/natelindev/open-termkit","commit_stats":null,"previous_names":["natelindev/open-termkit"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/natelindev/open-termkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natelindev%2Fopen-termkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natelindev%2Fopen-termkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natelindev%2Fopen-termkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natelindev%2Fopen-termkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natelindev","download_url":"https://codeload.github.com/natelindev/open-termkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natelindev%2Fopen-termkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35858781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-24T02:00:07.870Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","dark-mode","developer-tools","go","local-first","productivity","pty","react","self-hosted","shell","sqlite","ssh","terminal","tmux","typescript","web-terminal","websocket"],"created_at":"2026-07-24T22:30:23.534Z","updated_at":"2026-07-24T22:30:24.100Z","avatar_url":"https://github.com/natelindev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# open-termkit\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/images/open-termkit-logo.png\" alt=\"open-termkit logo\" width=\"96\" /\u003e\n\u003c/p\u003e\n\n`open-termkit` is a local terminal environment built around wterm. It ships as a single Go binary that serves a static web UI, opens local PTY-backed shell sessions, stores profiles in SQLite, and manages setup presets for shells, SSH, tmux, and coding agents.\n\n## Keywords\n\nLocal terminal, web terminal, PTY shell, self-hosted developer tools, local-first CLI, SSH profile manager, tmux setup, React terminal UI, Go web app, SQLite profiles, WebSocket terminal, light theme, dark theme.\n\n## Screenshots\n\n### Light theme\n\n![open-termkit light theme](docs/images/open-termkit-light.png)\n\n### Dark theme\n\n![open-termkit dark theme](docs/images/open-termkit-dark.png)\n\n## Current shape\n\n- Go backend and CLI\n- SQLite database at `~/.open-termkit/open-termkit.db`\n- React + Vite frontend served by Go\n- wterm terminal rendering in the browser\n- Local PTY sessions over WebSocket\n- Terminal profile CRUD\n- SSH profile CRUD, key import, and config snippet generation\n- Local sync export/import excluding private key contents\n- Tool detection/install catalog for tmux, Codex CLI, Claude Code, opencode, and Pi\n\n## Development\n\n```sh\nmake dev-backend\nmake dev-frontend\n```\n\nThe Vite dev server proxies API calls to `http://127.0.0.1:8765`.\n\n## Build\n\n```sh\nmake build\n./bin/open-termkit serve\n```\n\nThe frontend build output under `web/dist` is embedded into the Go binary at build time.\n\n## Docker\n\nBuild the production image:\n\n```sh\nmake frontend # only needed when web/dist is stale or missing\nmake docker-build\n```\n\nThe Dockerfile uses a Debian slim runtime with Bash and OpenSSH client, then embeds the prebuilt static files from `web/dist` into the Go binary. It does not run Node in any Docker build stage, and Node is not part of the runtime image.\n\nRun the app at \u003chttp://127.0.0.1:8765\u003e with named volumes for the SQLite database and managed SSH files:\n\n```sh\nmake docker-run\n```\n\nOr run Docker directly:\n\n```sh\ndocker run --rm -it -p 8765:8765 \\\n  -v open-termkit-data:/home/open-termkit/.open-termkit \\\n  -v open-termkit-ssh:/home/open-termkit/.ssh \\\n  open-termkit:local\n```\n\nSmoke test a built image:\n\n```sh\nmake docker-smoke\n```\n\n## Native systemd deployment\n\nFor a native Linux install without Docker, use the tracked unit file and deployment helper:\n\n```sh\nscripts/deploy-systemd.sh \u003cssh-host\u003e\n```\n\nBy default the service runs as the dedicated `open-termkit` user. To intentionally expose a root shell behind your access layer:\n\n```sh\nscripts/deploy-systemd.sh --run-as root \u003cssh-host\u003e\n```\n\nYou can also trigger the manual `Deploy native systemd` GitHub Actions workflow after adding the SSH deployment secret. The service binds to `127.0.0.1:8765` by default and prefers `zsh` for shell sessions when it is available. Non-root mode stores state under `/var/lib/open-termkit`; root mode stores state under `/root`. See [`docs/systemd-deployment-plan.md`](docs/systemd-deployment-plan.md) for the full deployment plan, security notes, and reverse proxy guidance.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatelindev%2Fopen-termkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatelindev%2Fopen-termkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatelindev%2Fopen-termkit/lists"}