{"id":17793178,"url":"https://github.com/jcbhmr/setup-code-server","last_synced_at":"2026-04-27T23:31:50.807Z","repository":{"id":184128261,"uuid":"671342019","full_name":"jcbhmr/setup-code-server","owner":"jcbhmr","description":"💻 Install code-server to run a local VS Code web instance","archived":false,"fork":false,"pushed_at":"2024-03-05T22:41:25.000Z","size":3168,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-28T08:33:42.577Z","etag":null,"topics":["code-server","github-actions","setup-actions","vscode","web-ide"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"stateful/vscode-server-action","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcbhmr.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}},"created_at":"2023-07-27T05:27:20.000Z","updated_at":"2025-06-24T12:11:55.000Z","dependencies_parsed_at":"2024-03-05T23:50:36.178Z","dependency_job_id":null,"html_url":"https://github.com/jcbhmr/setup-code-server","commit_stats":null,"previous_names":["cidebug/setup-code-server","inspectty/setup-code-server","ttyci/setup-code-server","debugci/setup-code-server"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jcbhmr/setup-code-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fsetup-code-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fsetup-code-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fsetup-code-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fsetup-code-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcbhmr","download_url":"https://codeload.github.com/jcbhmr/setup-code-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fsetup-code-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32360110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"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":["code-server","github-actions","setup-actions","vscode","web-ide"],"created_at":"2024-10-27T11:05:09.044Z","updated_at":"2026-04-27T23:31:50.792Z","avatar_url":"https://github.com/jcbhmr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup Coder code-server\n\n💻 Install [code-server] to run a local VS Code web instance\n\n\u003cdiv align=\"center\"\u003e\n\n![](https://i.imgur.com/WJf6D5u.png)\n\n\u003c/div\u003e\n\n🌎 Installs `code-server` globally \\\n👨‍💻 Host your own VS Code web instance to debug CI \\\n🐧 Works on Linux and macOS runners \\\n⚠️ Not recommended as your primary IDE \\\n🚀 No config!\n\n## Usage\n\n![GitHub Actions](https://img.shields.io/static/v1?style=for-the-badge\u0026message=GitHub+Actions\u0026color=2088FF\u0026logo=GitHub+Actions\u0026logoColor=FFFFFF\u0026label=)\n![GitHub](https://img.shields.io/static/v1?style=for-the-badge\u0026message=GitHub\u0026color=181717\u0026logo=GitHub\u0026logoColor=FFFFFF\u0026label=)\n\n🛑 You will **not be able to connect** to the `localhost:4000` server unless you\nuse a tunneling service like [Try Cloudflare] or [ngrok] to expose the HTTP\nserver to the rest of the world.\n\nThis GitHub Action will install the `code-server` binary globally. That means\nyou can spin up your own local VS Code instance running _on the GitHub Actions\nrunner_ at any point in your workflow! This is great for diving into a full IDE\n(if you need it) to diagnose a problem. For example, debugging the post-build\nfolder structure and contents of a complex C++ project. Here's a quick demo of\nusing `code-server` \u0026 `cloudflared` to expose a VS Code web instance to the\nentire world via [Try Cloudflare].\n\n```yml\non: workflow_dispatch\njobs:\n  code-server:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: jcbhmr/setup-code-server@v1\n      - uses: debugci/setup-cloudflared@v1\n      - run: nohup code-server --auth none --bind-addr 0.0.0.0:4000 \u0026\n      - run: nohup cloudflared tunnel --url http://localhost:4000 \u0026\n      - run: sleep 5m\n```\n\n📚 Make sure you check out [the code-server documentation] for a full list of\nall the options that you can play around with!\n\n⚠️ Make sure you're aware of [the limits of GitHub Actions]!\n\n### Options\n\nThere's currently only a single option to specify the version. [Open an Issue]\nif there's more options you'd like to see! ❤️\n\n- **`code-server-version`:** Which version of code-server to install. This defaults to the latest stable release. Use `edge` to download the latest prerelease, or a `N.N.N` versions specifier if you wish. Use `latest` (the default) to download the latest version. This field **does not** support semver specifiers.\n\n## Development\n\n![GNU Bash](https://img.shields.io/static/v1?style=for-the-badge\u0026message=GNU+Bash\u0026color=4EAA25\u0026logo=GNU+Bash\u0026logoColor=FFFFFF\u0026label=)\n\nThis GitHub Action is so simple that we can get away with using plain Bash. To\nget started, create a new fork/branch and open a PR! There's some tests in the\n`test-action.ym` workflow that will run to make sure everything \"works\".\n\n\u003c!-- prettier-ignore-start --\u003e\n[code-server]: https://github.com/coder/code-server\n[the code-server documentation]: https://coder.com/docs/code-server/latest/guide\n[try cloudflare]: https://try.cloudflare.com/\n[the limits of GitHub Actions]: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration\n[ngrok]: https://ngrok.com/\n[open an issue]: https://github.com/debugci/setup-code-server/issues\n\u003c!-- prettier-ignore-end --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcbhmr%2Fsetup-code-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcbhmr%2Fsetup-code-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcbhmr%2Fsetup-code-server/lists"}