{"id":22168728,"url":"https://github.com/spalberg/advent-of-code-2024","last_synced_at":"2025-10-12T19:30:18.436Z","repository":{"id":265423558,"uuid":"895966899","full_name":"spalberg/advent-of-code-2024","owner":"spalberg","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-21T09:15:37.000Z","size":103,"stargazers_count":8,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T18:01:33.801Z","etag":null,"topics":["advent-of-code","advent-of-code-2024","advent-of-code-2024-deno","aoc","aoc-2024","aoc-2024-in-deno","deno","typescript"],"latest_commit_sha":null,"homepage":"","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/spalberg.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}},"created_at":"2024-11-29T09:27:24.000Z","updated_at":"2025-02-02T16:50:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"147f732b-a2b1-4461-9aa6-ff7a530cf281","html_url":"https://github.com/spalberg/advent-of-code-2024","commit_stats":null,"previous_names":["spalberg/advent-of-code-2024"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/spalberg/advent-of-code-2024","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spalberg%2Fadvent-of-code-2024","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spalberg%2Fadvent-of-code-2024/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spalberg%2Fadvent-of-code-2024/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spalberg%2Fadvent-of-code-2024/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spalberg","download_url":"https://codeload.github.com/spalberg/advent-of-code-2024/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spalberg%2Fadvent-of-code-2024/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012668,"owners_count":26085159,"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-10-12T02:00:06.719Z","response_time":53,"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","advent-of-code-2024-deno","aoc","aoc-2024","aoc-2024-in-deno","deno","typescript"],"created_at":"2024-12-02T06:25:02.939Z","updated_at":"2025-10-12T19:30:18.121Z","avatar_url":"https://github.com/spalberg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2024\n\n[![JSR](https://jsr.io/badges/@aoc/2024)](https://jsr.io/@aoc/2024)\n\nWelcome to the [Advent of Code 2024](https://adventofcode.com/2024)! This\nrepository is where the magic happens, with all solutions written in TypeScript\nand running on Deno – the best anagram of Node! Dive into the daily challenges\nand explore the code. Happy coding and may your algorithms be ever efficient!\n\n## CLI\n\nYou don't have to check out this repository to test my code against your inputs!\nSimply run the published cli via [JSR](https://jsr.io/).\n\nUsage:\n\n```bash\n# To list all options\ndeno run jsr:@aoc/2024 --help\n# To use the interactive cli\ndeno run -RN jsr:@aoc/2024\n# To directly execute a day with a local input file\ndeno run -R jsr:@aoc/2024 -d 2 -i ./inputs/2.txt\n# To directly execute a day with a remote input file\ndeno run -RN jsr:@aoc/2024 -d 2 -i https://pastebin.com/your-input\n# To pipe the input into the cli\ncat ./inputs/2.txt | deno run jsr:@aoc/2024 -d 2\n```\n\n\u003e [!TIP]\n\u003e Deno caches jsr packages, so there might be new solutions already but your cli\n\u003e version is out of date. Simply run `deno run -A jsr:@aoc/2024 update` to\n\u003e update to the latest version.\n\n## SaaS (Solutions as a Service)\n\n_You don't have deno installed and just want to get some solutions for your\npuzzle inputs?_\\\n_SaaS_ is the future and here to save you!\n\nAll solutions are available as an API, powered by\n[Deno Deploy](https://deno.com/deploy).\n\n### _Almost OpenAPI_ ™ Spec:\n\nUse one of these base urls:\n[`https://aoc-2024.palberg.de`](https://aoc-2024.palberg.de/info) or\n[`https://aoc-2024.deno.dev`](https://aoc-2024.deno.dev/info).\n\n- `POST /days/:number`: send your raw input as body to get the results\n- `GET /info`: get some nice infos\n- `GET /days`: see what days are available\n\n### Examples\n\nIf you have access to `curl` you can adopt the following example for your\nusecase:\n\n```bash\ncurl -X POST --data-binary @./inputs/1.txt https://aoc-2024.palberg.de/days/1\n```\n\nIf you are more of a power (_shell_) user the following example might be a\nbetter starting point for you:\n\n```pswh\nirm -method \"post\" https://aoc-2024.palberg.de/days/2 -Body (gc -raw ./inputs/2.txt)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspalberg%2Fadvent-of-code-2024","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspalberg%2Fadvent-of-code-2024","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspalberg%2Fadvent-of-code-2024/lists"}