The AIO solution to your self hosted media gathering needs
  • TypeScript 78.7%
  • Svelte 20.8%
  • JavaScript 0.2%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
MoldyTaint 74a56043de fix(deps): lift minimatch and cross-spawn past their advisories
Closes four Dependabot alerts:

- minimatch ^11.0.9 -> ^11.0.10 (GHSA-3924-r96c-gp9w, low: proto keys bypass
  the shared matcher cache). A runtime dependency, so it ships.
- cross-spawn 7.0.6 -> 7.1.2 (GHSA-ghv9-86vm-4v8m critical, GHSA-m6qr-m48x-3xhh
  and GHSA-w3gc-668g-rf8f high: Windows command and argument injection). Reached
  only through the semantic-release and eslint toolchains, so it is dev-only and
  absent from the --omit=dev image.

469 test files pass and the production build succeeds on this tree. dev carries
the same lock change so the next dev -> main merge can not go back.
2026-12-05 06:11:22 +00:00
.devcontainer chore(deps): update node.js to v26 2026-10-28 19:07:46 -06:00
.github feat(ci): allow manually triggering Docker Build for a stable release tag 2026-11-02 20:32:17 -06:00
data chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
deploy chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
eslint-rules chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
messages chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
nix feat(deps)!: migrate to SvelteKit 3 + adapter-node 6 2026-10-08 05:15:46 +00:00
project.inlang feat: add Russian (ru) localization (#472) 2026-08-02 19:09:17 -05:00
scripts chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
src chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
static chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
tools/npm-stub chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
.dockerignore fix(security): close credential, auth, and destructive-delete holes 2026-10-22 16:14:28 +00:00
.env.example revert(cinephage): gateway request signing superseded by per-install API keys 2026-10-30 21:34:03 +00:00
.gitattributes fix: add .gitattributes to prevent CRLF line endings in shell scripts 2025-12-15 16:13:29 +00:00
.gitignore feat(cinephage): per-install gateway API keys 2026-10-30 22:18:29 +00:00
.npmrc fix(deps): upgrade all dependencies to latest, resolve 11 vulnerability advisories 2026-07-31 02:57:04 +00:00
.prettierignore refactor(cleanup): remove dead modules, exports, and duplicated helpers 2026-10-04 13:30:29 +00:00
.prettierrc Initial commit: Cinephage media management application 2025-12-09 05:53:18 +00:00
.releaserc.json ci: align release workflows with main and dev 2026-04-29 03:41:30 +00:00
ca_profile.xml chore: point repo URLs at the Cinephage/Cinephage organization 2026-10-24 02:01:55 +00:00
CinephageLogo.png feat: add Cinephage logo to app and README 2025-12-15 03:48:32 +00:00
cliff.toml chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
CODE_OF_CONDUCT.md Initial commit: Cinephage media management application 2025-12-09 05:53:18 +00:00
CONTRIBUTING.md Merge remote-tracking branch 'origin/dev' into dev 2026-10-25 22:55:57 +00:00
docker-compose.yaml chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
docker-entrypoint.sh chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
docker-script-runner.sh feat(docker): update base image to node:24-trixie-slim and enhance Dockerfile for production (#157) 2026-02-23 21:39:42 -06:00
Dockerfile chore: add admin password reset script to dockerfile 2026-11-02 20:32:17 -06:00
eslint.config.js chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
flake.lock flake.lock: Update 2026-10-28 19:21:15 -06:00
flake.nix NixOS Module 2026-01-24 02:07:32 +01:00
knip.jsonc feat(livetv): add EPG sync state tracking and robust M3U EPG parsing 2026-03-16 02:36:27 +00:00
LICENSE fix(license): restore canonical GPL-3.0 text for GitHub/Unraid CA detection 2026-08-08 23:28:59 +00:00
package-lock.json fix(deps): lift minimatch and cross-spawn past their advisories 2026-12-05 06:11:22 +00:00
package.json fix(deps): lift minimatch and cross-spawn past their advisories 2026-12-05 06:11:22 +00:00
README.md chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
renovate.json chore(deps): rename @camoufox/camoufox to camoufox 2026-10-08 12:42:59 +00:00
SECURITY.md chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
server.js fix(deploy): adapt server entry and env pins to SvelteKit 3 runtime 2026-10-08 05:32:31 +00:00
THIRD-PARTY-NOTICES.md chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00
tsconfig.json feat(deps)!: migrate to SvelteKit 3 + adapter-node 6 2026-10-08 05:15:46 +00:00
vite.config.ts chore: standardize comment punctuation by replacing em dashes with hyphens across multiple files 2026-11-02 20:32:17 -06:00

Cinephage

Cinephage

Self-hosted media management. Everything in one app.
One app that actually replaces your entire media stack
Node.js 22+ · Svelte 5 · SQLite · TypeScript

GitHub Release CI Status License Discord

Cinephage - from Greek cine (film) + phage (to devour). A film devourer.

What is Cinephage • Quick Start • Documentation • Community


Dashboard showing active downloads and recent additions Content discovery with filtering and smart lists
Live TV channel guide with EPG integration Smart list creation with auto-add rules

What is Cinephage?

Cinephage is a single app for your whole media setup. Instead of running multiple services that don't talk to each other, you get one tool that handles everything.

One database. All your movies, TV shows, live TV channels, subtitles, and indexer configs live together. No sync issues, everything stays together.

One interface. Browse, search, monitor, and manage everything from a single UI that works on desktop and mobile.

One configuration. Set up your indexers, download clients, and preferences once. They work across movies, TV, and streaming.

One place. Whether you're downloading a BluRay remux, streaming via .strm files, or watching live TV, it's all in Cinephage.


What It Replaces

Cinephage brings together functionality you'd typically find across multiple applications:

  • Radarr & Sonarr - Movie and TV series management
  • Prowlarr - Indexer management with supported trackers
  • Bazarr - Multi-provider subtitle management
  • Overseerr - Content discovery and smart lists
  • FlareSolverr - Built-in Cloudflare bypass (no external service needed)
  • Plus - Live TV/IPTV management, usenet streaming, and more

The *arr projects are fantastic at what they do. We just took a different path - one unified codebase instead of separate services that need to sync with each other.


Key Features

Stream without downloading

Create .strm files that point to online sources and watch instantly. No disk space, no waiting for downloads, no seeding. Works with Jellyfin, Emby, Kodi, or any player that supports .strm files.

Built-in Cloudflare bypass

Camoufox integration handles Cloudflare challenges automatically. No separate FlareSolverr container to maintain, no configuration headaches. It just works.

Usenet streaming

Stream directly from NZBs without downloading the entire file first. Unique seekable stream implementation with adaptive prefetching and segment caching.

Live TV with portal discovery

Connect Stalker portals and automatically discover working MAC addresses. Full EPG support, channel management, and HLS streaming.

Smart quality scoring

50+ scoring factors including codec efficiency (x265/AV1), HDR formats, audio quality, and release group reputation. Custom format creation for personalized scoring rules.

Smart lists

Dynamic content discovery with auto-add to library. Import from IMDb, Trakt, TMDb lists, or create custom queries. "Automatically add all 2024 movies rated 7.5+" - fully automated.

Everything else you'd expect

  • File watching and auto-import
  • Multi-indexer search with deduplication
  • Built-in Cardigann-compatible tracker definitions
  • 6+ subtitle providers, 80+ languages
  • 7+ automated monitoring tasks
  • Jellyfin/Emby & Plex notifications
  • TRaSH Guides-compatible naming

Requirements

  • TMDB API Key - Free at themoviedb.org/settings/api
  • Download Client (optional) - qBittorrent, SABnzbd, NZBGet, Debrid
    • Or use streaming mode - no download client needed (USENET Only)

Quick Start

Cinephage runs on port 3000 by default.

  1. Download the docker-compose.yaml and .env.example into a directory:
mkdir cinephage && cd cinephage
curl -O https://raw.githubusercontent.com/Cinephage/Cinephage/main/docker-compose.yaml
curl -O https://raw.githubusercontent.com/Cinephage/Cinephage/main/.env.example
cp .env.example .env
  1. Edit .env - at minimum set BETTER_AUTH_SECRET (generate one with openssl rand -base64 32).

  2. Update the volume mounts in docker-compose.yaml to point to your media and download directories.

  3. Start it:

docker compose up -d

Open http://localhost:3000 and follow the setup wizard.

Image tags: latest (stable) · X.Y.Z/X.Y/X (stable semver) · dev and dev-YYYYMMDD-RUN (preview)

Note: Persistent data lives in ./config (created automatically). Logs go to container stdout/stderr. Never mount /app - it contains application code.

If you later access Cinephage through a hostname or reverse proxy, update BETTER_AUTH_URL in .env to that public URL. You can also set the External URL in the UI under Settings > System.

Bare Metal

Prerequisites: Node.js 22+ · npm · git · ffmpeg (optional, for media info)

git clone https://github.com/Cinephage/Cinephage.git
cd Cinephage
npm ci
npm run build
cp .env.example .env

Edit .env - set at minimum:

BETTER_AUTH_SECRET=<your-secret>
ORIGIN=http://localhost:3000
BETTER_AUTH_URL=http://localhost:3000

Then start:

npm start

Data is stored in ./data by default (no /config mount needed on bare metal).

Running as a systemd service

Create /etc/systemd/system/cinephage.service:

[Unit]
Description=Cinephage Media Manager
After=network.target

[Service]
Type=simple
User=cinephage
WorkingDirectory=/opt/Cinephage
EnvironmentFile=/opt/Cinephage/.env
ExecStart=/usr/bin/node server.js
Restart=on-failure
RestartSec=10

[Install]
WantedBy=multi-user.target
sudo useradd -r -s /bin/false cinephage
sudo chown -R cinephage:cinephage /opt/Cinephage
sudo systemctl daemon-reload
sudo systemctl enable --now cinephage

Adjust User, WorkingDirectory, and the node binary path to match your setup.

Configuration

All environment variables are documented in .env.example. Key ones:

Variable Required Description
BETTER_AUTH_SECRET Yes Session signing and API key encryption
ORIGIN Recommended Trusted origin for CSRF protection
BETTER_AUTH_URL Recommended Base URL for auth callbacks and redirects
TZ No Timezone for scheduled tasks (default: UTC)

Documentation

Comprehensive documentation is available at docs.cinephage.net.


Community


Contributors

Thanks to everyone who has contributed to Cinephage!

Contributors

View all contributors →


Acknowledgments

Cinephage draws inspiration from the excellent Radarr, Sonarr, Prowlarr, and Bazarr projects, with UI patterns influenced by Overseerr. Quality scoring data comes from Dictionarry. Metadata powered by TMDB.

See THIRD-PARTY-NOTICES.md for complete attribution.


AI Disclosure

This project was built with AI assistance. As a solo developer learning as I go, AI helps bridge the gap between ambition and experience. We believe in being upfront about how this is built.


Cinephage is a media management tool. It does not host, store, or distribute any media content. All content comes from external sources you configure. Live TV/IPTV functionality depends entirely on third-party services.


License

Cinephage - Self-hosted Media Management Copyright (C) 2025 Cinephage Contributors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Full text: GNU General Public License v3.0