{"id":15858839,"url":"https://github.com/bpmct/coder-project-template","last_synced_at":"2026-01-11T16:48:26.843Z","repository":{"id":117906508,"uuid":"362485021","full_name":"bpmct/coder-project-template","owner":"bpmct","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-23T19:00:53.000Z","size":31,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T12:49:01.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bpmct.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-04-28T13:52:06.000Z","updated_at":"2021-12-16T02:40:20.000Z","dependencies_parsed_at":"2023-03-13T12:48:01.561Z","dependency_job_id":null,"html_url":"https://github.com/bpmct/coder-project-template","commit_stats":{"total_commits":24,"total_committers":1,"mean_commits":24.0,"dds":0.0,"last_synced_commit":"ab827308102c4c4601d2d5fc8c624e36c5e2b9a9"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpmct%2Fcoder-project-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpmct%2Fcoder-project-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpmct%2Fcoder-project-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpmct%2Fcoder-project-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bpmct","download_url":"https://codeload.github.com/bpmct/coder-project-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246705283,"owners_count":20820699,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-05T21:01:16.881Z","updated_at":"2026-01-11T16:48:26.798Z","avatar_url":"https://github.com/bpmct.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coder-project-template\n\nAn example template for building a custom [Coder](https://coder.com/docs) workspace around a project. This includes:\n\n* Coder workspace template - `.coder/coder.yaml`\n* Custom image for Coder - `.coder/img`\n* GitHub Actions CI for building the custom image - `.github/workflows/build-image.yaml`\n* Sample \"app code\" in `src/`\n\n## Set up\n\n1. Use this template to [create your own repository](https://github.com/bpmct/coder-project-template/generate)\n1. Add [secrets](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository) to the repository with your [Docker Hub](https://hub.docker.com/) account details:\n\n        DOCKERHUB_USERNAME (your username for Docker Hub)\n        DOCKERHUB_TOKEN (your password or token)\n\n1. Rename `username/projectname` in [.coder/coder.yaml](https://github.com/bpmct/coder-project-template/blob/main/.coder/coder.yaml#L5) and `projectname` in [.github.workflows/build-image.yaml](https://github.com/bpmct/coder-project-template/blob/main/.github/workflows/build-image.yaml#L32). Username should be the same as your DOCKERHUB_USERNAME you set above.\n\n1. Push to `main` (to build the image).\n\n1. Add the image into Coder. (repository: your value for `username/projectname` tag: `latest`)\n\n1. If you haven't already, enable Workspace Templates under Manage -\u003e Admin -\u003e Templates\n\n1. You're done! 🎉 Create a new workspace from this template in the Ui, or create an [embeddable button/link](https://coder.com/docs/admin/templates) for others to clone.\n\n    - The \"project repository\" can also be this repository if you want the workspace to be defined in the same place. I often do this.\n\n---\n\nTo modify the image or workspace definition, simply push to `main` . GitHub actions will re-build the image and Coder will notify developers when an update is available for their workspace.\n\nCheck out this video for an overview on how this works: https://youtu.be/BrZhBJtjkYk?t=104\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpmct%2Fcoder-project-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbpmct%2Fcoder-project-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpmct%2Fcoder-project-template/lists"}