Get notified when a new drop is available on Twitch or Kick https://ttvdrops.lovinator.space/
  • Python 82.5%
  • HTML 17.1%
  • XSLT 0.4%
Find a file
2026-02-12 21:29:17 +01:00
.github Refactor HTML 2026-02-11 03:14:04 +01:00
.vscode Refactor pagination to support multiple pagination links 2026-02-12 04:22:01 +01:00
config Update logging configuration to set INFO level for general logs and DEBUG for specific loggers 2026-02-12 05:02:01 +01:00
static Add Docker support; add favicon 2026-01-09 20:28:28 +01:00
templates Add support for modern image formats (WebP and AVIF) and implement image conversion commands 2026-02-12 21:29:17 +01:00
twitch Add support for modern image formats (WebP and AVIF) and implement image conversion commands 2026-02-12 21:29:17 +01:00
.dockerignore Add Docker support; add favicon 2026-01-09 20:28:28 +01:00
.env.example Archive Twitch chat badges 2026-01-16 00:28:25 +01:00
.gitignore Remove uv.lock 2026-02-07 13:58:03 +01:00
.pre-commit-config.yaml Add Silk middleware and related settings for performance monitoring 2026-02-09 20:02:19 +01:00
docker-compose.yml Fix volume path in Dockerfile and update docker-compose.yml for environment variables and network configuration 2026-01-09 21:18:11 +01:00
Dockerfile Remove --locked option from uv sync in Dockerfile and workflow 2026-02-10 04:48:23 +01:00
example.json Add DropCampaign image fallback logic and update templates for best image URL 2026-02-12 02:50:10 +01:00
manage.py Add and use pre-commit hooks 2025-11-28 04:44:07 +01:00
pyproject.toml Add image dimensions to models, and add backfill command 2026-02-12 04:56:42 +01:00
README.md Implement dataset functionality with views, URLs, and management command 2026-02-10 16:47:54 +01:00
start.sh Add Docker support; add favicon 2026-01-09 20:28:28 +01:00

ttvdrops

Get notified when a new drop is available on Twitch

Development

uv run python manage.py createsuperuser
uv run python manage.py makemigrations
uv run python manage.py migrate
uv run python manage.py collectstatic
uv run python manage.py runserver
uv run pytest

Import Drops

uv run python manage.py better_import_drops <file|dir> [--recursive] [--verbose] [--crash-on-error] [--skip-broken-moves]

Import Chat Badges

Import Twitch's global chat badges for archival and reference:

uv run python manage.py import_chat_badges

Requires TWITCH_CLIENT_ID and TWITCH_CLIENT_SECRET environment variables to be set.

Create DB Backup

Create a zstd-compressed SQL dump (only twitch_ tables) in the datasets directory:

uv run python manage.py backup_db

Optional arguments:

uv run python manage.py backup_db --output-dir "<path>" --prefix "ttvdrops"