⏺️ Comprehensive media tracker
  • Python 71.4%
  • HTML 28.2%
  • Dockerfile 0.3%
  • Shell 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Camila eaedf0733a
All checks were successful
Push Docker Image / push (push) Successful in 2m5s
chore(deps): update Pillow to 13.0.0 and Django to 6.0.10
2026-11-23 22:19:22 +01:00
.forgejo/workflows Cache CI dependencies and build layers with scoped keys 2026-10-17 08:19:59 +02:00
api Authenticate exclusively through Thermopylae (#7) 2026-10-16 20:14:03 +02:00
dome fix(auth): trust reverse proxy X-Forwarded-Proto for HTTPS OIDC callback 2026-10-16 20:22:04 +02:00
entities Authenticate exclusively through Thermopylae (#7) 2026-10-16 20:14:03 +02:00
integrations style: Improve TailwindCSS styles 2026-08-14 16:02:19 +02:00
tracking Authenticate exclusively through Thermopylae (#7) 2026-10-16 20:14:03 +02:00
users fix(auth): trust reverse proxy X-Forwarded-Proto for HTTPS OIDC callback 2026-10-16 20:22:04 +02:00
.env.example Authenticate exclusively through Thermopylae (#7) 2026-10-16 20:14:03 +02:00
.gitignore chore: Add .zed directory to .gitignore 2025-12-01 20:53:50 +01:00
AGENTS.md fix(auth): trust reverse proxy X-Forwarded-Proto for HTTPS OIDC callback 2026-10-16 20:22:04 +02:00
DESIGN.md fix(ui): keep api tokens table on screen at phone widths 2026-10-04 18:33:48 +02:00
docker-compose.yml build: Add RustFS to docker-compose.yml for easier dev setup 2026-02-23 18:25:37 +01:00
Dockerfile build(docker): Export requirements.txt on $BUILDPLATFORM and remove wheels 2026-05-12 13:26:32 +02:00
entrypoint.sh feat: Change branding to "Dome" 2026-01-04 13:23:47 +01:00
manage.py feat: Change branding to "Dome" 2026-01-04 13:23:47 +01:00
nub.lock style: Improve TailwindCSS styles 2026-08-14 16:02:19 +02:00
package.json style: Improve TailwindCSS styles 2026-08-14 16:02:19 +02:00
pyproject.toml chore(deps): update Pillow to 13.0.0 and Django to 6.0.10 2026-11-23 22:19:22 +01:00
README.md Authenticate exclusively through Thermopylae (#7) 2026-10-16 20:14:03 +02:00
uv.lock chore(deps): update Pillow to 13.0.0 and Django to 6.0.10 2026-11-23 22:19:22 +01:00

Dome

⏺️ Comprehensive media tracker

Dome is a comprehensive media tracking service designed to handle a diverse range of entities.

Install

You can set up Dome using Docker or run it locally.

Docker

To set up Dome using Docker, follow these steps:

  • Clone the repository and navigate to the project directory.
  • Run docker compose up to start all containers

Local

You can also choose to run the webapp locally:

  • Clone the repository and navigate to the project directory.
  • Run uv sync to install dependencies using uv

Environment

In both cases, you should use the .env.example file as a template for your environment variables. Copy it to .env and fill in the required values.

Usage

See entrypoint.sh for usage options.

Authentication

Dome keeps no passwords. The app and the Django Admin both sign in through Thermopylae (OpenID Connect, RS256, PKCE S256). Bearer API tokens from the API Tokens page keep working as before.

Variable Example Notes
OIDC_ISSUER https://thermopylae.marut.network Endpoints are derived from it
OIDC_CLIENT_ID dome Client ID of the Dome application
OIDC_CLIENT_SECRET — Shown once, when the application is created

Register Dome in Thermopylae's /admin with the redirect URI https://<dome-host>/oidc/callback/. Dome asks for the openid email profile roles scopes. Give a user the admin role under the Dome client to make them staff and superuser; roles are re-applied at every sign-in, so revoking it takes effect at the next one. Without these variables the app still builds and migrates (manage.py check warns users.W001), but nobody can sign in. Signing out ends the Dome session only, not the Thermopylae one.

Accounts are bound to Thermopylae's stable subject (sub), never to a username or email. Someone signing in for the first time gets a new account, with a username taken from their email's local part (-2, -3… is added on a collision). Dome usernames are public URLs and are never changed by sign-in.

Existing account. Migration users.0004 links the existing exler account to the Thermopylae account kamil@marut.network at https://thermopylae.marut.network, so OIDC_ISSUER must be exactly that issuer. No manual command is needed: deploy, migrate (before or after setting the OIDC variables), and the first verified sign-in with that email binds the account, keeping its tracking, avatar and API tokens. The migration does nothing on a database without exler or where exler is already linked, and stops with an error if that email is already linked to another account (delete that identity or stray account in the admin, then migrate again). Reversing it leaves the identity in place. To unlink, delete the Thermopylae identity on the user's admin page.

Development

In order to change the page's styles, you need to have Nub installed. Run nub run watch or nub run compile to compile TailwindCSS styles.