{"id":27247288,"url":"https://github.com/matrix278/skills-code-with-codespaces","last_synced_at":"2026-01-23T16:11:28.185Z","repository":{"id":218210095,"uuid":"745878416","full_name":"Matrix278/skills-code-with-codespaces","owner":"Matrix278","description":"Clone repository for learning","archived":false,"fork":false,"pushed_at":"2024-01-20T12:32:52.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T22:49:24.554Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/Matrix278.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}},"created_at":"2024-01-20T12:26:01.000Z","updated_at":"2024-01-20T12:26:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"0cf83951-74c2-453d-87d7-b893b8c38118","html_url":"https://github.com/Matrix278/skills-code-with-codespaces","commit_stats":null,"previous_names":["matrix278/skills-code-with-codespaces"],"tags_count":0,"template":false,"template_full_name":"skills/code-with-codespaces","purl":"pkg:github/Matrix278/skills-code-with-codespaces","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2Fskills-code-with-codespaces","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2Fskills-code-with-codespaces/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2Fskills-code-with-codespaces/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2Fskills-code-with-codespaces/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Matrix278","download_url":"https://codeload.github.com/Matrix278/skills-code-with-codespaces/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2Fskills-code-with-codespaces/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28695528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T15:57:05.722Z","status":"ssl_error","status_checked_at":"2026-01-23T15:56:27.656Z","response_time":59,"last_error":"SSL_read: 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":[],"created_at":"2025-04-10T22:49:23.770Z","updated_at":"2026-01-23T16:11:28.176Z","avatar_url":"https://github.com/Matrix278.png","language":"HTML","readme":"\u003cheader\u003e\n\n\u003c!--\n  \u003c\u003c\u003c Author notes: Course header \u003e\u003e\u003e\n  Read \u003chttps://skills.github.com/quickstart\u003e for more information about how to build courses using this template.\n  Include a 1280×640 image, course name in sentence case, and a concise description in emphasis.\n  In your repository settings: enable template repository, add your 1280×640 social image, auto delete head branches.\n  Next to \"About\", add description \u0026 tags; disable releases, packages, \u0026 environments.\n  Add your open source license, GitHub uses the MIT license.\n--\u003e\n\n# Code with GitHub Codespaces and Visual Studio Code\n\n_Develop code using GitHub Codespaces and Visual Studio Code!_\n\n\u003c/header\u003e\n\n\u003c!--\n  \u003c\u003c\u003c Author notes: Step 3 \u003e\u003e\u003e\n  Start this step by acknowledging the previous step.\n  Define terms and link to docs.github.com.\n--\u003e\n\n## Step 3: Customize your codespace!\n\n_Nice work! :tada: You created a codespace with a custom image!_\n\nYou can customize your codespace by adding VS code extensions, adding features, setting host requirements, and much more.\n\nLet's customize some settings in the `.devcontainer.json` file!\n\n### :keyboard: Activity: Add customizations to the `devcontainer` file\n\n1. Navigate to the `.devcontainer/devcontainer.json` file.\n1. Add the following customizations to the body of the file before the last `}`.\n\n   ```jsonc\n    ,\n    // Add the IDs of extensions you want installed when the container is created.\n    \"customizations\": {\n        \"vscode\": {\n            \"extensions\": [\n                \"GitHub.copilot\"\n            ]\n        },\n        \"codespaces\": {\n            \"openFiles\": [\n                \"codespace.md\"\n            ]\n        }\n    }\n   ```\n\n1. Click **Commit changes** and then select **Commit changes directly to the `main` branch**.\n1. Create a new codespace by navigating to the landing page of your repository.\n1. Click the **Code** button located in the middle of the page.\n1. Click the **Codespaces** tab on the box that pops up.\n1. Click the **Create codespace on main** button.\n\n   \u003e Wait about **2 minutes** for the codespace to spin itself up.\n\n1. Verify your codespace is running, as you did previously.\n1. The `codespace.md` file should show up in the VS Code editor.\n1. The `copilot` extension should show up in the VS Code extension list.\n\n   This will add a VS Code extension as well as open a file on start up of the codespace.\n\nNext lets add some code to run upon creation of the codespace!\n\n### :keyboard: Activity: Execute code upon creation of the codespace\n\n1. Edit the `.devcontainer/devcontainer.json` file.\n1. Add the following postCreateCommand to the body of the file before the last `}`.\n\n   ```jsonc\n    ,\n    \"postCreateCommand\": \"echo '# Writing code upon codespace creation!'  \u003e\u003e codespace.md\"\n   ```\n\n1. Click **Commit changes** and then select **Commit changes directly to the `main` branch**.\n1. Create a new codespace by navigating to the landing page of your repository.\n1. Click the **Code** button located in the middle of the page.\n1. Click the **Codespaces** tab on the box that pops up.\n1. Click the **Create codespace on main** button.\n\n   \u003e Wait about **2 minutes** for the codespace to spin itself up.\n\n1. Verify your codespace is running, as you did previously.\n1. Verify the `codespace.md` file now has the text `Writing code upon codespace creation!`.\n1. Wait about 20 seconds then refresh this page (the one you're following instructions from). [GitHub Actions](https://docs.github.com/en/actions) will automatically update to the next step.\n\n\u003cfooter\u003e\n\n\u003c!--\n  \u003c\u003c\u003c Author notes: Footer \u003e\u003e\u003e\n  Add a link to get support, GitHub status page, code of conduct, license link.\n--\u003e\n\n---\n\nGet help: [Post in our discussion board](https://github.com/orgs/skills/discussions/categories/code-with-codespaces) \u0026bull; [Review the GitHub status page](https://www.githubstatus.com/)\n\n\u0026copy; 2023 GitHub \u0026bull; [Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md) \u0026bull; [MIT License](https://gh.io/mit)\n\n\u003c/footer\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix278%2Fskills-code-with-codespaces","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrix278%2Fskills-code-with-codespaces","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix278%2Fskills-code-with-codespaces/lists"}