tubearchivist/backend
Caleb Rogers 3b2b8a46d0 Remove now unneeded ChannelAgg endpoint
And update frontend to format per new endpoint
2026-06-17 15:35:09 +02:00
..
appsettings Compute channel size and store on Channel document 2026-06-17 15:11:05 +02:00
channel Remove now unneeded ChannelAgg endpoint 2026-06-17 15:35:09 +02:00
common index names now variable (#1115) 2026-02-08 17:31:21 +07:00
config Add migration for channel size/count/duration 2026-06-17 15:20:00 +02:00
download Compute channel size and store on Channel document 2026-06-17 15:11:05 +02:00
playlist fix empty playlist desc serializer 2026-02-06 18:01:35 +07:00
stats limit log to debug only 2025-11-15 11:08:33 +07:00
task remove redundant thumbnail embed task 2025-12-28 11:44:52 +07:00
user Compute channel size and store on Channel document 2026-06-17 15:11:05 +02:00
video handle scientific timestamp string parsing 2026-02-06 11:31:51 +07:00
README.md add django app overview readme 2024-08-10 16:12:06 +02:00
manage.py renamed django app folder to backend 2024-08-03 21:58:22 +02:00
requirements.txt bump dependencies 2026-02-05 19:03:35 +07:00

README.md

Django Setup

Apps

The backend is split up into the following apps.

config

Root Django App. Doesn't define any views.

  • Has main settings.py
  • Has main urls.py responsible for routing to other apps

common

Functionality shared between apps.

Defines views on the root /api/* path. Has base views to inherit from.

  • Connections to ES and Redis
  • Searching
  • URL parser
  • Collection of helper functions

appsettings

Responsible for functionality from the settings pages.

Defines views at /api/appsettings/*.

  • Index setup
  • Reindexing
  • Snapshots
  • Filesystem Scan
  • Manual import

channel

Responsible for Channel Indexing functionality.

Defines views at /api/channel/* path.

download

Implements download functionality with yt-dlp.

Defines views at /api/download/*.

  • Download videos
  • Queue management
  • Thumbnails
  • Subscriptions

playlist

Implements playlist functionality.

Defines views at /api/playlist/*.

  • Index Playlists
  • Manual Playlists

stats

Builds aggregations views for the statistics dashboard.

Defines views at /api/stats/*.

task

Defines tasks for Celery.

Defines views at /api/task/*.

  • Has main tasks.py with all shared_task definitions
  • Has CustomPeriodicTask model
  • Implements apprise notifications links
  • Implements schedule functionality

user

Implements user and auth functionality.

Defines views at /api/config/*.

  • Defines custom Account model

video

Index functionality for videos.

Defines views at /api/video/*.

  • Index videos
  • Index comments
  • Index/download subtitles
  • Media stream parsing