Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 2.09 KB

README.md

File metadata and controls

45 lines (32 loc) · 2.09 KB

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