https://github.com/warningimhack3r/advent-of-code
My attempts on adventofcode.com
https://github.com/warningimhack3r/advent-of-code
advent-of-code advent-of-code-2022 advent-of-code-2023 advent-of-code-2024 advent-of-code-2025 aoc-2024-in-kotlin golang typescript
Last synced: 2 months ago
JSON representation
My attempts on adventofcode.com
- Host: GitHub
- URL: https://github.com/warningimhack3r/advent-of-code
- Owner: WarningImHack3r
- License: mit
- Created: 2022-12-12T21:20:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-04-03T12:54:06.000Z (3 months ago)
- Last Synced: 2026-04-03T17:28:39.386Z (3 months ago)
- Topics: advent-of-code, advent-of-code-2022, advent-of-code-2023, advent-of-code-2024, advent-of-code-2025, aoc-2024-in-kotlin, golang, typescript
- Language: Kotlin
- Homepage: https://adventofcode.com
- Size: 288 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code
Code of my attempts on [adventofcode.com](https://adventofcode.com)
## Languages
- [2022](2022): TypeScript
- [2023](2023): Go
- [2024](2024): Kotlin
## Code structure and inputs
- Each year is in its respective folder
- Run the `inputs_downloader.py` script to automatically download your current's year puzzle inputs
- **The script requires your `session` token (available from the website's cookies storage), stored as `SESSION_TOKEN` in a `.env` file at the project's root**
- Run `python3 -m pip install -r requirements.txt` before first execution
- It only downloads *available* inputs (won't try to download a still locked puzzle input) if the current month is December, else it's going to ask you the year you want
- Also, it won't re-download an already existing input file
- Inputs will be placed under `[year]/inputs/input[day].txt`
## Tips for TypeScript years
- Command to run any `day[day].ts` code: `pnpm start -- /path/to/day[day].ts`
- Use the alternative `pnpm run watch [...]` command to rerun the file automatically after each change