Skip to content
/ api Public

API for MCJars, powered by Hetzner Cloud and PostgreSQL.

License

Notifications You must be signed in to change notification settings

mcjars/api

Repository files navigation

api - MCJars Minecraft Versions API

"mcvapi" is an api tool for retrieving Minecraft server versions. It allows you to easily download, install, and lookup Minecraft server versions. This is the api part that runs on 6 HA Hetzner VMs with 3 Load Balancers.

Features

  • Runs in Docker for high availability
  • Fast Reverse Hash Lookup (< 50ms)
  • Data is cached for fast repeated retrievals
  • Servers in Germany, Hillsboro (Oregon, US), and Ashburn (Virginia, US)
  • Blazingly 🔥 fast 🚀, written in 100% safe Rust. 🦀

Developing

To Develop on this api tool, you need to install all required dependencies

git clone https://github.com/mcjars/api.git api

cd api

# make sure to have nodejs and rustup (cargo) installed already
cargo build

# fill out the config
cp .env.example .env

# after filling out the config
cd database
npm i -g pnpm
pnpm i

pnpm kit migrate
cd ..

# start the dev server on port 8000
cargo run

Note

NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.

About

API for MCJars, powered by Hetzner Cloud and PostgreSQL.

Resources

License

Stars

Watchers

Forks

Languages