{"id":24839223,"url":"https://github.com/nathanjms/advent-of-code","last_synced_at":"2026-04-29T08:02:11.838Z","repository":{"id":211456952,"uuid":"729181738","full_name":"Nathanjms/advent-of-code","owner":"Nathanjms","description":"Advent of Code Solutions - In Go/JavaScript","archived":false,"fork":false,"pushed_at":"2025-12-03T07:59:18.000Z","size":288,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-03T19:47:32.834Z","etag":null,"topics":["advent-of-code","advent-of-code-2015","advent-of-code-2015-go","advent-of-code-2023","advent-of-code-2023-javascript","advent-of-code-2024","advent-of-code-2024-go","go","golang","javascript"],"latest_commit_sha":null,"homepage":"https://adventofcode.com/","language":"Go","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/Nathanjms.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-08T15:54:50.000Z","updated_at":"2025-12-03T07:59:22.000Z","dependencies_parsed_at":"2024-01-20T10:41:21.884Z","dependency_job_id":"d02fddc3-46d0-44a5-8bfc-86c3dae7da8a","html_url":"https://github.com/Nathanjms/advent-of-code","commit_stats":null,"previous_names":["nathanjms/advent-of-code-2023"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nathanjms/advent-of-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nathanjms%2Fadvent-of-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nathanjms%2Fadvent-of-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nathanjms%2Fadvent-of-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nathanjms%2Fadvent-of-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nathanjms","download_url":"https://codeload.github.com/Nathanjms/advent-of-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nathanjms%2Fadvent-of-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32416146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-2015","advent-of-code-2015-go","advent-of-code-2023","advent-of-code-2023-javascript","advent-of-code-2024","advent-of-code-2024-go","go","golang","javascript"],"created_at":"2025-01-31T06:37:04.797Z","updated_at":"2026-04-29T08:02:11.833Z","avatar_url":"https://github.com/Nathanjms.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code\n\nGo the the relevant year and look at the README.md file for that year for details of that year's solutions.\n\nI started with 2023, and am now working my way from 2015. Keep an eye on the list below for progress.\n\n- [x] 2015\n  - Go\n- [ ] 2016\n  - Go (WIP)\n- [ ] 2017\n- [ ] 2018\n- [ ] 2019\n- [ ] 2020\n- [ ] 2021\n- [ ] 2022\n- [x] 2023\n  - JavaScript\n- [x] 2024\n  - Go\n- [ ] 2025\n  - Python\n\n## Go\n\nI'm using Go now for these challenges, starting for 2015 and working upwards.\n\nFor Go solutions, these can be ran from the homepage as follows:\n\n```bash\ngo run ./2015/go/day01\n```\n\nto run with example input, or\n\n```bash\ngo run ./2015/go/day01 ./input\n```\n\nto run with the input at the path given.\n\n## Templates\n\n### JavaScript\n\nYou can run\n\n```bash\nbash createJsDay.sh \u003cday\u003e \u003cpath\u003e\n```\n\nto create the template for a new day in JavaScript. To do this, ensure that there is a `dayx` template folder in the destination.\n_Tip: Add '0' to the start of the day number if it is less than 10, e.g. `01` instead of `1`, for better ordering!_\n\n### Go\n\nRun\n\n```bash\nbash createGoOrPyDay.sh \u003cday\u003e \u003cpath\u003e go\n```\n\nto create the template for a new day in Go. To do this, ensure that there is a `dayx` template folder in the destination.\n_Tip: Add '0' to the start of the day number if it is less than 10, e.g. `01` instead of `1`, for better ordering!_\n\n## Setup for a new year\n\n### Go\n\n1. Create the year folder, eg. `mkdir -p 2017/go`\n2. In the folder, run `go mod init aoc-2017`, then cd back to the root of this repo\n3. Add this to the `go.work` file in the root\n4. Add the dayx folder to enable the template to work\n5. Run `bash createGoDay.sh 01 ./2017/go`\n\n### Python\n\nRun\n\n```bash\nbash createGoOrPyDay.sh \u003cday\u003e \u003cpath\u003e py\n```\n\neg:\n\n```bash\nbash ./createGoOrPyDay.sh 08 ./2025/python py\n```\n\nto create the template for a new day in Go. To do this, ensure that there is a `dayx` template folder in the destination.\n_Tip: Add '0' to the start of the day number if it is less than 10, e.g. `01` instead of `1`, for better ordering!_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanjms%2Fadvent-of-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathanjms%2Fadvent-of-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanjms%2Fadvent-of-code/lists"}