{"id":22216676,"url":"https://github.com/passidel/aoc","last_synced_at":"2026-05-14T20:02:19.277Z","repository":{"id":266085121,"uuid":"897321845","full_name":"PassiDel/aoc","owner":"PassiDel","description":"Advent of Code 2024","archived":false,"fork":false,"pushed_at":"2025-12-12T07:57:47.000Z","size":186,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-13T18:29:30.573Z","etag":null,"topics":["advent-of-code","advent-of-code-2024","aoc","bun","test","typescript"],"latest_commit_sha":null,"homepage":"https://adventofcode.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PassiDel.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-02T12:36:34.000Z","updated_at":"2025-12-12T07:57:51.000Z","dependencies_parsed_at":"2025-01-30T06:25:16.021Z","dependency_job_id":"7cf2dd97-a504-4290-8212-ef1dae20e934","html_url":"https://github.com/PassiDel/aoc","commit_stats":null,"previous_names":["passidel/aoc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PassiDel/aoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PassiDel%2Faoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PassiDel%2Faoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PassiDel%2Faoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PassiDel%2Faoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PassiDel","download_url":"https://codeload.github.com/PassiDel/aoc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PassiDel%2Faoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33041204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["advent-of-code","advent-of-code-2024","aoc","bun","test","typescript"],"created_at":"2024-12-02T22:12:48.409Z","updated_at":"2026-05-14T20:02:19.231Z","avatar_url":"https://github.com/PassiDel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code\n\n![Check runs](https://img.shields.io/github/check-runs/PassiDel/aoc/main)\n![Typescript version](https://img.shields.io/github/package-json/dependency-version/passidel/aoc/peer/typescript)\n![Runtime Bun](\u003chttps://img.shields.io/badge/bun-pink?logo=bun\u0026label=runtime\u0026labelColor=black\u0026color=rgb(244,114,182)\u003e)\n\n\u003e [LANGUAGE: TypeScript]\n\u003e\n\u003e [RUNTIME: Bun]\n\n## Structure\n\nEvery solution is grouped by its year and day and (usually) consists of five files:\n\n| Filename                            | Purpose                                                                                                 |\n| ----------------------------------- | ------------------------------------------------------------------------------------------------------- |\n| `\u003cyear\u003e/\u003cday\u003e/index.ts`             | Has the solution. Exports two functions: `solveFirst(string): number` and `solveSecond(string): number` |\n| `\u003cyear\u003e/\u003cday\u003e/index.test.ts`        | Unit test using the example input and expected solution.                                                |\n| `\u003cyear\u003e/\u003cday\u003e/run.ts`               | Basic run script: Loading the actual input and passing it into the two solve functions.                 |\n| `\u003cyear\u003e/\u003cday\u003e/input.txt`            | Input text from AOC.                                                                                    |\n| `\u003cyear\u003e/\u003cday\u003e/\u003cyear\u003e-\u003cday\u003e.run.xml` | IntelliJ/Webstorm runfile for `run.ts` using Bun.                                                       |\n\n## Setup\n\nTo install dependencies:\n\n```bash\nbun install\n```\n\nTo test all days:\n\n```bash\nbun run test\n```\n\nTo create a new day-folder:\n\n```bash\nbun run copy.ts\n```\n\nTo run a single day, first copy your input file from `https://adventofcode.com/\u003cyear\u003e/day/\u003cday\u003e/input` into\n`\u003cyear\u003e/\u003cday\u003e/input.txt`. Then run:\n\n```bash\nbun run \u003cyear\u003e/\u003cday\u003e/run.ts\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassidel%2Faoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpassidel%2Faoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassidel%2Faoc/lists"}