{"id":17302401,"url":"https://github.com/coriolinus/aoclib","last_synced_at":"2026-02-11T02:44:39.941Z","repository":{"id":45483569,"uuid":"324542964","full_name":"coriolinus/aoclib","owner":"coriolinus","description":"Utilities convenient for Advent of Code solutions in Rust","archived":false,"fork":false,"pushed_at":"2024-12-16T22:27:12.000Z","size":124,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T04:01:34.443Z","etag":null,"topics":["aoc","hacktoberfest"],"latest_commit_sha":null,"homepage":"https://aoclib-docs.netlify.app/aoclib/","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/coriolinus.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":"2020-12-26T11:42:21.000Z","updated_at":"2024-12-16T22:27:16.000Z","dependencies_parsed_at":"2024-12-10T22:25:31.112Z","dependency_job_id":"7db2d69a-3b65-40df-91c1-1b87fb2cc848","html_url":"https://github.com/coriolinus/aoclib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coriolinus/aoclib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coriolinus%2Faoclib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coriolinus%2Faoclib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coriolinus%2Faoclib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coriolinus%2Faoclib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coriolinus","download_url":"https://codeload.github.com/coriolinus/aoclib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coriolinus%2Faoclib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271425163,"owners_count":24757424,"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-08-21T02:00:08.990Z","response_time":74,"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":["aoc","hacktoberfest"],"created_at":"2024-10-15T11:47:26.191Z","updated_at":"2026-02-11T02:44:34.906Z","avatar_url":"https://github.com/coriolinus.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `aoclib`: Utilities convenient for Advent of Code solutions\n\n[Documentation](https://aoclib-docs.netlify.app/aoclib/)\n\nIn general, this is intended to provide library support in two broad aspects:\ninteracting with AoC itself, and making it easier to write solutions.\nIt is split into several modules to support this.\n\n## Notable AoC Interaction Helpers\n\nNon-exhaustive list; see documentation for more.\n\n- [`website::get_input`](https://aoclib-docs.netlify.app/aoclib/website/fn.get_input): get and cache the day's input\n- [`aoclib::input::parse`](https://aoclib-docs.netlify.app/aoclib/input/fn.parse.html): parses an input file into an `Iterator\u003cItem=T\u003e` where `T: FromStr`. Doesn't read ahead, for efficiency.\n\n### Automation Disclaimer\n\nThis library does follow the [automation guidelines on the /r/adventofcode community wiki](https://www.reddit.com/r/adventofcode/wiki/faqs/automation). Specifically:\n\n- Outbound calls are throttled to every 15 minutes in [`throttle`](https://github.com/coriolinus/aoclib/blob/6af83a4465498eb8344efb178b759298e7b522fa/src/website.rs#L15)\n- Once inputs are downloaded, they are cached locally in [`get_input`](https://github.com/coriolinus/aoclib/blob/6af83a4465498eb8344efb178b759298e7b522fa/src/website.rs#L53)\n  - If you suspect your input is corrupted, you can request a fresh copy by deleting the existing input and rerunning (subject to throttle)\n- The [User-Agent header in `get_input`](https://github.com/coriolinus/aoclib/blob/6af83a4465498eb8344efb178b759298e7b522fa/src/website.rs#L62) is set to this repo; file an issue if abuse is suspected.\n\n## Notable Solution Support Helpers\n\nThe ultimate goal is that any code useful for more than two Advent of Code solutions\nof any year gets abstracted into an appropriate module here.\n\nNon-exhaustive list; see documentation for more.\n\n- [`aoclib::geometry`](https://aoclib-docs.netlify.app/aoclib/geometry/index.html): general support module for 2d geometry\n\n## Features\n\nThe following features exist:\n\n- `map-render`: enables rendering still frames and animations from a map whose tiles implement `ToRgb`. Disabled by default.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoriolinus%2Faoclib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoriolinus%2Faoclib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoriolinus%2Faoclib/lists"}