{"id":35048689,"url":"https://github.com/beeb/aoc-2025","last_synced_at":"2026-05-13T16:44:27.231Z","repository":{"id":328112519,"uuid":"1107040084","full_name":"beeb/aoc-2025","owner":"beeb","description":"My solutions for Advent of Code 2025","archived":false,"fork":false,"pushed_at":"2025-12-11T07:47:28.000Z","size":92,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-12T00:48:57.800Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://adventofcode.com/","language":"Rust","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/beeb.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":"2025-11-30T13:19:38.000Z","updated_at":"2025-12-11T06:20:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/beeb/aoc-2025","commit_stats":null,"previous_names":["beeb/aoc-2025"],"tags_count":null,"template":false,"template_full_name":"beeb/aoc-rust","purl":"pkg:github/beeb/aoc-2025","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeb%2Faoc-2025","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeb%2Faoc-2025/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeb%2Faoc-2025/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeb%2Faoc-2025/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beeb","download_url":"https://codeload.github.com/beeb/aoc-2025/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeb%2Faoc-2025/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28076554,"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-12-27T02:00:05.897Z","response_time":58,"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":[],"created_at":"2025-12-27T09:04:33.293Z","updated_at":"2025-12-27T09:04:39.263Z","avatar_url":"https://github.com/beeb.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code Rust template\n\nThis is a basic template you can fork and implement your Advent of Code solutions in. `src/days/` contains a source file\nfor all 12 days, where an implementation of a trait `Day` should be written. If using this template for an older\nchallenge, you'll need to add the missing day modules for days 13-25 and modify the `match` in `run_day`.\n\n```rust\npub trait Day {\n  type Input;\n\n  fn parser(input_string: \u0026mut \u0026str) -\u003e Result\u003cSelf::Input\u003e;\n\n  type Output1: Display;\n\n  fn part_1(input: \u0026Self::Input) -\u003e Self::Output1;\n\n  type Output2: Display;\n\n  fn part_2(input: \u0026Self::Input) -\u003e Self::Output2;\n}\n```\n\nThe parsers should be written using [winnow](https://docs.rs/winnow/latest/winnow/).\n\n## Dev shell\n\nA `flake.nix` provides a [nix](https://nixos.org/) dev shell with the rust toolchain installed.\nEnter the shell by running `nix develop --impure` (requires the `nix-command` and `flakes`\n[experimental features](https://nixos.wiki/wiki/Flakes))\n\n## Usage\n\nFirst, modify the package metadata in `Cargo.toml` and change the current `YEAR` constant in `src/main.rs`.\n\nThen, find your session cookie. To do so, go to [https://adventofcode.com](adventofcode.com), log in, and press F12. In\nthe \"Application\" tab, under \"Storage \u003e Cookies \u003e https://adventofcode.com\", copy the value of the \"session\" cookie.\nPaste it into a file named `.session` at the root of the project. You can now download input files. To do so, run the\nsubcommand `get`: `cargo run -- get 1`. The `1` stands for day 1, meaning it will download the input of day\n1 of Advent of Code. Alternatively, from December 1st to 12th, you can skip the day parameter, and the program will\ndownload today's input. You can also use `--all` instead of a day parameter to download all input files.\n\nTo run your implementation, use `cargo run [-r] -- run 1` (`-r` for release profile) to run day 1. Just like\n`get`,you can skip the day parameter to run today's program, or use `--all` to run all days.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeb%2Faoc-2025","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeeb%2Faoc-2025","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeb%2Faoc-2025/lists"}