{"id":49944521,"url":"https://github.com/shiftinbits/pmux-server","last_synced_at":"2026-05-17T14:07:08.860Z","repository":{"id":344006461,"uuid":"1165007510","full_name":"ShiftinBits/pmux-server","owner":"ShiftinBits","description":"Cloudflare worker signaling server for pmux","archived":false,"fork":false,"pushed_at":"2026-05-11T18:38:50.000Z","size":314,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-11T20:32:56.084Z","etag":null,"topics":["cloudflare","pmux","pocketmux","privacy","remote","shell","ssh","terminal","tmux","webrtc","worker"],"latest_commit_sha":null,"homepage":"https://docs.pmux.io","language":"TypeScript","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/ShiftinBits.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":"SECURITY.md","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-02-23T18:15:34.000Z","updated_at":"2026-05-11T18:39:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ShiftinBits/pmux-server","commit_stats":null,"previous_names":["shiftinbits/pmux-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ShiftinBits/pmux-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShiftinBits%2Fpmux-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShiftinBits%2Fpmux-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShiftinBits%2Fpmux-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShiftinBits%2Fpmux-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShiftinBits","download_url":"https://codeload.github.com/ShiftinBits/pmux-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShiftinBits%2Fpmux-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33141435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["cloudflare","pmux","pocketmux","privacy","remote","shell","ssh","terminal","tmux","webrtc","worker"],"created_at":"2026-05-17T14:07:07.525Z","updated_at":"2026-05-17T14:07:08.840Z","avatar_url":"https://github.com/ShiftinBits.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pmux-server\n\n[![Test Results](https://img.shields.io/github/actions/workflow/status/shiftinbits/pmux-server/test.yml?branch=main\u0026logo=vitest\u0026logoColor=white\u0026label=tests)](https://github.com/shiftinbits/pmux-server/actions/workflows/test.yml?query=branch%3Amain) [![Code Coverage](https://img.shields.io/codecov/c/github/shiftinbits/pmux-server?logo=codecov\u0026logoColor=white)](https://app.codecov.io/gh/shiftinbits/pmux-server/) [![CodeQL Results](https://github.com/ShiftinBits/pmux-server/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/ShiftinBits/pmux-server/actions/workflows/github-code-scanning/codeql) [![Snyk Security Monitored](https://img.shields.io/badge/security-monitored-8A2BE2?logo=snyk)](https://snyk.io/test/github/shiftinbits/pmux-server) [![License](https://img.shields.io/badge/license-MIT-3DA639?logo=opensourceinitiative\u0026logoColor=white)](LICENSE)\n\nCloudflare Worker + Durable Object signaling server for [pmux](https://pmux.io).\n\n## Architecture\n\n- **Worker** — HTTP ingress, auth middleware, REST endpoints for pairing and TURN credentials\n- **Durable Object** — WebSocket signaling for SDP/ICE relay, device presence tracking, SQLite storage for device pairings\n\nThe server is a zero-knowledge relay. It facilitates WebRTC connection establishment between agents and mobile clients but **never** sees terminal content, session metadata, or user activity.\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Start local dev server\nnpm run dev          # → http://localhost:8787\n\n# Health check\ncurl http://localhost:8787/health\n```\n\n## Environment Secrets\n\nSet via `wrangler secret put \u003cNAME\u003e`:\n\n| Secret | Description |\n|--------|-------------|\n| `TURN_TOKEN_ID` | Cloudflare Realtime TURN Token ID |\n| `TURN_API_TOKEN` | Cloudflare Realtime API token |\n| `JWT_SECRET` | Secret for signing JWTs |\n\n## Deployment\n\n```bash\nnpm run deploy       # → deploys to Cloudflare\n```\n\n## License\n\nMIT — see [LICENSE](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiftinbits%2Fpmux-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshiftinbits%2Fpmux-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiftinbits%2Fpmux-server/lists"}