{"id":22940934,"url":"https://github.com/ppmathis/aoc-zig","last_synced_at":"2025-06-28T02:05:04.167Z","repository":{"id":266917462,"uuid":"899717865","full_name":"ppmathis/aoc-zig","owner":"ppmathis","description":"My personal Advent of Code solutions written in Zig","archived":false,"fork":false,"pushed_at":"2024-12-15T14:38:03.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T20:43:02.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Zig","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/ppmathis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-12-06T21:27:40.000Z","updated_at":"2024-12-15T14:38:06.000Z","dependencies_parsed_at":"2024-12-07T01:24:05.961Z","dependency_job_id":"ccf16a5c-1652-4214-b621-dc876bfa084d","html_url":"https://github.com/ppmathis/aoc-zig","commit_stats":null,"previous_names":["ppmathis/aoc-zig"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ppmathis/aoc-zig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppmathis%2Faoc-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppmathis%2Faoc-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppmathis%2Faoc-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppmathis%2Faoc-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppmathis","download_url":"https://codeload.github.com/ppmathis/aoc-zig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppmathis%2Faoc-zig/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262362064,"owners_count":23299122,"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-12-14T13:33:35.008Z","updated_at":"2025-06-28T02:05:04.146Z","avatar_url":"https://github.com/ppmathis.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code in Zig\n\nThis repository contains my personal solutions for [Advent of Code](https://adventofcode.com/), all written in Zig.\n\n## Usage\n\nTo simplify running and testing puzzles, the build script will automatically fetch puzzle inputs via REST API from AoC servers. All puzzle inputs will be locally stored in the `data` directory, whose contents are ignored from version control in accordance with the official AoC guidelines. Please make sure to define the environment variable `AOC_TOKEN` with your session token to let the build script fetch the inputs. If you specify a puzzle that is not covered by this repository, it will be automatically created with a barebones template.\n\n### Running a Specific AoC Puzzle\n\nUse the `run` step and specify the year and day as build options, e.g.:\n\n```sh\nzig build -Dyear=2024 -Dday=6 run\n```\n\n### Testing a Specific AoC Puzzle\n\nUse the `test` step and specify the year and day as build options, e.g.:\n\n```sh\nzig build -Dyear=2024 -Dday=6 test\n```\n\n### Environment Setup\n\nEnsure you have the environment variable set:\n\n- `AOC_TOKEN`: Your session token for Advent of Code.\n\n## Directory Structure\n\n- `src/`: Contains the source code for each day's puzzle.\n- `data/`: Stores the fetched puzzle inputs (ignored by version control).\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE.txt](LICENSE.txt) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppmathis%2Faoc-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppmathis%2Faoc-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppmathis%2Faoc-zig/lists"}