{"id":16710766,"url":"https://github.com/overminddl1/advent_of_code","last_synced_at":"2025-03-15T03:16:08.065Z","repository":{"id":64580904,"uuid":"433610530","full_name":"OvermindDL1/advent_of_code","owner":"OvermindDL1","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-14T22:57:26.000Z","size":492,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"trunk","last_synced_at":"2025-01-21T18:51:30.955Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/OvermindDL1.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":"2021-11-30T22:47:04.000Z","updated_at":"2023-12-05T16:48:04.000Z","dependencies_parsed_at":"2023-12-14T23:45:20.623Z","dependency_job_id":null,"html_url":"https://github.com/OvermindDL1/advent_of_code","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/OvermindDL1%2Fadvent_of_code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OvermindDL1%2Fadvent_of_code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OvermindDL1%2Fadvent_of_code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OvermindDL1%2Fadvent_of_code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OvermindDL1","download_url":"https://codeload.github.com/OvermindDL1/advent_of_code/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243676782,"owners_count":20329434,"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-12T20:09:29.812Z","updated_at":"2025-03-15T03:16:08.043Z","avatar_url":"https://github.com/OvermindDL1.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent Of Code\n\nA simple framework to include in all Advent of Code solutions in a single\nframework to make it easy to call it with the appropriate CLI arguments.\n\n## Installation\n\nHave a proper full Rust installation (see [rustup.rs](https://rustup.rs/) for more).\nClone this repository such as via:\n\n```zsh\ngit clone https://github.com/OvermindDL1/advent_of_code.git\ncd advent_of_code\n```\n\nThen build it by:\n\n```zsh\ncargo build --release\n```\n\n## Usage\n\nIf following the above instructions then the final program will be at:\n\n```zsh\n./target/release/advent_of_code\n```\n\nAnd as such it will be used as the executable path, feel free to move\nit elsewhere.\n\nSee the help with the `--help` flag or the `help` command such as:\n\n```zsh\n./target/release/advent_of_code --help\n```\n\nThe `--help` flag and `help` command works on other commands as well,\nsuch as seeing the help for one of the years by:\n\n```zsh\n./target/release/advent_of_code 2020 --help\n```\n\nTo run, for example, the Advent of Code 2020 Day 1 then run:\n\n```zsh\n./target/release/advent_of_code 2020 1 ./inputs/2020/day1.input\n```\n\nOr use your own input to get your own answer (please try to answer\nAdvent Of Code on your own, don't just copy and paste answers from\nelsewhere).\n\nYou can see what arguments are needed for a task by showing its\n`--help` like such:\n\n\n```zsh\n./target/release/advent_of_code 2020 1 --help\n```\n\nTo see the running time of the command then add the `-v` for verbose\nas the first argument, such as with:\n\n```zsh\n./target/release/advent_of_code -v 2020 1 ./inputs/2020/day1.input\n```\n\nFeel free to add more `v`'s such as `-vvv` for more detailed logging,\nbut just one will print the times for the runs.\n\n## Hints\n\n### Heredoc\n\nIf you want test the example of your problem then you can send it\nin via a heredoc if using a good modern shell, such as via:\n\n```zsh\ncargo run --release -- 2020 1 \u003c(cat \u003c\u003cEOI\n1721\n979\n366\n299\n675\n1456\nEOI\n)\n```\n\nEverything within the `\u003c()` is passed as a fake file/pipe via the\nshell to the program.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foverminddl1%2Fadvent_of_code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foverminddl1%2Fadvent_of_code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foverminddl1%2Fadvent_of_code/lists"}