A lightweight and minimalistic status page written in Go
- Go 55.4%
- HTML 33.8%
- Shell 7.6%
- Makefile 3.2%
| .forgejo/workflows | ||
| assets | ||
| config | ||
| services | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| index.html | ||
| LICENSE | ||
| main.go | ||
| Makefile | ||
| README.md | ||
| server.go | ||
| template.go | ||
Status
A lightweight and minimalistic status page written in Go.
Configuration
To run the service, you need to create a configuration file named config.toml
Example:
title = "title" # title in the page header (required)
description = "description" # description in the page header (required)
icon = "link of a icon" # icon in the page header (optional, default : https://placehold.co/600x400)
interval = 2 # checking interval, in seconds (optional, default : 2)
port = 3333 # listening port (optional, default : 3333)
[[service]]
name = "Forgejo" # name of the service (required)
url = "https://git.oriondev.fr" # url of the service, used in checking requests (required)
show_url = true # use hyperlink on the service's name (optional, default: false)
Supported protocols
http/https: Web pages can be pinged by statusminecraft: Minecraft server can be pinged by status. You can add a minecraft server with a URL like this :mc://<address>:<port>
Message
You can add a message to your page with adding a "message.txt" in the directory. This modification doesn't need a restart.
Command Line Options
Usage
status [options]
Options
--port/-p<port>: Listening port--interval/-i<interval>: Checking interval (in seconds)
Installation
Alpine Linux
These commands need to be run as root.
echo "https://git.oriondev.fr/api/packages/orion/alpine/stable/master" >> /etc/apk/repositories
cd /etc/apk/keys/
curl -JO https://git.oriondev.fr/api/packages/orion/alpine/key
apk update
apk add status
rc-update add status default
rc-service status start
Other
git clone https://git.oriondev.fr/orion/status.git
cd status
make build
cp bin/status /usr/bin
License
This project uses MIT License.