A server for the Comments Preview mod.
Either make a docker-compose.yml file (based on the example):
cp docker-compose.example.yml docker-compose.yml
nano docker-compose.yml # or your text editor of choice
docker compose up # or with --build to update
# to stop the server, run
docker compose down...or create a docker container using your Docker UI of choice (Portainer, Pelican, Docker Desktop, etc.), and point
it to the image at ghcr.io/undefined06855/comments-preview-server:latest, providing the environment variables below
...or run bun i && bun main to start, which requires the following environment variables (set either through a .env
file or manually set):
PORT=8080 # defaults to 80
DEVELOPMENT=true # defaults to false
BOOMLINGS_ENDPOINT=https://www.boomlings.com/database/getGJComments21.php # defaults to boomlings
BOOMLINGS_AUTH=whatever # optional, gets passed as the Authorization header to the endpoint
# for optional telemetry, see https://umami.is/ or https://docs.umami.is/docs/api
UMAMI_ENDPOINT=https://your-umami-instance/api
UMAMI_HOSTNAME=
UMAMI_WEBSITE_ID=If you don't have a whitelisted proxy set up and you are using the vanilla boomlings.com endpoint, it is likely that you will be rate limited very quickly!
This project was created using bun init in bun v1.3.12. Bun is a fast all-in-one JavaScript runtime.