System for observing Discord servers and their membership.
Live: discord.pinkstack.com - Slovenian Discord Servers
- Please use devenv for development with Scala CLI.
- All the "tasks" are written in
justfileand can be run with just command runner. - System uses the latest JVM/JDK 25, ZIO, ZIO HTTP, HTMX and Scala 3.x
- Get familiar with Discord API, especially around Invite Resource.
Build a Docker image with the help of just in justfile:
just docker-build
docker run --rm \
-e JAVA_OPTS="--sun-misc-unsafe-memory-access=allow --enable-native-access=ALL-UNNAMED " \
-v ${PWD}/servers.yml:/tmp/servers.yml \
-p 8081:8081 \
-p 8082:8082 \
discodigg/discodigg:`cat VERSION` -- server \
--refresh-interval=PT360S ./tmp/servers.yml
Port 8081 is for the UI, and port 8082 is for serving Prometheus metrics.
There is also a Kubernetes deployment in the k8s folder.