0.0.14 • Published 5 months ago
@nguyenhuu/adventofcode v0.0.14
Advent of Code
Get started
Save your session
cookie into .env
file in the root folder as below:
SESSION=f8fe3ed61...
The
session
cookie can be found in Developer Tools > Application tab > Cookies >https://adventofcode.com
, of course, we need to log in to have it.
Start solving problems
npx @nguyenhuu/adventofcode@latest -d <day> -p <part> -y <year> -l <language>
Example:
npx @nguyenhuu/adventofcode@latest -d 1 -p 1 -y 2023 -l python
The folder structure would be:
current
├── 2023
│ └── day1
│ ├── sample.txt
│ └── part1.py
└── .env
Hot keys
- s : Using sample.txt as input
- i : Using input.txt as input
- u : Submit the most recent result
- 0 -> 9 : Select part
- c : Clear terminal
- q : Quit program
- x : Terminate solution
- Enter : Re-run solution
- h : Show helps
Supported languages
Need an installed runtime!
- Javascript
.mjs
- Python
.py
- Golang
.go
- Java
.java
0.0.13
5 months ago
0.0.14
5 months ago
0.0.12
5 months ago
0.0.11
5 months ago
0.0.10
5 months ago
0.0.9
5 months ago
0.0.8
5 months ago
0.0.7
5 months ago
0.0.6
5 months ago
0.0.5
5 months ago
0.0.4
5 months ago
0.0.3
5 months ago
0.0.3-build-3
5 months ago
0.0.3-build-2
5 months ago
0.0.3-build-1
5 months ago
0.0.2
5 months ago
0.0.1
5 months ago