{"id":16318686,"url":"https://github.com/vic/aoc-devenv-template","last_synced_at":"2025-05-13T18:19:33.299Z","repository":{"id":210188098,"uuid":"725898016","full_name":"vic/aoc-devenv-template","owner":"vic","description":"Template for starting Advent Of Code using Nix devenv.","archived":false,"fork":false,"pushed_at":"2023-12-01T18:12:15.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-16T20:43:52.281Z","etag":null,"topics":["advent-of-code","getting-started","nix-flake","template"],"latest_commit_sha":null,"homepage":"","language":"Nix","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/vic.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":"2023-12-01T05:14:54.000Z","updated_at":"2023-12-03T05:27:11.000Z","dependencies_parsed_at":"2023-12-01T09:30:55.693Z","dependency_job_id":"ccb60445-2643-4e64-a307-f7b560c0350a","html_url":"https://github.com/vic/aoc-devenv-template","commit_stats":null,"previous_names":["vic/aoc-devenv-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Faoc-devenv-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Faoc-devenv-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Faoc-devenv-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Faoc-devenv-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vic","download_url":"https://codeload.github.com/vic/aoc-devenv-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254000895,"owners_count":21997444,"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","getting-started","nix-flake","template"],"created_at":"2024-10-10T22:24:18.092Z","updated_at":"2025-05-13T18:19:33.264Z","avatar_url":"https://github.com/vic.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Template for starting Advent Of Code using Nix devenv.\n\n\u003ca href=\"https://asciinema.org/a/tYHsdJCdEG9kmt03iOjUeaejH\" target=\"_blank\"\u003e\u003cimg src=\"https://asciinema.org/a/tYHsdJCdEG9kmt03iOjUeaejH.svg\" /\u003e\u003c/a\u003e\n\n* [Install Nix](https://github.com/DeterminateSystems/nix-installer)\n\n* Enable the [Languages](https://devenv.sh/languages/#supported-languages) you are using\n  by editing `flakeModules/default.nix`. \n\n  You can also add unlisted languages if they package is available at [nixpkgs](https://search.nixos.org/packages).\n  There's also an example of a custom language derivation (see `flakeModules/flix`).\n\n* Enter the environment.\n\n  If you have [direnv](https://direnv.net/docs/hook.html) already installed, this repo\n  includes an `.envrc` file to load the default devenv. Otherwise you might want to run:\n  `nix develop --impure`.\n\n\n* Use the [aoc-cli](https://github.com/scarvalhojr/aoc-cli/) to retrieve and submit your puzzles.\n\n  Login at [adventofcode.com](https://adventofcode.com/) and download the value of your `session` cookie  to `~/.adventofcode.session`.\n\n  Use `aoc calendar` to confirm you can use the API.\n\n\n* Start coding a puzzle.\n\n  Use `just init \u003clang\u003e \u003cday\u003e` to create language project for that day puzzle. \n  e.g. `just init rust 1` will create a rust project under `day1/rust` and provide the puzzle input.\n\n\n* Get fun.\n\n  Use `just watch \u003clang\u003e \u003cday\u003e` to run your project on changes.\n\n\n* Submit your answer.\n\n  Use `aoc submit --day \u003cDAY\u003e \u003cPART\u003e \u003cANSWER\u003e`  \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvic%2Faoc-devenv-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvic%2Faoc-devenv-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvic%2Faoc-devenv-template/lists"}