{"id":38283232,"url":"https://github.com/zmoooooritz/aoc","last_synced_at":"2026-01-17T02:00:55.570Z","repository":{"id":266754124,"uuid":"726770712","full_name":"zMoooooritz/aoc","owner":"zMoooooritz","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-04T17:25:59.000Z","size":110,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-03T23:42:35.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/zMoooooritz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-03T11:00:09.000Z","updated_at":"2025-01-04T17:26:03.000Z","dependencies_parsed_at":"2024-12-06T00:18:48.173Z","dependency_job_id":"04a09776-f119-4130-ab60-21aa90fe2997","html_url":"https://github.com/zMoooooritz/aoc","commit_stats":null,"previous_names":["zmoooooritz/aoc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zMoooooritz/aoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zMoooooritz%2Faoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zMoooooritz%2Faoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zMoooooritz%2Faoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zMoooooritz%2Faoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zMoooooritz","download_url":"https://codeload.github.com/zMoooooritz/aoc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zMoooooritz%2Faoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28492047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"online","status_checked_at":"2026-01-17T02:00:07.808Z","response_time":85,"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":"2026-01-17T02:00:32.768Z","updated_at":"2026-01-17T02:00:55.517Z","avatar_url":"https://github.com/zMoooooritz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Running Locally\n### Requirements\nGo 1.16+ is required because [embed][embed] is used for input files.\n\nUse `go run main.go -part \u003c1 or 2\u003e` will be usable to run the actual inputs for that day.\n\nUse `go test -run RegExpToMatchFunctionNames .` to run examples and unit tests via the `main_test.go` files.\n\n## Scripts\nMakefile should be fairly self-documenting. Alternatively you can run the binaries yourself via `go run` or `go build`.\n\n`make help` prints a help message.\n\n### Create skeleton and input for a day\n\n```bash\nmake setup DAY=10 YEAR=2020\n```\n\n### Make skeleton files\n```bash\nfor ((i=1; i\u003c26; i++)); do\n    make skeleton DAY=$i YEAR=2020\ndone\n```\n\nNote that skeletons use [embed][embed] and __will not compile__ without an `input.txt` file located in the same folder. Input files can be made via `make input`.\n```sh\nmake skeleton DAY=10 YEAR=2020\nmake input DAY=10 YEAR=2020 AOC_SESSION_COOKIE=your_cookie\n```\n\n### Fetch inputs and write to input.txt files\nRequires passing your cookie from AOC from either `-cookie` flag, or `AOC_SESSION_COOKIE` env variable.\n```bash\nmake input DAY=10 YEAR=2020\n```\n\n[embed]: https://golang.org/pkg/embed/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmoooooritz%2Faoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzmoooooritz%2Faoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmoooooritz%2Faoc/lists"}