Skip to content

Rettend/aoc-2024

Repository files navigation

aoc-2024

Advent of Code 2024 solutions in TypeScript using Bun.

Progress

M T W T F S S

1
⭐⭐

2
⭐⭐

3
⭐⭐

4
⭐⭐

5
⭐⭐

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

Setup

Set up your session token:

  • Get your session token from Advent of Code (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:

bun run setup <day>

To run solutions:

bun run run <day>     # Run with puzzle input
bun run run <day> -s  # Run with test input (smol.txt)

To submit solutions:

bun run submit1 <day> # Submit part 1 solution
bun run submit2 <day> # Submit part 2 solution

About

2024 Advent of Code in TypeScript

Topics

Resources

Stars

Watchers

Forks

Sponsor this project