{"id":17211064,"url":"https://github.com/zadr/aoc","last_synced_at":"2025-03-25T12:17:54.489Z","repository":{"id":141656638,"uuid":"573300732","full_name":"zadr/aoc","owner":"zadr","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-09T07:51:52.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T11:14:05.459Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/zadr.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}},"created_at":"2022-12-02T06:12:43.000Z","updated_at":"2022-12-02T06:13:08.000Z","dependencies_parsed_at":"2023-05-09T13:17:15.619Z","dependency_job_id":null,"html_url":"https://github.com/zadr/aoc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zadr%2Faoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zadr%2Faoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zadr%2Faoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zadr%2Faoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zadr","download_url":"https://codeload.github.com/zadr/aoc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245458711,"owners_count":20618697,"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-15T02:56:09.431Z","updated_at":"2025-03-25T12:17:54.462Z","avatar_url":"https://github.com/zadr.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### Hello\nHey\n\n#### So what is this\nMy lil environment for managing [Advent Of Code](https://adventofcode.com/) solutions. I call it `aoc` for hopefully obvious reasons.\n\n#### What does it do\nManages all my Advent of Code solutions. Lets me run any one of them on the fly via `--day` and `--year` parameters, otherwise picks the most recent solution to run.\n\n`swift run aoc --begin` to prepare files for the next solution automatically.\n\nThrough the `swift run aoc --real-data` flag, `aoc` can switch to solution input instead of sample input.\n\nAnd, `aoc` will show how long it takes for a solution to run automatically.\n\n#### How does `aoc` know what to do?\nCommand line arguments. And the Objective-C runtime.\n\nEvery solution in `aoc` follows a strict naming convention for classes, and anything following this pattern will be loaded automatically. The pattern is: `AOC_` + `year` + `_` + `day`, or as an example, `AOC_2025_25`.\n\nInformally, I also have a `+Data.swift` extensions to hold real and sample inputs.\n\n#### Anything else\nConsider running in release mode `swift run --configuration release aoc --real-data`.\n\nIf you clone this repo (`git clone git@github.com:zadr/aoc.git`), cd into it (`cd aoc`), and `swift run aoc --help` you'll get the full help menu.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzadr%2Faoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzadr%2Faoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzadr%2Faoc/lists"}