Skip to content

Dsek-LTH/whitelist

Repository files navigation

Whitelist

This is a web app and service allowing users to whitelist themselves on our Minecraft server. Users sign in using their D-sek account and can then connect their Minecraft username, which is checked against Mojangs public API. Every ten minutes, the service creates a whitelist.json file, which can be synced into the server folder of the Minecraft server using cron.

builtwith svelte daisy typescript drizzle zod

using node pnpm docker

Usage

Create a .env file, following the example values in the .env.example file.

The output file is written to ./output/whitelist.json

Developing

Once you've created a project and installed dependencies with pnpm install, start a development server:

pnpm dev

Building and deploying

In production, the web app runs in a Docker (Podman) container. To build an image, use the followning command.

docker build .

This can then be pushed to our image repo.

About

Web app allowing users to whitelist themselves on our Minecraft server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published