Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrmicky-fr/craftstats

Minecraft servers tracker built on Cloudflare Workers with Vue.js.
https://github.com/mrmicky-fr/craftstats

cloudflare-workers cloudflare-workers-kv developer-challenge minecraft scaleway-serverless

Last synced: 2 months ago
JSON representation

Minecraft servers tracker built on Cloudflare Workers with Vue.js.

Awesome Lists containing this project

README

        

# CraftStats

[![Node.js CI](https://github.com/MrMicky-FR/CraftStats/actions/workflows/tests.yml/badge.svg)](https://github.com/MrMicky-FR/CraftStats/actions/workflows/tests.yml)

Minecraft servers tracker built on [Cloudflare Workers](https://workers.cloudflare.com/) with [Vue.js](https://vuejs.org/).

You can see it live on [craftstats.net](https://craftstats.net)

![Screenshot](screenshot.png)

## Features

* Fast, it's running on more than 300 datacenters worldwide thanks to the power of [Cloudflare Workers](https://workers.cloudflare.com/)
* Historical players count of the last months
* Fully responsive
* UI to edit servers
* Minecraft: Bedrock Edition support

## Installation

* Install [Wrangler CLI](https://developers.cloudflare.com/workers/cli-wrangler/install-update)
* Install dependencies with `npm install`
* Copy `wrangler.example.toml` to `wrangler.toml`
* Create a KV namespace named `KV_SERVERS` and add its id in the `wrangler.toml`
* Build the Vue.js frontend with `cd frontend && npm install && npm run build`
* Publish to Workers with `workers publish`

### Edit servers list

* Add an edit token in the `wrangler.toml` by editing the value of `SERVERS_EDIT_TOKEN`
* Go on `/editor` and change servers
* Enter the token and save

## Credits

CraftStats is inspired by [MineStats](https://github.com/nathan818fr/minestats) (by [nathan818](https://github.com/nathan818fr)),
which is unfortunately no longer maintained today.