- Python 3.8+
- A Discord bot token
- A valid Space API endpoint
- Channel ID Number
- Required Python dependencies (see
pyproject.toml) - Poetry
git clone https://github.com/hs3city/glider
cd gliderpython -m venv venv
source venv/bin/activatepoetry installCreate a .env file or export these variables:
export DISCORD_TOKEN='your-discord-bot-token'
export SPACE_ENDPOINT='https://your-space-api-endpoint.com/'
export DISCORD_CHANNEL_ID='your-discord-channel-id'python bot.pyOr with poetry:
poetry run python bot.pyA Dockerfile is included for containerized deployment.
docker build -t glider .docker run -e DISCORD_TOKEN='discord-bot-token' \
-e SPACE_ENDPOINT='https://your-space-api-endpoint.com/' \
-e DISCORD_CHANNEL_ID='your-discord-channel-id' \
gliderres/glider_closed.png&res/glider_open.png: Bot avatars for different statuses.poetry.lock: Python dependencies.ruff.toml: Linter configuration.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Submit a pull request.
This project is licensed under the terms of the MIT.