{"id":28640622,"url":"https://github.com/adrianklimek/advent-of-code-bun","last_synced_at":"2025-06-12T20:07:49.529Z","repository":{"id":209751337,"uuid":"720738983","full_name":"adrianklimek/advent-of-code-bun","owner":"adrianklimek","description":"A template repository for solving Advent of Code and experimenting with Bun runtime.","archived":false,"fork":false,"pushed_at":"2024-12-01T07:56:42.000Z","size":13,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-01T08:36:24.518Z","etag":null,"topics":["advent-of-code","advent-of-code-2023","advent-of-code-2024","bun","typescript"],"latest_commit_sha":null,"homepage":"","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/adrianklimek.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-11-19T13:02:34.000Z","updated_at":"2024-12-01T07:56:46.000Z","dependencies_parsed_at":"2023-12-01T09:37:28.911Z","dependency_job_id":null,"html_url":"https://github.com/adrianklimek/advent-of-code-bun","commit_stats":null,"previous_names":["adrianklimek/advent-of-code-bun"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/adrianklimek/advent-of-code-bun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianklimek%2Fadvent-of-code-bun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianklimek%2Fadvent-of-code-bun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianklimek%2Fadvent-of-code-bun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianklimek%2Fadvent-of-code-bun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrianklimek","download_url":"https://codeload.github.com/adrianklimek/advent-of-code-bun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianklimek%2Fadvent-of-code-bun/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259522114,"owners_count":22870449,"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":["advent-of-code","advent-of-code-2023","advent-of-code-2024","bun","typescript"],"created_at":"2025-06-12T20:07:48.450Z","updated_at":"2025-06-12T20:07:49.522Z","avatar_url":"https://github.com/adrianklimek.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code with Bun\nA template repository for solving Advent of Code and experimenting with Bun runtime.\n\n## Getting started\n1. Generate your repository using [this template](https://github.com/adrianklimek/advent-of-code-bun/generate).\n2. Make sure you have installed [Bun](https://bun.sh/docs/installation#installing).\n3. Install dependencies:\n```bash\nbun install\n```\n4. Create `.env` file based on `.env.example`.\n5. (Optional) Set your session token with environment variables to automatically fetch your input. You can obtain the session token from the AoC session cookie.\n\n## Running the Code\nTo run any solution you have to run the `solve` script. It will create all directories and files for a day, and also it can fetch your input file. Besides that, it watches all the changes you make and shows a result in a terminal.\n\n### Example usage\nTo run a solution for the first day:\n```bash\nbun solve 1\n```\nTo run tests in watch mode:\n```bash\nbun test --watch \n```\n## Structure\nFor each day a directory in `src` is created with the following structure:\n```bash\n📂 01\n├── 📜 01.ts\n├── 📜 01.test.ts\n├── 📜 example.txt\n└── 📜 input.txt\n```\n## Closing words\nHappy coding! 🎄✨\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianklimek%2Fadvent-of-code-bun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrianklimek%2Fadvent-of-code-bun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianklimek%2Fadvent-of-code-bun/lists"}