- 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 glider
python -m venv venv
source venv/bin/activate
poetry install
Create 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.py
Or with poetry
:
poetry run python bot.py
A 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' \
glider
res/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.