{"id":47711416,"url":"https://github.com/coder/portabledesktop","last_synced_at":"2026-04-02T18:34:26.182Z","repository":{"id":343677239,"uuid":"1161854362","full_name":"coder/portabledesktop","owner":"coder","description":"Run a real Linux desktop for AI agents.","archived":false,"fork":false,"pushed_at":"2026-03-20T17:41:23.000Z","size":304,"stargazers_count":10,"open_issues_count":1,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-21T08:02:58.457Z","etag":null,"topics":["agent","ai","llm","typescript"],"latest_commit_sha":null,"homepage":"","language":"Go","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/coder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-02-19T15:41:15.000Z","updated_at":"2026-03-20T17:41:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/coder/portabledesktop","commit_stats":null,"previous_names":["coder/portabledesktop"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/coder/portabledesktop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fportabledesktop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fportabledesktop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fportabledesktop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fportabledesktop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder","download_url":"https://codeload.github.com/coder/portabledesktop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fportabledesktop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31312937,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["agent","ai","llm","typescript"],"created_at":"2026-04-02T18:34:25.541Z","updated_at":"2026-04-02T18:34:26.165Z","avatar_url":"https://github.com/coder.png","language":"Go","readme":"# portabledesktop\n\nRun a real Linux desktop for AI agents.\n\n`portabledesktop` is a standalone Go binary that embeds a compressed Linux\nruntime, unpacks it on first run, and manages desktop sessions directly. Give\nyour agent a controllable desktop with real GUI apps, mouse/keyboard input,\nscreenshots, and recordings — no containers or display servers to configure.\n\n## Install\n\nDownload a prebuilt binary from\n[GitHub Releases](https://github.com/coder/portabledesktop/releases).\n\n## Quick Start\n\n```bash\n# Start a desktop session.\nportabledesktop up --json\n\n# Launch an app inside the session.\nportabledesktop open -- google-chrome-stable --new-window\n\n# Take a screenshot.\nportabledesktop screenshot shot.png\n\n# Record the session to MP4 (Ctrl+C to stop).\nportabledesktop record run.mp4\n\n# Tear down the session.\nportabledesktop down\n```\n\n`up --json` prints session metadata (display number, VNC port, environment\nvariables) so agent tooling can connect programmatically.\n\n## Human-in-the-Loop Viewer\n\n`portabledesktop viewer` starts a local HTTP server that serves a noVNC\nclient, letting a human watch and interact with the desktop in a browser:\n\n```bash\nportabledesktop viewer\n# Opens http://localhost:6080 by default.\n```\n\nThis is useful for debugging agent runs or intervening when the agent gets\nstuck.\n\n## Security\n\nThe VNC endpoint is **unauthenticated by default**\n(`SecurityTypes None`). Expose it only on trusted boundaries — localhost,\na private network, VPN, or SSH tunnel.\n\n## Platform\n\n| Architecture | Supported |\n|--------------|-----------|\n| Linux x64    | ✓         |\n| Linux arm64  | ✓         |\n\n## Environment Variables\n\n| Variable                    | Description                       |\n|-----------------------------|-----------------------------------|\n| `PORTABLEDESKTOP_RUNTIME_DIR` | Skip unpack, use this runtime dir |\n| `PORTABLEDESKTOP_STATE_FILE`  | Override default state file path  |\n\n## Development\n\nSee [`pd/README.md`](pd/README.md) for build instructions, Makefile targets,\nand development workflow.\n\n## Examples\n\n- [`examples/demo/`](examples/demo/) — Docker container that runs an AI agent\n  loop (Anthropic Claude + computer-use tool) on the virtual desktop.\n- [`examples/agent/`](examples/agent/) — Bun/TypeScript agent that drives the\n  desktop via the CLI binary, with support for both Anthropic and OpenAI\n  providers.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder%2Fportabledesktop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder%2Fportabledesktop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder%2Fportabledesktop/lists"}