Skip to content

CLI for pinging your server and showing that as a web page.

Notifications You must be signed in to change notification settings

maelvls/mc-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecrat Status Server

The mc-status CLI lets you know if your minecraft server is up. It also lets you create a server that shows that information.

Deploy

KO_DOCKER_REPO=ghcr.io/maelvls/mc-status KO_DEFAULTBASEIMAGE=alpine \
  ko build . --bare --tarball /tmp/out.tar --push=false
ssh remote /usr/local/bin/docker load </tmp/out.tar
ssh remote sh -lc bin/deploy-mc-status

with bin/deploy-mc-status:

docker container inspect mc-status >/dev/null 2>/dev/null && docker rm -f mc-status || true
docker run -d --restart=always --name mc-status -p 8081:8081 \
  serve -mc-host=foo

About

CLI for pinging your server and showing that as a web page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages