A gRPC server exposing an API to solve Advent of Code problems.
Solutions are implemented in Rust in the core crate and this crate uses the Tonic library to expose them over gRPC.
- Server URL:
advent-grpc.fly.dev:443
- Schema: proto/advent.proto
The service has gRPC reflection enabled and can be invoked using grpcurl as shown below:
grpcurl \
-d '{"year": 2019, "day": 1, "part": 1, "input": "12334"}' \
advent-grpc.fly.dev:443 \
advent.Solver/Solve
A client UI can be shown using grpcui:
grpcui advent-grpc.fly.dev:443
A fredrikfornwall/advent-of-code-grpc-server Docker image which starts the server on port 50051 is available on Docker Hub:
docker run -p 50051:50051 fredrikfornwall/advent-of-code-grpc-server