Giter Site home page Giter Site logo

dorkarn02 / minecraft-server-status Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 703 KB

Express.js / React.js minecraft server status checker application

JavaScript 14.63% Shell 0.82% HTML 7.74% TypeScript 76.81%
axios chakra-ui express minecraft-server-util react cors react-html-parser

minecraft-server-status's Introduction

Minecraft server status checker in React and Express

Project description

This is a small full-stack web application where you can check the status of a minecraft server by providing the host and port number. The backend is depending on minecraft-server-util package.

Backend API

Example API call:

GET localhost:8080/api/?host=mc.example.com?port=25565

Example API result:

{
    "version": {
        "name": "Requires MC 1.8 / 1.19",
        "protocol": 47
    },
    "players": {
        "online": 67628,
        "max": 100000,
        "sample": []
    },
    "motd": {
        "raw": "§f                §aHypixel Network §c[1.8-1.19]§f\n          §c§lHOLIDAY SALE §7| §b§lUP TO §f§l85% §b§lOFF!",
        "clean": "                Hypixel Network [1.8-1.19]\n          HOLIDAY SALE | UP TO 85% OFF!",
        "html": "<span><span style=\"color: #FFFFFF;\">                </span><span style=\"color: #55FF55;\">Hypixel Network </span><span style=\"color: #FF5555;\">[1.8-1.19]</span><span style=\"color: #FFFFFF;\">\n          </span><span style=\"color: #FF5555; font-weight: bold;\">HOLIDAY SALE </span><span style=\"color: #AAAAAA;\">| </span><span style=\"color: #55FFFF; font-weight: bold;\">UP TO </span><span style=\"color: #FFFFFF; font-weight: bold;\">85% </span><span style=\"color: #55FFFF; font-weight: bold;\">OFF!</span></span>"
    },
    "favicon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEA...",
    "srvRecord": null,
    "roundTripLatency": 158
}

Frontend preview

image

minecraft-server-status's People

Contributors

dorkarn02 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.