https://github.com/rettend/aoc-2024
2024 Advent of Code in TypeScript
https://github.com/rettend/aoc-2024
aoc aoc-2024 aoc-2024-in-typescript
Last synced: 2 months ago
JSON representation
2024 Advent of Code in TypeScript
- Host: GitHub
- URL: https://github.com/rettend/aoc-2024
- Owner: Rettend
- Created: 2023-11-26T16:05:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-05T10:57:25.000Z (6 months ago)
- Last Synced: 2025-01-18T23:41:53.097Z (4 months ago)
- Topics: aoc, aoc-2024, aoc-2024-in-typescript
- Language: TypeScript
- Homepage:
- Size: 124 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aoc-2024
Advent of Code 2024 solutions in TypeScript using Bun.
## Progress
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
|||||||[1](./src/day01/index.ts)
|
⭐⭐
|[2](./src/day02/index.ts)
|
⭐⭐[3](./src/day03/index.ts)
|
⭐⭐[4](./src/day04/index.ts)
|
⭐⭐[5](./src/day05/index.ts)
|
⭐⭐[6](./src/day06/index.ts)
|[7](./src/day07/index.ts)
|[8](./src/day08/index.ts)
|
|[9](./src/day09/index.ts)
|[10](./src/day10/index.ts)
|[11](./src/day11/index.ts)
|[12](./src/day12/index.ts)
|[13](./src/day13/index.ts)
|[14](./src/day14/index.ts)
|[15](./src/day15/index.ts)
|
|[16](./src/day16/index.ts)
|[17](./src/day17/index.ts)
|[18](./src/day18/index.ts)
|[19](./src/day19/index.ts)
|[20](./src/day20/index.ts)
|[21](./src/day21/index.ts)
|[22](./src/day22/index.ts)
|
|[23](./src/day23/index.ts)
|[24](./src/day24/index.ts)
|[25](./src/day25/index.ts)
|||||## Setup
Set up your session token:
- Get your session token from [Advent of Code](https://adventofcode.com/) (check your browser cookies)
- Create a `.env` file in the root directory
- Add your session token: `SESSION=your_session_token_here`## Usage
To set up a new day's challenge:
```bash
bun run setup
```To run solutions:
```bash
bun run run # Run with puzzle input
bun run run -s # Run with test input (smol.txt)
```To submit solutions:
```bash
bun run submit1 # Submit part 1 solution
bun run submit2 # Submit part 2 solution
```