{"id":16246433,"url":"https://github.com/thejoefin/aoc","last_synced_at":"2025-04-08T11:45:15.526Z","repository":{"id":210763423,"uuid":"727300757","full_name":"TheJoeFin/AoC","owner":"TheJoeFin","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-25T03:40:13.000Z","size":65,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T15:57:41.981Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheJoeFin.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":"2023-12-04T15:35:42.000Z","updated_at":"2023-12-04T21:51:41.000Z","dependencies_parsed_at":"2023-12-11T16:43:45.743Z","dependency_job_id":null,"html_url":"https://github.com/TheJoeFin/AoC","commit_stats":null,"previous_names":["thejoefin/aoc"],"tags_count":0,"template":false,"template_full_name":"eduherminio/AdventOfCode.Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheJoeFin%2FAoC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheJoeFin%2FAoC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheJoeFin%2FAoC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheJoeFin%2FAoC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheJoeFin","download_url":"https://codeload.github.com/TheJoeFin/AoC/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247838416,"owners_count":21004575,"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-10T14:30:58.843Z","updated_at":"2025-04-08T11:45:15.495Z","avatar_url":"https://github.com/TheJoeFin.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AdventOfCode.Template\n\n![CI](https://github.com/eduherminio/AdventOfCode.Template/workflows/CI/badge.svg)\n\nAdvent of Code template based on [AoCHelper](https://github.com/eduherminio/AoCHelper) project.\n\nIt allows you to focus on solving AoC puzzles while providing you with some performance stats.\n\nProblem example:\n\n```csharp\nusing AoCHelper;\nusing System.Threading.Tasks;\n\nnamespace AdventOfCode;\n\npublic class Day_01 : BaseDay\n{\n    public override ValueTask\u003cstring\u003e Solve_1() =\u003e new(\"Solution 1\");\n\n    public override ValueTask\u003cstring\u003e Solve_2() =\u003e new(\"Solution 2\");\n}\n\n```\n\nOutput example:\n\n![aochelper](https://user-images.githubusercontent.com/11148519/142051856-16d9d5bf-885c-44cd-94ae-6f678bcbc04f.gif)\n\n## Basic usage\n\n- Create one class per advent day, following `DayXX` or `Day_XX` naming convention and implementing `AoCHelper.BaseDay`.\n- Place input files under `Inputs/` dir, following `XX.txt` convention.\n- Read the input content from `InputFilePath` and solve the puzzle by implementing `Solve_1()` and `Solve_2()`!\n\n**By default, only your last problem will be solved when running the project**. You can change that by behavior by modifying `Program.cs`.\n\nInvoking **different methods**:\n\n- `Solver.SolveAll();` → solves all the days.\n\n- `Solver.SolveLast();` → solves only the last day.\n\n- `Solver.Solve\u003cDay_XX\u003e();` → solves only day `XX`.\n\n- `Solver.Solve(new uint[] { XX, YY });` → solves only days `XX` and `YY`.\n\n- `Solver.Solve(new [] { typeof(Day_XX), typeof(Day_YY) });` → same as above.\n\nProviding a **custom `Action\u003cSolverConfiguration\u003e`** to any of those methods ([availabe options described here](https://github.com/eduherminio/AoCHelper#customization)):\n\n- `Solver.SolveLast(opt =\u003e opt.ClearConsole = false);` → solves only the last day providing a custom configuration.\n\n-\n    ```csharp\n    Solver.SolveAll(opt =\u003e\n    {\n        opt.ShowConstructorElapsedTime = true;\n        opt.ShowTotalElapsedTimePerDay = true;\n        opt.ElapsedTimeFormatSpecifier = \"F3\";\n    });\n    ```\n    solves all the days providing a custom configuration.\n\n## Advanced usage\n\nCheck [AoCHelper README file](https://github.com/eduherminio/AoCHelper#advanced-usage) for detailed information about how to override the default file naming and location conventions of your problem classes and input files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthejoefin%2Faoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthejoefin%2Faoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthejoefin%2Faoc/lists"}