How nisheri-ascar/kurisu works
Kurisu is a Discord bot for starting and checking a Minecraft server that may be shut down when idle. A user invokes the server start command; the bot launches the configured start script, checks a local remote-shell endpoint, then checks public Minecraft-server availability and reports progress. The bot also exposes a server-status command and serves a small website. The startup script and remote-shell implementation are not present in the tree, so their internals are not mapped.
Main entry points: start_remote.py Start orchestration · minecraft.py Minecraft commands · main.py Bot entry point · server_status.py Status checker
Components 14
Discord interface
- Bot entry point
main.py - Minecraft commands
cogs/minecraft.py - Runtime config
config.py
Server startup
- Start orchestration
backend_interaction/start_remote.py - Script launcher
script_handler.py - Progress formatting
styling.py
Availability checks
- Status checker
server_status.py
Web serving
- Static HTTP server
dummy_http.py - Website files
website/index.html
Other components
- Discord user
- Discord platform
- Server start script
- Remote shell
- Minecraft server
Connections 14
- Discord user → Discord platform: invokes commands
- Discord platform → Minecraft commands: dispatches commands
- Bot entry point → Minecraft commands: loads extension
- Bot entry point → Runtime config: reads settings
- Minecraft commands → Start orchestration: starts server
- Minecraft commands → Status checker: checks status
- Start orchestration → Script launcher: launches script
- Script launcher → Server start script: runs
- Start orchestration → Remote shell: checks HTTP
- Start orchestration → Status checker: checks availability
- Status checker → Minecraft server: queries status
- Start orchestration → Progress formatting: formats progress
- Bot entry point → Static HTTP server: starts thread
- Static HTTP server → Website files: serves files