{"id":18039042,"url":"https://github.com/sitek94/advent-of-code","last_synced_at":"2026-05-15T21:03:12.720Z","repository":{"id":126286299,"uuid":"434982502","full_name":"sitek94/advent-of-code","owner":"sitek94","description":"My Advent of Code solutions 🎄","archived":false,"fork":false,"pushed_at":"2024-12-25T13:36:08.000Z","size":2557,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-08T19:59:50.537Z","etag":null,"topics":["advent-of-code","bun","typescript"],"latest_commit_sha":null,"homepage":"https://sitek94.github.io/advent-of-code/","language":"TypeScript","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/sitek94.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-12-04T18:46:39.000Z","updated_at":"2024-12-25T13:36:12.000Z","dependencies_parsed_at":"2025-09-16T03:59:07.894Z","dependency_job_id":null,"html_url":"https://github.com/sitek94/advent-of-code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sitek94/advent-of-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitek94%2Fadvent-of-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitek94%2Fadvent-of-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitek94%2Fadvent-of-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitek94%2Fadvent-of-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sitek94","download_url":"https://codeload.github.com/sitek94/advent-of-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitek94%2Fadvent-of-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275358889,"owners_count":25450444,"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","status":"online","status_checked_at":"2025-09-16T02:00:10.229Z","response_time":65,"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","bun","typescript"],"created_at":"2024-10-30T14:08:27.059Z","updated_at":"2025-09-16T03:59:09.324Z","avatar_url":"https://github.com/sitek94.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code\n\nMy [Advent of Code](https://adventofcode.com) solutions 🎄\n\n## Scripts\n\nGenerate challenge files:\n\n```shell\nbun g [day] [year]\n\n# Generate today's challenge files\nbun g\n\n# Generate day 12 of this year's challenge files\nbun g 12\n\n# Generate day 8 of 2019's challenge files\nbun g 8 2019\n```\n\nRun challenge:\n\n```shell\nbun \u003cpart\u003e [day] [year]\n\n# Run part 1 or 2 of today's challenge\nbun 1\nbun 2\n\n# Run part 1 of day 12 of this year\nbun 1 12\n\n# Run part 2 of day 8 of 2019\nbun 2 8 2019\n```\n\nUse flags:\n\n```shell\n# No flags (default) - uses only test input\nbun 1\n\n# f — final - uses only final input\nbun 1f\n\n# a — all - uses both test and final input\nbun 1a\n```\n\nRun tests for some utility functions:\n\n```shell\nbun test\n```\n\n## Even shorter scripts?\n\nSet alias for Bun in your shell config file (e.g. `.bashrc` or `.zshrc`):\n\n```shell\nalias b=\"bun\"\n```\n\n## Notes\n\n- 2023: 9 — Least Common Multiple (LCM) + Greatest Common Divisor (GCD)\n- 2023: 10 — Flood Fill + BFS\n- 2023: 11 — Manhattan Distance\n- 2024: 16 — Dijkstra's\n- 2024: 18 — A\\* Search\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitek94%2Fadvent-of-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsitek94%2Fadvent-of-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitek94%2Fadvent-of-code/lists"}