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-15 21:32:23 +01:00
.github Remove TESTING environment variable from Docker workflow 2026-02-15 21:26:32 +01:00
.vscode Update Dockerfile and settings for user permissions, add test URL patterns, and adjust volume paths 2026-02-15 20:52:08 +01:00
config Update Dockerfile and settings for user permissions, add test URL patterns, and adjust volume paths 2026-02-15 20:52:08 +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 Use SQLite when testing 2026-02-15 19:59:52 +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 Update Dockerfile and settings for user permissions, add test URL patterns, and adjust volume paths 2026-02-15 20:52:08 +01:00
Dockerfile Update Dockerfile and settings for user permissions, add test URL patterns, and adjust volume paths 2026-02-15 20:52:08 +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 pytest-randomly to dev dependencies and sort them alphabetically 2026-02-15 21:32:23 +01:00
README.md Implement dataset functionality with views, URLs, and management command 2026-02-10 16:47:54 +01:00
start.sh Refactor database configuration to support PostgreSQL, add GIN index for operation_names, and enhance backup functionality 2026-02-13 23:27:18 +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"