From fa8f6af721354ac30d8bccfe9a0c89e3467ad161 Mon Sep 17 00:00:00 2001 From: ponzischeme89 Date: Sat, 17 Jan 2026 23:05:02 +1300 Subject: [PATCH] readme tweaks --- README.md | 52 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 45 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 413ee2d..a999c8a 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,10 @@ # Sublogue -Sublogue is a small, fast tool for adding plot summaries and metadata to subtitle files. -Built in New Zealand for people who like tidy media libraries and clean viewing experiences. +Sublogue is a lightweight tool for adding plot summaries and metadata to subtitle files. -It takes an existing `.srt` file, fetches metadata from OMDb/TMDb and TVMaze, and inserts a short plot block at the start of the file — without touching any existing timings or shifting dialogue. +It takes an existing .srt, pulls data from OMDb, TMDb, and TVMaze, and inserts a short plot block at the start of the file — without altering any existing timings or dialogue. -If you’ve ever opened a movie and forgotten what it’s about, this fixes that. - ---- +If you’ve ever opened a movie or episode and thought “wait… what was this again?”, Sublogue quietly solves that. ## Features @@ -19,4 +16,45 @@ If you’ve ever opened a movie and forgotten what it’s about, this fixes that - Fast Python backend (Flask + aiohttp) - Docker image available through GHCR ---- \ No newline at end of file +## Docker Compose + +Create `data/` and `media/` folders next to the compose file, then run: + +```yaml +version: "3.9" +services: + sublogue: + image: ponzischeme89/sublogue:latest + container_name: sublogue + restart: unless-stopped + environment: + - TZ=Etc/UTC + - PUID=1000 + - PGID=1000 + volumes: + - ./data:/config + - ./media:/media + ports: + - "5000:5000" +``` + +Then start it with: + +```bash +docker compose up -d +``` + +## Unraid + +Sublogue includes an Unraid template at `unraid-sublogue.xml`. Import it in Unraid's Docker UI, then map: + +- `/mnt/user/appdata/sublogue` -> `/config` +- `/mnt/user/appdata/sublogue/media` -> `/media` + +Start the container and open `http://:5000`. + +## Acknowledgements + +- Svelte for the frontend UI. +- Flask for the backend API. +- asyncio for async metadata fetching.