{"id":50811007,"url":"https://github.com/hueidou/telepresence-manager","last_synced_at":"2026-06-15T15:00:31.695Z","repository":{"id":364369441,"uuid":"1267604091","full_name":"hueidou/telepresence-manager","owner":"hueidou","description":"A cross-platform desktop GUI tool for managing Telepresence connections.","archived":false,"fork":false,"pushed_at":"2026-06-13T04:35:16.000Z","size":268,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-13T05:22:45.968Z","etag":null,"topics":["dev","gui","kubectl","manager","telepresence","ui"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/hueidou.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":null,"dco":null,"cla":null}},"created_at":"2026-06-12T17:36:02.000Z","updated_at":"2026-06-13T04:41:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hueidou/telepresence-manager","commit_stats":null,"previous_names":["hueidou/telepresence-manager"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/hueidou/telepresence-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueidou%2Ftelepresence-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueidou%2Ftelepresence-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueidou%2Ftelepresence-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueidou%2Ftelepresence-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hueidou","download_url":"https://codeload.github.com/hueidou/telepresence-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueidou%2Ftelepresence-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34367695,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"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":["dev","gui","kubectl","manager","telepresence","ui"],"created_at":"2026-06-13T05:00:16.401Z","updated_at":"2026-06-15T15:00:29.638Z","avatar_url":"https://github.com/hueidou.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telepresence Manager\n\nA cross-platform desktop GUI tool for managing [Telepresence](https://www.telepresence.io/) connections. Built with Python + pywebview (WebView).\n\n[中文文档](README.zh.md)\n\n## Features\n\n- 🔍 **Smart config scanning** — Auto-scan `~/.kube/` for K8s config files (config, *.txt, *.yaml, multi-document YAML)\n- 📋 **Context cards** — Display all contexts as a card list (name, cluster, server, source file)\n- ▶️ **One-click connect / disconnect** — Toggle Telepresence connection per context\n- 📊 **On-demand status** — Connection state, node count, Traffic Manager status (parallel queries)\n- 📦 **Traffic Manager management** — Install / upgrade with one click\n- 💻 **Context-aware shell** — Open a terminal window pre-configured for the selected context\n- 🔧 **Tool auto-detect** — Finds telepresence \u0026 kubectl on all platforms (PATH, Homebrew, Snap, WinGet)\n- 🔎 **Search \u0026 filter** — Filter contexts by name, cluster, server, or source file (`Ctrl+F`)\n- 🔄 **Auto-refresh** — Connection status auto-refreshes at configurable interval (default 30s)\n- 🌍 **i18n: Chinese + English** — Auto-detects system language, switch anytime in ⚙ Settings\n- ⚙ **Settings panel** — Language selector + refresh interval configuration\n- 🆕 **Auto-update** — Checks GitHub Releases on startup, one-click update with auto-restart\n- ⌨️ **Keyboard shortcuts** — `Ctrl+R` scan, `Ctrl+F` search, `Esc` close panels\n- 📋 **Copy context name** — One-click copy to clipboard\n- 🪵 **File logging** — Operation log at `~/.kube/telepresence-manager.log`\n\n## Screenshot\n\n![Screenshot](./assets/screenshot.png)\n\n## Prerequisites\n\n| Platform | Requirements |\n|----------|-------------|\n| **Windows** | Windows 10/11, Edge WebView2 Runtime (built-in) |\n| **macOS** | macOS 12+, WebKit (built-in) |\n| **Linux** | X11/Wayland, WebKit2GTK (`apt install libwebkit2gtk-4.1-dev`) |\n\n**Required on all platforms:**\n- [telepresence](https://www.telepresence.io/) v2.x\n- [kubectl](https://kubernetes.io/docs/tasks/tools/)\n\n## Installation\n\n### Download (Recommended)\n\nDownload the latest release from [GitHub Releases](https://github.com/hueidou/telepresence-manager/releases):\n\n| Artifact | Platform | Description |\n|----------|----------|-------------|\n| `TelepresenceManager.exe` | Windows | Standalone executable |\n| `*-win.zip` | Windows | Portable package |\n| `*-Setup.exe` | Windows | Inno Setup installer |\n| `TelepresenceManager` | macOS | Binary for macOS |\n| `*-macos.tar.gz` | macOS | Portable package |\n| `*.dmg` | macOS | Disk image with .app bundle |\n| `TelepresenceManager` | Linux | Binary for Linux |\n| `*-linux.tar.gz` | Linux | Portable package |\n| `*.deb` | Linux (Debian/Ubuntu) | Debian package |\n\n### From Source\n\n```bash\ngit clone https://github.com/hueidou/telepresence-manager.git\ncd telepresence-manager\npip install -r requirements.txt\npython main.py\n```\n\n### Build Locally\n\n```bash\npip install pyinstaller\npython scripts/build.py\n```\n\nThe executable will be generated in `dist/`.\n\n## Project Structure\n\n```\ntelepresence-manager/\n├── main.py                      # Entry point, creates pywebview window\n├── VERSION                      # Version string\n├── requirements.txt             # Python dependencies\n├── telepresence_manager.spec    # PyInstaller build spec\n├── LICENSE                      # MIT License\n├── README.md                    # English documentation\n├── README.zh.md                 # Chinese documentation\n├── app/                         # Python backend\n│   ├── __init__.py\n│   ├── api.py                   # pywebview JS API bridge\n│   ├── config.py                # Configuration management (~/.kube/tp-config.json)\n│   ├── kubeconfig.py            # Kubeconfig discovery \u0026 parsing\n│   ├── logger.py                # File logging (~/.kube/tp-manager.log)\n│   ├── telepresence.py          # Telepresence / kubectl CLI wrappers\n│   └── updater.py               # Version check \u0026 auto-update\n├── web/                         # Frontend UI\n│   ├── index.html               # Page structure\n│   ├── style.css                # Dark theme styles\n│   ├── app.js                   # Frontend logic\n│   └── i18n.js                  # Internationalization (zh/en)\n├── scripts/\n│   └── build.py                 # Cross-platform build script\n├── installer/\n│   ├── setup.iss                # Inno Setup installer script (Windows)\n│   ├── build-linux.sh           # Linux packaging helper\n│   └── build-macos.sh           # macOS packaging helper\n└── .github/workflows/\n    └── release.yml              # CI/CD: multi-platform build \u0026 release\n```\n\n## How It Works\n\n```\nWebView window (web/)\n    ↕  pywebview JS API bridge\nPython backend (app/api.py)\n    ├─ config.py       Manages user settings (~/.kube/tp-config.json)\n    ├─ kubeconfig.py   Scans ~/.kube/, parses YAML configs\n    ├─ telepresence.py Wraps telepresence / kubectl subprocess calls\n    └─ updater.py      Checks GitHub Releases for updates\n```\n\n- Backend calls `telepresence` and `kubectl` CLI via `subprocess`\n- All long-running operations execute in background threads (ThreadPoolExecutor)\n- Tool paths are auto-searched on each platform (Homebrew, Snap, WinGet, etc.)\n- Supports multi-document YAML, .txt files, and other config formats\n- Auto-update downloads new binary and restarts via platform-appropriate script\n- Logging to `~/.kube/telepresence-manager.log` with rotation (5 MB, 3 backups)\n\n## Configuration\n\nSettings are stored at `~/.kube/telepresence-manager.json`:\n\n```json\n{\n  \"language\": \"auto\",\n  \"refreshInterval\": 30\n}\n```\n\n- **language**: `\"auto\"` (detect from system), `\"zh\"`, or `\"en\"`\n- **refreshInterval**: Status auto-refresh interval in seconds (15/30/60/120)\n\nEdit the file manually or use the ⚙ Settings panel in the app.\n\n## Keyboard Shortcuts\n\n| Shortcut | Action |\n|----------|--------|\n| `Ctrl+R` / `F5` | Scan kubeconfigs |\n| `Ctrl+F` | Focus search box |\n| `Esc` | Close panels / dialogs |\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhueidou%2Ftelepresence-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhueidou%2Ftelepresence-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhueidou%2Ftelepresence-manager/lists"}