- Python 68.9%
- HTML 20.9%
- CSS 6.9%
- JavaScript 3.1%
- Dockerfile 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .forgejo/workflows | ||
| base | ||
| contrib | ||
| docs | ||
| fellowships | ||
| gatherings | ||
| locale/de/LC_MESSAGES | ||
| mail_queue | ||
| profiles | ||
| QuestBoard | ||
| rpgs | ||
| static | ||
| templates | ||
| .dockerignore | ||
| .env.docker.example | ||
| .env.example | ||
| .gitignore | ||
| .python-version | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| docker-compose.yml | ||
| docker-entrypoint.sh | ||
| Dockerfile | ||
| manage.py | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
QuestBoard
QuestBoard is a lightweight Django scheduling app for tabletop RPG gatherings. It supports anonymous gathering polls with public participation links and private admin links, optional registered game-master accounts, Discord webhook notifications, email notifications, and Celery background jobs.
Stack
- Python 3.12 managed with
uv - Django 6
- PostgreSQL via
POSTGRES_*environment variables - Celery with Redis
- HTMX, vanilla JavaScript, Bootstrap CSS
- Local static assets only, no CDN references in templates
Local Setup
Create the database and Redis service however you prefer, then configure the app:
cp .env.example .env
uv sync
uv run python manage.py migrate
uv run python manage.py createsuperuser
uv run python manage.py runserver
For a quick SQLite-only smoke test:
USE_SQLITE=True uv run python manage.py test
Container publishing and deployment
Pushing to main runs the Forgejo Action in .forgejo/workflows/publish-image.yml.
It publishes lorebase.eu/sven/questboard with both latest and the commit SHA;
it never deploys the application. Configure the repository Action secret
REGISTRY_TOKEN with permission to publish packages before the first push.
Deployments are deliberately manual on the server:
ssh -p 33161 sven@jaar.nimbostratus.de
cd /home/sven/deployments/questboard
./deploy.sh [commit-sha]
Omit the optional commit SHA to deploy latest. The deployment directory's
.env must define FORGEJO_TOKEN with package-read access. REGISTRY_USER
defaults to sven and can be overridden when the token belongs to another
Forgejo account.
Background Jobs
Run a Celery worker:
uv run celery -A QuestBoard worker -l info
Run Celery beat for scheduled deadline and reminder processing:
uv run celery -A QuestBoard beat -l info
The configured periodic tasks are:
gatherings.tasks.process_registration_deadlinesgatherings.tasks.send_due_reminders
Application Areas
base: landing page, imprint, privacy policyprofiles: customprofiles.User, profile editing, profile detail, anonymous gathering claiminggatherings: gathering polls, anonymous participation, admin/public hash URLs, notification services, Celery tasks
Notes
- Production should set a real
SECRET_KEY,ALLOWED_HOSTS, email backend, PostgreSQL settings, and Redis URL. - The imprint and privacy templates are placeholders and must be replaced before public deployment.
- Discord webhook calls are isolated in
gatherings.services.NotificationServiceso additional providers can be added without changing views. - RPG catalog curation and the Wikimedia Attention Index are documented in docs/rpg-catalog.md.