{"id":16752906,"url":"https://github.com/aalekhpatel07/advent-of-code-2022","last_synced_at":"2025-03-16T05:21:06.399Z","repository":{"id":64922841,"uuid":"573967753","full_name":"aalekhpatel07/advent-of-code-2022","owner":"aalekhpatel07","description":"Advent of Code Solutions 2022","archived":false,"fork":false,"pushed_at":"2022-12-30T11:29:34.000Z","size":13134,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T06:48:32.645Z","etag":null,"topics":["advent-of-code","advent-of-code-2022","puzzle-solution","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aalekhpatel07.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}},"created_at":"2022-12-04T01:46:19.000Z","updated_at":"2024-01-12T18:51:30.000Z","dependencies_parsed_at":"2023-01-31T11:30:57.357Z","dependency_job_id":null,"html_url":"https://github.com/aalekhpatel07/advent-of-code-2022","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/aalekhpatel07%2Fadvent-of-code-2022","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aalekhpatel07%2Fadvent-of-code-2022/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aalekhpatel07%2Fadvent-of-code-2022/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aalekhpatel07%2Fadvent-of-code-2022/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aalekhpatel07","download_url":"https://codeload.github.com/aalekhpatel07/advent-of-code-2022/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243827997,"owners_count":20354419,"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":["advent-of-code","advent-of-code-2022","puzzle-solution","rust-lang"],"created_at":"2024-10-13T02:48:29.693Z","updated_at":"2025-03-16T05:21:06.381Z","avatar_url":"https://github.com/aalekhpatel07.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2022\n\nThis Go (+ Rust) hybrid project contains my solutions for Advent of Code 2022.\n\n**Disclaimer**: I'm trying out Go for the first time so this project may not be as idiomatic.\n\n## Usage\n\n### Rust parts\n\nBuild the binaries in the workspace:\n```sh\ncd experiment \u0026\u0026 cargo build --release\n```\nRun the release binary for that day: `./target/release/day-*`\n\n(Do we want some clap-based argparser setup like the `aoc` cobra setup? probably yes but its boring to refactor. Maybe later?)\n\n### Go parts\n\nBuild the project with Go: \n```sh\ncd aoc \u0026\u0026 go build\n```\n \nRun the `aoc` binary with your Advent of Code session ID provided as an environment variable.\n\n**Note**: The binary depends on an AOC provided session ID which can be found in the browser's `session` cookie after logging in.\n\n## Examples\n\n#### Compute the solution for Day 1, Part 1, Year 2022:\n```sh\nAOC_SESSION_ID=\"\" ./aoc --day 1 --part 1 --year 2022\n```\n\n#### Compute **and submit** the solution for Day 2, Part 2, Year 2022:\n```sh\nAOC_SESSION_ID=\"\" ./aoc --day 2 --part 2 --year 2022 --submit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faalekhpatel07%2Fadvent-of-code-2022","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faalekhpatel07%2Fadvent-of-code-2022","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faalekhpatel07%2Fadvent-of-code-2022/lists"}