{"id":15690511,"url":"https://github.com/ageron/aoc2023-rust","last_synced_at":"2025-07-11T09:39:56.569Z","repository":{"id":210483366,"uuid":"726672738","full_name":"ageron/aoc2023-rust","owner":"ageron","description":"Solutions of Advent-of-Code 2023 in Rust","archived":false,"fork":false,"pushed_at":"2023-12-29T22:26:40.000Z","size":213,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T23:49:08.767Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ageron.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}},"created_at":"2023-12-03T03:05:36.000Z","updated_at":"2025-05-04T01:11:38.000Z","dependencies_parsed_at":"2023-12-28T06:36:58.580Z","dependency_job_id":"424595a1-8f4b-47ea-bd0a-d646f1cc549d","html_url":"https://github.com/ageron/aoc2023-rust","commit_stats":{"total_commits":36,"total_committers":1,"mean_commits":36.0,"dds":0.0,"last_synced_commit":"e1c16d9f378449792e9ebf266762dc56d5199cad"},"previous_names":["ageron/aoc2023-rust"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ageron%2Faoc2023-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ageron%2Faoc2023-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ageron%2Faoc2023-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ageron%2Faoc2023-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ageron","download_url":"https://codeload.github.com/ageron/aoc2023-rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252973626,"owners_count":21834105,"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","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":"2024-10-03T18:10:56.705Z","updated_at":"2025-05-07T23:49:13.542Z","avatar_url":"https://github.com/ageron.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Advent of Code 2023 in Rust\n===========================\n\nIf you've never heard of Advent of Code, you're missing out. Check it out now at [adventofcode.com](https://adventofcode.com/about)!\n\nI mostly do AoC puzzles for fun, generally coding in Python, but I've also found that it's a great way to get some experience with other programming languages, such as Julia or Rust.\n\nThis repository contains all my solutions to the [AoC 2023](https://adventofcode.com/2023) puzzles using Rust.\n\nAs I'm still learning Rust, the code may not always be as simple or idiomatic as it could be. If you have suggestions for things I could improve, please don't hesitate to file an issue or submit a PR. Thanks!\n\nUsage\n-----\n\nMake sure you have Rust and Git installed, then open a terminal and run:\n\n```shell\ngit clone https://github.com/ageron/aoc2023-rust\ncd aoc2023-rust\ncargo run --release\n```\n\nYou can specify days to run if you want, for example this will run days 2, 4, and 6:\n\n```\ncargo run --release 2 4 6\n```\n\nGetting the data\n----------------\n\nI've also included a little `get_data.py` utility to automatically download the data of the day, at the right time (you'll get a countdown if you're early). I was too lazy to code it in Rust, but perhaps I'll port it one day. To use it, just type the following command in a terminal, replacing `{day}` with the day you want:\n\n```\ncd /path/to/this/repository\npython get_data.py 2023 {day}\n```\n\nThe script requires the `requests` and `pytz` libraries, which you can install like this:\n\n```\npython -m pip install --user requests pytz\n```\n\nThe first time you run `get_data.py`, you will be asked to login to AoC in your browser, [find your session cookie](https://github.com/wimglenn/advent-of-code-wim/issues/1), and save it into a `.session` file in the current directory.\n\nHave fun!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fageron%2Faoc2023-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fageron%2Faoc2023-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fageron%2Faoc2023-rust/lists"}