From 40e3c65a5bd2e803d9171073a232ad1f82bdbc74 Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Wed, 29 Nov 2023 16:02:54 +0100 Subject: [PATCH] readme --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 201a4c4..7fd2bbb 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,18 @@ New "days" are generated with [`hygen`](https://github.com/jondot/hygen). This w # First time setup bun i -# Put the Advent of Code token into .env +# Put the Advent of Code token into .env (details below) # Generate day bun run gen --year 2022 --day 1 ``` +> Extracting the Advent of Code cookie +> +> 1. Navigate to https://adventofcode.com/ and login. +> 2. Open dev tools and copy the cookie named `session`. +> 3. save `TOKEN=` to `.env`. + ## Languages Below are instructions for the specific handling of each language included.