Skip to content

A discord webhook for a private Advent of Code leaderboard

Notifications You must be signed in to change notification settings

jakobkordez/aoc-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code Discord Webhook

Originally by Martin Hanzlowsky

Updated by Matic Babnik

Enviromental variables

Supports .env files.

WEBHOOK_URL=...
LEADERBOARD_ID=...
SESSION_ID=...

Setup

Simple

# Install dependencies
yarn

# Build
yarn build

# Start
yarn start

Docker

# Build image
docker build -t aoc-webhook .

# Run
docker run -d --name aoc-webhook aoc-webhook