{"id":24334557,"url":"https://github.com/codemicro/adventofcode","last_synced_at":"2025-10-08T21:44:54.037Z","repository":{"id":64781051,"uuid":"317692959","full_name":"codemicro/adventOfCode","owner":"codemicro","description":"Advent of Code solutions in a number of different languages","archived":false,"fork":false,"pushed_at":"2024-12-09T18:38:28.000Z","size":19942,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-27T21:32:58.969Z","etag":null,"topics":["advent-of-code","adventofcode","adventofcode2020","adventofcode2021","adventofcode2022","adventofcode2023"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codemicro.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-12-01T23:16:14.000Z","updated_at":"2025-06-15T21:19:42.000Z","dependencies_parsed_at":"2024-06-21T12:56:36.351Z","dependency_job_id":"bb3ef1b5-020f-4d40-bba2-0b7efdbc2b99","html_url":"https://github.com/codemicro/adventOfCode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codemicro/adventOfCode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemicro%2FadventOfCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemicro%2FadventOfCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemicro%2FadventOfCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemicro%2FadventOfCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemicro","download_url":"https://codeload.github.com/codemicro/adventOfCode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemicro%2FadventOfCode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000702,"owners_count":26082837,"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-08T02:00:06.501Z","response_time":56,"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","adventofcode","adventofcode2020","adventofcode2021","adventofcode2022","adventofcode2023"],"created_at":"2025-01-18T04:17:12.511Z","updated_at":"2025-10-08T21:44:54.016Z","avatar_url":"https://github.com/codemicro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 🎄\n\nJump to: [2020](challenges/2020) - [2021](challenges/2021) - [2022](challenges/2022) - [2023](challenges/2023) - [2024](challenges/2024)\n\nSolutions to [Advent of Code](https://adventofcode.com) challenges.\n\nPuzzle inputs and descriptions are not included in this repository. You'll have to get these yourself from the AoC website. [Here's why](https://www.reddit.com/r/adventofcode/comments/k99rod/sharing_input_data_were_we_requested_not_to/gf2ukkf/?context=3).\n\n[AoC website](https://adventofcode.com) - [AoC subreddit](https://www.reddit.com/r/adventofcode) - [AoC awesome list](https://github.com/Bogdanp/awesome-advent-of-code)\n\n## Running solutions\n\nThe method of running solutions varies by year.\n\n\u003cdetails\u003e\u003csummary\u003e\u003cb\u003eFrom 2023 onwards\u003c/b\u003e\u003c/summary\u003e\n\nUse the `./aoc` script and provide it with the filename of the file you would like to run. For example, `./aoc run challenges/01-trebuchet/main.py`.\n\nAlternatively, run the code directly. Provide it with an input via stdin and set the first command line argument to be either `1` or `2` to run either part 1 or 2 respectively. This should go for all languages.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003e\u003cb\u003e2021 and 2022\u003c/b\u003e\u003c/summary\u003e\n\nIn order to run solutions from 2021 and 2022, you should switch to the `2022` branch first.\n\nSolutions to 2021's and 2022's solutions are run via the runner program contained in [`./runtime`](./runtime).\n\nTo run a solution, run `go run github.com/codemicro/adventOfCode/runtime` and follow the on-screen prompts. Configurisation options can be seen by running with the `--help` flag.\n\nA benchmark graph can be generated using [`generate-benchmark-graph.py`](./generate-benchmark-graph.py) as follows: `python3 generate-benchmark-graph.py \u003coutput file\u003e \u003cyear\u003e`.\n\nFor example, to generate a graph for the 2021 benchmarks and save it to `challenges/2021/running-times.png`, you can run `python3 generate-benchmark-graph.py challenges/2021/running-times.png 2021`.\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003e\u003cb\u003e2020\u003c/b\u003e\u003c/summary\u003e\n\nIn 2020, all solutions are in Python and/or Go.\n\n1. `cd` to the challenge directory\n   eg: `cd challenges/2020/05-binaryBoarding`\n2. Run the desired implementation\n   * For Python, run `python3 ./py`\n   * For Go, run `go run ./go`\n\nDependencies for 2020 challenges are not neatly defined anywhere, so determing and installing the correct ones is an exercise for the reader.\n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemicro%2Fadventofcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemicro%2Fadventofcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemicro%2Fadventofcode/lists"}