{"id":23709555,"url":"https://github.com/gianttreelp/aoc-kotlin","last_synced_at":"2026-02-06T06:30:20.942Z","repository":{"id":267174745,"uuid":"900452978","full_name":"GiantTreeLP/AOC-Kotlin","owner":"GiantTreeLP","description":"Advent of Code in Kotlin","archived":false,"fork":false,"pushed_at":"2025-02-12T20:51:35.000Z","size":230,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T21:34:06.646Z","etag":null,"topics":["aoc-2024-in-kotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":false,"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/GiantTreeLP.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-12-08T20:05:47.000Z","updated_at":"2025-02-12T20:51:38.000Z","dependencies_parsed_at":"2025-01-17T19:36:12.231Z","dependency_job_id":"34d73de5-5fb0-4257-9e63-baf0e0275149","html_url":"https://github.com/GiantTreeLP/AOC-Kotlin","commit_stats":null,"previous_names":["gianttreelp/aoc2024-kotlin","gianttreelp/aoc-kotlin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GiantTreeLP%2FAOC-Kotlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GiantTreeLP%2FAOC-Kotlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GiantTreeLP%2FAOC-Kotlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GiantTreeLP%2FAOC-Kotlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GiantTreeLP","download_url":"https://codeload.github.com/GiantTreeLP/AOC-Kotlin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239793069,"owners_count":19697893,"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":["aoc-2024-in-kotlin"],"created_at":"2024-12-30T18:57:02.206Z","updated_at":"2026-02-06T06:30:18.876Z","avatar_url":"https://github.com/GiantTreeLP.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AOC 2024 in Kotlin\n\n[![GitHub License](https://img.shields.io/github/license/GiantTreeLP/AOC2024-Kotlin?style=for-the-badge)](LICENSE)\n\n\nThis repository contains my solutions for the [Advent of Code](https://adventofcode.com/) puzzles in the Kotlin programming language. \n\n## Running the solutions\n\nThe solutions are organized by year and day. Each day has its own file, \nwhich contains the solution for both parts of the puzzle.\n\nThe boilerplate for new solutions is:\n\n```kotlin\npackage yearXXXX\n\nimport com.google.auto.service.AutoService\nimport common.AOCSolution\n\n@AutoService(AOCSolution::class)\nclass DayXX : AOCSolution {\n    override val year = XXXX\n    override val day = XX\n    \n    override fun part1(inputFile: String): String {\n        TODO(\"Solve part 1 here\")\n    }\n    \n    override fun part2(inputFile: String): String {\n        TODO(\"Solve part 2 here\")\n    }\n}\n```\n\nCommonly used functions, classes and extensions can be found in the `common` package.\n\nInput is expected to be in a file named `input` in the resources folder of the corresponding year and day.\nThe same goes for the sample input, which is expected to be in a file named `sample`.\nThe layout of the directories is as follows:\n```\n- src\n  - main\n    - kotlin\n      - year2024\n        - dayXX.kt\n      - resources\n        -yearXXXX\n          - dayXX\n            - input\n            - sample\n```\n\nTo run the solutions, simply run the `main` function of the [`common.Runner`](src/main/kotlin/common/runner.kt) file.\n\nDon't expect the code to be perfect, I'm trying to solve the puzzles in a way that is good enough for me.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgianttreelp%2Faoc-kotlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgianttreelp%2Faoc-kotlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgianttreelp%2Faoc-kotlin/lists"}