Skip to content

Latest commit

 

History

History

http-server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Docker Hub

Advent of Code HTTP API server

A HTTP server exposing an API to solve Advent of Code problems.

Solutions are implemented in Rust in the core crate and this crate uses the axum library to expose them over a HTTP API.

The HTTP API expects a POST to /solve/$YEAR/$DAY/$PART with the problem input as post body text. It can be invoked using curl as shown below:

curl -d 14 https://advent.fly.dev/solve/2019/1/1

A fredrikfornwall/advent-of-code-http-server Docker image which starts the server on port 8080 is also available on Docker Hub:

docker run -p 8080:8080 fredrikfornwall/advent-of-code-http-server