A Discord bot that displays Uptime Kuma service statuses in a Discord channel.
- Real-time service status monitoring from Uptime Kuma's API
- Minimal and detailed view options
- Automatic status updates
- Restricted to server owners
- Persistent storage of status message info using SQLite
The project uses a Makefile for building and packaging:
# Build the binary
make build
# Build with compression (requires UPX)
make compress
# Create a Debian package with compression
make deb COMPRESS=1
# Create a tarball with compression
make tarball COMPRESS=1
# Install system-wide
make install
# Install for current user
make user-installThe binary will be created in the project directory, while packages and archives will be placed in the build directory.
- Create a Discord bot and get its token
- Look at config.yaml.example for configuration details and create a
config.yamlfile with your settings. - Run the bot:
./kuma-disgoYou can specify a custom config file path using the -c or --config flag:
./kuma-disgo -c /path/to/your/config.yaml/status [view:minimal|detailed]- Show service statuses (restricted to server owners)
- 🟢 Up
- 🔴 Down
- 🟡 Pending
- 🔵 Maintenance
- ⚪ Unknown
The bot uses SQLite to store status message info, allowing for persistent storage across restarts. The database file (status.db) is created in the same directory as the config.yaml file.
This project is licensed under the MIT License - see the LICENSE file for details.
