{"id":22168716,"url":"https://github.com/magnusrodseth/aoc-2024","last_synced_at":"2026-01-31T09:33:17.415Z","repository":{"id":265212528,"uuid":"895465844","full_name":"magnusrodseth/aoc-2024","owner":"magnusrodseth","description":"🎅🏼 🦖 Advent of Code 2024, solved using Deno and TypeScript.","archived":false,"fork":false,"pushed_at":"2024-12-20T09:00:04.000Z","size":86,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T19:32:05.308Z","etag":null,"topics":["advent-of-code","aoc","aoc-2024-in-deno","deno","typescript"],"latest_commit_sha":null,"homepage":"https://deno.com/blog/advent-of-code-2024","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/magnusrodseth.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":"2024-11-28T09:06:24.000Z","updated_at":"2024-12-20T09:00:08.000Z","dependencies_parsed_at":"2024-12-18T20:30:54.874Z","dependency_job_id":"22456c5e-8ba2-4a63-ae1c-8ba986f8b3d0","html_url":"https://github.com/magnusrodseth/aoc-2024","commit_stats":null,"previous_names":["magnusrodseth/aoc-2024"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/magnusrodseth/aoc-2024","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Faoc-2024","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Faoc-2024/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Faoc-2024/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Faoc-2024/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magnusrodseth","download_url":"https://codeload.github.com/magnusrodseth/aoc-2024/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Faoc-2024/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28936192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T08:53:31.997Z","status":"ssl_error","status_checked_at":"2026-01-31T08:51:38.521Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["advent-of-code","aoc","aoc-2024-in-deno","deno","typescript"],"created_at":"2024-12-02T06:24:59.926Z","updated_at":"2026-01-31T09:33:17.398Z","avatar_url":"https://github.com/magnusrodseth.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎅🏽🦖 Advent of Code 2024, solved using Deno and TypeScript\n\nA powerful and flexible setup for solving Advent of Code puzzles with Deno. This toolkit helps you scaffold, download, and solve puzzles with ease. 🧩\n\n## 🚀 Features\n\n- **Automatic Scaffolding**: Generate boilerplate code for new days. 🛠️\n- **Puzzle Download**: Fetch inputs and puzzles directly from Advent of Code with the `aoc` CLI. 📦\n- **Task Runner**: Manage development tasks using Deno's `task` feature. ✅\n- **TypeScript Support**: Write clean, type-safe solutions. 📜\n\n## 📦 Setup\n\n1. Install [Deno](https://deno.land/).\n2. Install the `aoc` CLI tool ([documentation](https://github.com/scarvalhojr/aoc-cli)).\n3. Create a session cookie file at `~/.adventofcode.session` for fetching inputs.\n\n## 🛠️ Tasks\n\nThis project uses `deno task` to simplify common workflows:\n\n- `scaffold \u003cday\u003e`: Create boilerplate files for a given day.\n- `download \u003cday\u003e`: Download input and puzzle files for a specific day.\n- `solve \u003cday\u003e`: Run the solution for a specific day.\n\n### Example Commands\n\n```bash\n# Scaffold a new day\ndeno task scaffold 1\n\n# Download inputs for day 1\ndeno task download 1\n\n# Solve puzzles for day 1\ndeno task solve 1\n\n# Run tests on example data for day 1\ndeno task test 1\n```\n\n## 📂 Folder Structure\n\n```bash\n├── days/                  # Solutions for each day\n│   ├── day01.ts           # Day 1 solution\n│   ├── day02.ts           # Day 2 solution\n│   └── ...\n├── data/                  # Input and example data\n│   ├── inputs/            # Puzzle inputs\n│   ├── examples/          # Example inputs\n│   └── puzzles/           # Puzzle descriptions\n├── scripts/               # Helper scripts\n│   ├── scaffold.ts        # Scaffolding script\n│   ├── download.ts        # Download script\n│   ├── solve.ts           # Solve script\n│   └── _template.ts       # Template for scaffolding\n└── deno.json              # Deno configuration\n```\n\n## 🌟 How It Works\n\n- Use `scaffold` to create a solution template for a specific day.\n- Use `download` to fetch inputs and puzzles.\n- Write and test your solutions in the generated files.\n- Use `solve` to run and verify your answers.\n- Use `test` to run tests on example data for a specific day.\n\n## 👋🏽 Developer Information\n\nMade with ❤️ by [@magnusrodseth](https://github.com/magnusrodseth)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnusrodseth%2Faoc-2024","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagnusrodseth%2Faoc-2024","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnusrodseth%2Faoc-2024/lists"}