Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maelvls/mc-status
CLI for pinging your server and showing that as a web page.
https://github.com/maelvls/mc-status
Last synced: 26 days ago
JSON representation
CLI for pinging your server and showing that as a web page.
- Host: GitHub
- URL: https://github.com/maelvls/mc-status
- Owner: maelvls
- Created: 2024-03-31T19:08:11.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-03-31T19:23:01.000Z (7 months ago)
- Last Synced: 2024-05-02T02:04:21.590Z (6 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
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 /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
```