{"id":34555962,"url":"https://github.com/davidebrognoli/adventofcode2024","last_synced_at":"2026-05-25T21:34:47.730Z","repository":{"id":265768967,"uuid":"896602668","full_name":"davidebrognoli/adventofcode2024","owner":"davidebrognoli","description":"This repository contains solutions for Advent of Code 2024 challenges.","archived":false,"fork":false,"pushed_at":"2024-12-23T13:05:34.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-23T14:22:59.364Z","etag":null,"topics":["advent-of-code","advent-of-code-2024","advent-of-code-javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidebrognoli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-11-30T19:59:09.000Z","updated_at":"2024-12-23T13:05:37.000Z","dependencies_parsed_at":"2024-12-23T14:21:52.815Z","dependency_job_id":"85d24270-a38e-4c9e-91c5-544d92704bd7","html_url":"https://github.com/davidebrognoli/adventofcode2024","commit_stats":null,"previous_names":["davidebrognoli/adventofcode2024"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davidebrognoli/adventofcode2024","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidebrognoli%2Fadventofcode2024","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidebrognoli%2Fadventofcode2024/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidebrognoli%2Fadventofcode2024/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidebrognoli%2Fadventofcode2024/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidebrognoli","download_url":"https://codeload.github.com/davidebrognoli/adventofcode2024/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidebrognoli%2Fadventofcode2024/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33494771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T14:31:05.219Z","status":"ssl_error","status_checked_at":"2026-05-25T14:31:02.878Z","response_time":57,"last_error":"SSL_read: 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-2024","advent-of-code-javascript"],"created_at":"2025-12-24T08:29:13.377Z","updated_at":"2026-05-25T21:34:47.726Z","avatar_url":"https://github.com/davidebrognoli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2024\n\nThis repository contains solutions for **Advent of Code 2024** challenges. Each day's solution is stored in its own folder under `src/dayX/`.\n\n## Setup\n\n### 1. Clone the repository\n\nTo clone the repository, run:\n\n`git clone https://github.com/davidebrognoli/adventofcode2024`\n\nThen navigate into the project folder:\n\n`cd advent-of-code2024`\n\n### 2. Install dependencies\n\nTo install the required dependencies, run:\n\n`npm install`\n\nThis will install Jest for testing and any other dependencies required for the challenges.\n\n## Running the code\n\nYou can execute the solution for each day by using the following command:\n\n`npm start X`\n\nWhere `X` is the day number (e.g., `1` for Day 1, `2` for Day 2, and so on).\n\n### Example:\n\nTo run the solution for **Day 1**, you can use:\n\n`npm start 1`\n\nThis will execute the code in `src/day1/index.js`.\n\n## Testing\n\nTo run the tests for the solutions, use Jest. You can run the tests with:\n\n`npm test`\n\nAlternatively, you can run specific tests with:\n\n`npx jest \u003ctest-name\u003e`\n\n## Folder Structure\n```\nadvent-of-code2024/\n├── src/\n│   ├── day1/\n│   │   |── index.js         # Solution for Day 1\n|   |   └── input.txt        # Input file for Day 1\n│   ├── day2/\n│   │   └── index.js         # Solution for Day 2\n|   |   └── input.txt        # Input file for Day 2\n│   |── ...\n│   ├── utils.js             # Utility functions (e.g., input parsing)\n├── run.js                   # Script to launch solutions for specific days\n├── package.json             # Project configuration\n├── test/\n│   ├── day1.test.js         # Jest tests for Day 1\n│   └── ...\n└── README.md                # This file\n└── LICENSE                  # License\n```\n\n## License\n\nThis project is licensed under the ISC License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidebrognoli%2Fadventofcode2024","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidebrognoli%2Fadventofcode2024","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidebrognoli%2Fadventofcode2024/lists"}