Skip to content
Public template

About

An advent of code boilerplate using Elixir

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

Advent of code for elixir

work in progress, but you can fork and use it as you like. I wanted something ready for me to use for the first day of AoC. I'll keep improving it as I go.

Prepare the environment

Install deps

mix deps.get

Create the env file

touch .env

Add the session cookie in the .env file

echo "AOC_SESSION=your_session_cookie" > .env

Run the tasks

Fetch the input, description and setup the solution

# mix run download YEAR DAY
mix setup 2024 1

Run the solution

# mix run solve YEAR DAY PART
mix solve 2024 1 1

Run and submit the solution

mix solve 2024 1 1 --submit # or -s

Contributing

Yes, please

About

An advent of code boilerplate using Elixir

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages