{"id":50181539,"url":"https://github.com/kt0319/any-console","last_synced_at":"2026-05-25T07:01:01.480Z","repository":{"id":346753461,"uuid":"1162573226","full_name":"kt0319/any-console","owner":"kt0319","description":"Web console for shell jobs, Git operations, and terminal access from your browser","archived":false,"fork":false,"pushed_at":"2026-05-21T22:05:41.000Z","size":5634,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-21T22:24:15.769Z","etag":null,"topics":["fastapi","raspberry-pi","terminal","vue3","web-console"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kt0319.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-02-20T12:35:42.000Z","updated_at":"2026-05-21T22:05:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kt0319/any-console","commit_stats":null,"previous_names":["kt0319/any-console"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kt0319/any-console","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt0319%2Fany-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt0319%2Fany-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt0319%2Fany-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt0319%2Fany-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kt0319","download_url":"https://codeload.github.com/kt0319/any-console/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt0319%2Fany-console/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33464012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T06:32:55.349Z","status":"ssl_error","status_checked_at":"2026-05-25T06:32:35.322Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fastapi","raspberry-pi","terminal","vue3","web-console"],"created_at":"2026-05-25T07:01:00.328Z","updated_at":"2026-05-25T07:01:01.474Z","avatar_url":"https://github.com/kt0319.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# any-console\n\n[![Release](https://img.shields.io/github/v/release/kt0319/any-console)](https://github.com/kt0319/any-console/releases/latest)\n[![Last commit](https://img.shields.io/github/last-commit/kt0319/any-console)](https://github.com/kt0319/any-console/commits/main)\n[![CI](https://github.com/kt0319/any-console/actions/workflows/ci.yml/badge.svg)](https://github.com/kt0319/any-console/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/kt0319/any-console/branch/main/graph/badge.svg)](https://codecov.io/gh/kt0319/any-console)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![Python 3.11+](https://img.shields.io/badge/Python-3.11+-3776ab.svg)](https://www.python.org/)\n[![Vue 3](https://img.shields.io/badge/Vue-3-4fc08d.svg)](https://vuejs.org/)\n[![FastAPI](https://img.shields.io/badge/FastAPI-009688.svg)](https://fastapi.tiangolo.com/)\n\n**A seamless dev console across phone and PC.** A self-hosted web environment where the same tmux session is accessible from any device via a browser.\n\nWebsite: \u003chttps://any-console.highedge.net/\u003e\n\n## Why any-console?\n\n- **Seamless across devices** — Start `npm test` on your PC, check the output on your phone during commute, and pick up where you left off when you get home. tmux sessions persist — closing the browser doesn't end the session.\n- **Serious mobile input** — A custom virtual keyboard with flick input. Practical enough to run `git commit` from your phone.\n- **Jobs, Git, and terminal in one place** — No tab-switching between tools. Run scripts, commit, and push — all in one tap.\n\n## Features\n\n- **Persistent sessions** — tmux × WebSocket; switch devices without losing your session\n- **Mobile-optimized input** — Custom flick keyboard with swipe support\n- **Web terminal** — xterm.js based, multi-tab and split-pane\n- **Git UI** — Branch switching, commit, push/pull, diff, history, stash, merge/rebase\n- **Job runner** — One-tap shell script execution; define and edit jobs from the UI\n- **PWA** — Installable on phone and desktop\n- **Lightweight stack** — Vue 3 + Pinia + FastAPI, built with Vite\n\n## Platform support\n\nThe runtime (Python + Node + tmux) is POSIX-portable, but the operational tooling around it is not. Two supported setups:\n\n| Setup | Platforms | `./any-console` CLI | Auto-update | Service mgmt |\n|-------|-----------|---------------------|-------------|--------------|\n| **systemd** (first-class) | Linux | yes | `./any-console update` | systemd |\n| **Docker** | Linux / macOS / Windows | no | manual `git pull` + `docker compose` | docker compose |\n\nmacOS / Windows users can run any-console via Docker, but the `./any-console` helper (`start`, `update`, `logs`, etc.) requires systemd and is Linux-only. Daily-use development happens on the systemd path.\n\n## Setup\n\n### systemd (Linux) — first-class\n\n```bash\ngit clone https://github.com/kt0319/any-console.git\ncd any-console\n./any-console setup\n```\n\nInstalls dependencies, builds the frontend, and registers a systemd service in one step. After this, manage the service with `./any-console start|stop|update|logs|...` (see [Commands](#commands)).\n\n### Docker (Linux / macOS / Windows)\n\n```bash\ngit clone https://github.com/kt0319/any-console.git\ncd any-console\ndocker compose -f docker/compose.yml up -d\n```\n\nOpen `http://\u003chost\u003e:8888`.\n\nThe `./any-console` CLI does not manage Docker containers. Use `docker compose` directly for start/stop/logs, and `git pull \u0026\u0026 docker compose ... up -d --build` to update.\n\n### Requirements\n\nRequired:\n\n- Python 3.11+\n- Node.js 18+\n- `git` — used by the Git UI\n- `tmux` — required for terminal session management\n\nOptional:\n\n- `gh` (GitHub CLI) — for fetching GitHub repos, issues, PRs, and Actions\n\nInstallation examples:\n\n```bash\n# Debian/Ubuntu\nsudo apt install python3 nodejs git tmux\n# optional: follow the official gh install guide\n\n# macOS\nbrew install python node git tmux gh\n```\n\n## Authentication\n\n- On first start, if `data/auth.json` does not exist, a random 32-character token is generated and saved automatically.\n- The connection URL is printed to stdout and journalctl once. Open it on your device to start an authenticated session.\n- On subsequent starts, `data/auth.json` is never overwritten.\n- The token can be changed from the \"Security\" settings in the UI.\n\n### Disabling authentication (for closed networks like Tailscale)\n\n```bash\n# via environment variable\nANY_CONSOLE_DISABLE_AUTH=1 ./any-console start\n\n# or in config.json\n# \"auth_disabled\": true\n```\n\n## Commands\n\nFor the systemd setup, all operations go through the `./any-console` command. (Docker users: manage with `docker compose` instead — see [Platform support](#platform-support).)\n\n```\n./any-console setup      First-time setup (install deps + build + register systemd)\n./any-console update     Update to latest (git pull + update deps + build + restart)\n./any-console start      Start the service          (systemctl start)\n./any-console stop       Stop the service           (systemctl stop)\n./any-console restart    Restart the service        (systemctl restart)\n./any-console status     Show status (service state, URL, version)\n./any-console logs       Show service logs          (journalctl)\n./any-console version    Show version\n```\n\n### Updating\n\n```bash\n./any-console update\n```\n\nRuns `git pull` → update deps → build → restart in one shot. Skips steps where nothing has changed.\n\n## Repository layout\n\n```\napi/      Backend (FastAPI)\nui/       Frontend (Vue 3 + Pinia, built with Vite)\ndocker/   Docker files\ndocs/     Architecture \u0026 design docs\n```\n\nSee [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) for the module-level breakdown.\n\n## Configuration\n\n- Workspace settings (icons, job definitions, links, etc.) are stored in `config.json`.\n- Generated automatically on first run. To configure manually, copy `config.json.example` and edit it.\n- Export/import is available from the settings modal.\n\n## Project Stance\n\nany-console is built primarily for the author's own daily use.\n\n- **Issues and PRs are welcome**, but responses are best-effort and not guaranteed.\n- **This project has strong opinions** (see `CLAUDE.md`). Pull requests that conflict\n  with the existing design philosophy may be declined regardless of code quality.\n- **Fork freely** if you want a different direction — that is the spirit of MIT.\n- **Release cadence is irregular.** A quiet month does not mean the project is abandoned.\n- **No SLA, no roadmap promises.** Features land when they are useful to the author.\n\nIf these terms work for you, welcome aboard.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkt0319%2Fany-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkt0319%2Fany-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkt0319%2Fany-console/lists"}