Skip to content

fhlmorrison/AOC2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aoc-2024

Advent of Code 2024 solved with typescript using the bun runtime.

Installation

To install dependencies:

bun install

Running

To run:

bun run day "<day_number_>"

Test data goes in testdata/<day_number>.txt. Real data goes in testdata/<day_number>.txt.

Fetching Input Data

To fetch input from website, put your session cookie in .env:

AOC_SESSION="<session_key>"

Make sure to not include "session=" in the key

You can then use this to load input data:

bun run load "<day_number>"

Generateing Solution Files

To generate a new solution file, run

bun run new "<day_number>"

To change the template, edit solutions/0.ts

About

Advent of Code 2024 solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors