# CineHome Source: https://docs.cinepro.cc/cinehome/coming-soon Use CineHome to automatically download movies and TV shows to any device running the CineHome Backend — like a NAS, home server, or media PC. CineHome is still in early development. Detailed setup guides and API documentation are coming soon. CineHome is a companion service to CinePro Core that lets you **remotely trigger a download** of a movie or TV episode to any device running the CineHome Backend. Think of it as your personal media concierge: you make a request from your phone, and the content lands in the right folder on your home server — ready to play on your Apple TV, Plex, Jellyfin, or any other media client. ## How it works From any client — a web UI, a phone shortcut, or a custom script — you send a request to the CineHome Backend specifying the title, language, and quality you want. The CineHome Backend calls your running CinePro Core instance to resolve the media. Core queries TMDB for metadata and then scrapes available providers for a matching stream source. Core returns a ranked list of sources. CineHome picks the best match for your requested quality and language. CineHome downloads the media file directly into a pre-configured folder on the device running the backend — your NAS, home server, Raspberry Pi, etc. The file is in your folder. Open it in VLC, Infuse, Plex, Jellyfin, or whatever you use — no streaming required. ## Real-world example Imagine you're heading out and you want to watch a movie later on your Apple TV. You run a shortcut on your iPhone, it asks: * 🎬 **What movie?** → *Interstellar* * 🌍 **Language?** → *English* * 📺 **Quality?** → *1080p* Your shortcut sends that request to the CineHome Backend. The backend contacts CinePro Core, finds a matching source, and downloads the file to your `/media/movies` folder (or any other you've defined). When you get home, it's waiting for you. You can use any HTTP client to trigger downloads — iOS Shortcuts, Android Tasker, a cron job, or your own integration. Anything that can send a POST request works. ## Architecture overview The OMSS-compliant backend that resolves media sources. CineHome talks to Core to find streams. Runs on your home device. Receives download requests, asks Core for sources, and saves files locally. WIP... Coming soon. Stay tuned : ) ## Compatibility & requirements *More Coming Soon* CineHome requires a running instance of **CinePro Core**. Point the CineHome Backend's environment config to your Core URL. Full setup guides, API reference, and configuration options for CineHome are coming soon. Follow the [GitHub discussions](https://github.com/orgs/cinepro-org/discussions) and [Repo Progress](https://github.com/cinepro-org/cinehome-backend/tree/dev) for updates. # Get streaming sources for a movie Source: https://docs.cinepro.cc/core/api-reference/content/get-streaming-sources-for-a-movie get /v1/movies/{id} Retrieve all available streaming sources and subtitles for a movie by TMDB ID. **Requirements:** - Returns an array of sources with URLs, quality, audio tracks, and provider information - Returns an array of subtitles with URLs, labels, and formats - Uses proxy paths for all URL fields - Includes a unique responseId and expiration timestamp - May include diagnostics for partial scrapes or warnings # Get streaming sources for a TV episode Source: https://docs.cinepro.cc/core/api-reference/content/get-streaming-sources-for-a-tv-episode get /v1/tv/{id}/seasons/{s}/episodes/{e} Retrieve all available streaming sources and subtitles for a TV episode by TMDB series ID, season number, and episode number. **Requirements:** - Season number: 0–99 (0 = specials) - Episode number: 1–9,999 - Returns sources with URLs, quality, audio tracks, and provider information - Returns subtitles with URLs, labels, and formats - Uses proxy paths for all URL fields - Includes a unique responseId and expiration timestamp # API version and available endpoints Source: https://docs.cinepro.cc/core/api-reference/health/api-version-endpoint get /v1 Returns version information and available endpoints. # Backend health status check Source: https://docs.cinepro.cc/core/api-reference/health/health-status-endpoint get /v1/health Returns health status of the backend. # Backend home and capabilities Source: https://docs.cinepro.cc/core/api-reference/health/home-endpoint get / Returns basic information about the backend and available endpoints. # API Reference Source: https://docs.cinepro.cc/core/api-reference/introduction Reference for the OMSS-compliant HTTP API exposed by CinePro Core, auto-generated from the OpenAPI spec and covering every endpoint on your instance. CinePro Core is in **active development**. The API surface follows the [OMSS v1.0 specification](https://github.com/omss-spec/omss-spec) and may evolve as the spec progresses. ## Overview CinePro Core is built on the [**Open Media Streaming Standard (OMSS)**](https://github.com/omss-spec/omss-spec) — an open specification that defines a common HTTP API contract for media scraping backends. Any client that speaks OMSS works with CinePro Core out of the box, and any other OMSS-compliant backend works as a drop-in replacement for CinePro Core. The server is bootstrapped via [`@omss/framework`](https://npmjs.com/@omss/framework), which wires together providers, caching, TMDB metadata enrichment, and the proxy layer — CinePro's `server.ts` registers all of this in a single `OMSSServer` instance. *** ## Core Concepts Understanding these four building blocks will help you read the endpoint reference and understand what CinePro returns. ### Media IDs Every piece of content in CinePro is identified by its **TMDB ID** — a numeric identifier from [The Movie Database](https://www.themoviedb.org/). You pass this ID to every scraping endpoint. CinePro uses it to look up metadata (title, year, etc.) and to construct queries that providers can resolve into playable links. For TV shows, a request also requires a **season** and **episode** number alongside the TMDB show ID, since providers resolve individual episodes rather than whole series. ### Providers A **provider** is a self-contained module inside `src/providers/` that knows how to scrape a specific streaming source. CinePro ships several built-in providers. All providers are **auto-discovered** at startup — the OMSS framework scans `./providers/` and registers any valid provider it finds. No manual registration is needed. Each provider implements the OMSS `IProvider` interface, so the framework can call them uniformly regardless of how the underlying source works. ### Sources A **source** is what a provider returns: a resolved URL (or set of URLs) pointing to streamable or downloadable media for a requested piece of content. A single API call may return sources from multiple providers simultaneously, each with its own quality, language, and subtitle tracks. Sources are cached by the OMSS framework to avoid re-scraping on every request: * Source results: **1 hour** TTL * Subtitle data: **24 hours** TTL For production deployments, Redis is strongly recommended over the in-memory cache so that source results survive restarts. ### Stream Patterns & Third-Party Proxy Unwrapping Providers sometimes return URLs that are themselves wrapped by external proxy services — for example, an HLS stream routed through `hlsproxy.example.net` rather than the origin CDN directly. CinePro decouples such URLs and smartly returns the direct URL through the proxy. The framework decodes the captured URL (including nested URL-encoding) and routes your own proxy directly to the origin, giving you full control over headers, caching, and error handling. *** ## How to Read This Reference Every endpoint page in this section is generated directly from the [OMSS v1.0 OpenAPI specification](https://github.com/omss-spec/omss-spec/blob/main/spec/v1.0/omss-v1.0.yml). This means the reference is always in sync with the standard — not hand-written docs that can drift. Each endpoint page includes a live playground. Set your server URL (default: `http://localhost:3000`) and fire real requests directly from the docs. Make sure your CinePro Core instance is running and your `TMDB_API_KEY` is configured. Because the reference comes from the OMSS spec, it is valid for **any OMSS-compliant backend** — not just CinePro Core. If you run another OMSS server, you can point the playground at it and it will work exactly the same way. Every endpoint includes auto-generated code examples in JavaScript, cURL, Python, PHP, Go, and Java. The playground's **server URL** defaults to `https://api.example.com`. To test against a deployed instance, update it by clicking on it and change it to `http://localhost:3000`. *** ## Before You Start Make sure you have: 1. A running CinePro Core instance ([→ Quickstart](/quickstart)) 2. A valid `TMDB_API_KEY` in your `.env` ([→ Environment Variables](/core/configuration/environment)) 3. At least one provider available (all built-in providers are auto-registered on startup) Then jump straight into the endpoint reference: Resolve streaming sources for a movie by TMDB ID Resolve streaming sources for a TV episode by show ID, season, and episode # Proxy upstream provider requests Source: https://docs.cinepro.cc/core/api-reference/proxy/proxy-upstream-provider-requests get /v1/proxy Forwards requests to upstream streaming providers while handling headers and authentication. **Data Parameter Format:** The `data` parameter must be a [encodeURIComponent()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent) encoded JSON object: ```json { "url": "https://upstream-provider.com/stream.m3u8", "headers": { "Referer": "https://provider.com", "User-Agent": "Mozilla/5.0", "more": "headers..." } } ``` The frontend does not have to care about these data objects, since the url fields from the backend response should automatically do that already. **Content-Type Handling:** You will get that content type back, which you would, if you were requesting the url directly. **Caching:** - Subtitles: Cache subtitles up to 24 hours - DO NOT cache proxy responses (pass through caching headers from upstream) # Refresh cached sources by responseId Source: https://docs.cinepro.cc/core/api-reference/refresh/refresh-cached-sources get /v1/refresh/{responseId} Invalidates the cache for a specific source by responseId. This is useful when sources have expired or changed. **Behavior:** - Immediately invalidates cache for the given responseId - Next request for the same content will perform a fresh scrape - Returns simple OK status on success - responseId format: UUID v4 (alphanumeric with hyphens/underscores, max 128 chars) # Environment variables Source: https://docs.cinepro.cc/core/configuration/environment Configure CinePro Core through a .env file with environment variables for the TMDB API key, ports, public URL, caching, and provider settings. Copy `.env.example` to `.env` before starting the server. CinePro Core requires a valid `TMDB_API_KEY` to resolve metadata and start correctly. ## Required vs optional * `TMDB_API_KEY` — required for metadata lookups and startup * `PORT`, `HOST`, `PUBLIC_URL`, `NODE_ENV` — server runtime settings * `CACHE_TYPE`, `REDIS_*` — only needed for Redis-backed caching * `STREMIO_ADDON`, `MCP_ENABLED`, `CORS_ORIGIN`, `TMDB_CACHE_TTL` — optional integrations and tuning ## Server configuration The port CinePro Core listens on. ```bash .env theme={"theme":"material-theme-darker"} PORT=3000 ``` ```bash .env theme={"theme":"material-theme-darker"} PORT=8080 ``` The hostname or IP address the server binds to. Use `localhost` during development to keep the API limited to your machine.\ Use `0.0.0.0` in Docker or production if the API should be reachable from other devices. ```bash .env theme={"theme":"material-theme-darker"} HOST=localhost ``` ```bash .env theme={"theme":"material-theme-darker"} HOST=0.0.0.0 ``` The public base URL of your CinePro Core instance. Use this when your server is exposed through a public hostname, reverse proxy, or domain. ```bash .env theme={"theme":"material-theme-darker"} PUBLIC_URL=https://api.example.com ``` Include the protocol and do not add a trailing slash. A wrong `PUBLIC_URL` can produce broken absolute URLs in responses. Controls the runtime mode. | Value | Usage | | ------------- | -------------------------------------------------------- | | `development` | Local development, debugging, and `npm run dev` | | `production` | Optimized runtime for `npm start` and deployed instances | ```bash .env theme={"theme":"material-theme-darker"} NODE_ENV=development ``` ```bash .env theme={"theme":"material-theme-darker"} NODE_ENV=production ``` Optional. Restricts which browser origins may call the CinePro API. Leave unset to keep the default behavior, or set it to a specific origin if you expose the API publicly. ```bash .env theme={"theme":"material-theme-darker"} CORS_ORIGIN=https://example.com ``` ## Optional integrations Enables CinePro's Stremio addon support. When enabled, CinePro exposes a Stremio manifest endpoint at `/stremio/manifest.json` so your instance can be added as a Stremio source. ```bash .env theme={"theme":"material-theme-darker"} STREMIO_ADDON=true ``` ### Adding custom Stremio addons as sources CinePro Core can also pull streams *from* existing Stremio addons and surface them as additional sources. This list is configured in `src/server.ts` rather than via an environment variable. As of the May 7, 2026 release, the default `stremioAddons` array is **empty** — you must explicitly add the addons you want to use: ```typescript src/server.ts theme={"theme":"material-theme-darker"} stremio: { enableNativeAddon: process.env.STREMIO_ADDON === 'true', stremioAddons: [ { id: 'some-unique-id', url: 'https://example.com/manifest.json', enabled: true } ] } ``` | Field | Type | Description | | --------- | --------- | ---------------------------------------------- | | `id` | `string` | Unique identifier for the addon within CinePro | | `url` | `string` | Full URL to the addon's `manifest.json` | | `enabled` | `boolean` | Toggle the addon without removing the entry | Earlier versions of CinePro Core shipped two community addons (WebStreamerMBG and Streamify) pre-wired in this list. They have been removed so you can curate your own list from a clean slate. Returns **every** source the providers find — including non-playable ones — and attaches detailed per-provider diagnostics to the response. Use this when developing or debugging providers; leave it off in normal use. ```bash .env theme={"theme":"material-theme-darker"} INTERNAL_DEBUG=true ``` Keep `INTERNAL_DEBUG=false` for regular usage. With it enabled, the API surfaces broken or unplayable sources alongside working ones, which clients are not expected to filter. Enables Model Context Protocol support for MCP-compatible clients and AI agents. ```bash .env theme={"theme":"material-theme-darker"} MCP_ENABLED=true ``` Enable this only if you actually plan to connect CinePro to MCP clients. Regular API users do not need it. ## TMDB configuration Your TMDB (The Movie Database) API key. CinePro Core uses TMDB for metadata such as titles, IDs, and artwork. Sign up at [themoviedb.org](https://www.themoviedb.org/). Open **Settings → API** in TMDB and request a developer key. ```bash .env theme={"theme":"material-theme-darker"} TMDB_API_KEY=your_tmdb_api_key_here ``` Keep this key private and never commit your `.env` file to version control. Defines how long TMDB metadata responses are cached, in seconds. The default `86400` equals 24 hours. ```bash .env theme={"theme":"material-theme-darker"} TMDB_CACHE_TTL=86400 ``` ## Cache configuration Selects the cache backend used by CinePro Core. | Value | Best for | | -------- | ------------------------------------------------------- | | `memory` | Local development and simple single-instance setups | | `redis` | Production deployments and shared or persistent caching | ```bash .env theme={"theme":"material-theme-darker"} CACHE_TYPE=memory ``` ```bash .env theme={"theme":"material-theme-darker"} CACHE_TYPE=redis ``` If you use `redis`, configure the Redis connection variables below as well. ## Redis configuration These variables are only needed when `CACHE_TYPE=redis`. Hostname or IP address of your Redis server. ```bash .env theme={"theme":"material-theme-darker"} REDIS_HOST=localhost ``` ```bash .env theme={"theme":"material-theme-darker"} REDIS_HOST=redis.example.com ``` Port of your Redis instance. ```bash .env theme={"theme":"material-theme-darker"} REDIS_PORT=6379 ``` Optional password for Redis authentication. ```bash .env theme={"theme":"material-theme-darker"} REDIS_PASSWORD= ``` ```bash .env theme={"theme":"material-theme-darker"} REDIS_PASSWORD=supersecretpassword ``` Never commit Redis credentials to source control. Use environment injection or a secrets manager in production. ## Full .env examples ### Development ```bash .env theme={"theme":"material-theme-darker"} PORT=3000 HOST=localhost NODE_ENV=development TMDB_API_KEY=your_tmdb_api_key_here TMDB_CACHE_TTL=86400 CACHE_TYPE=memory ``` ### Production ```bash .env theme={"theme":"material-theme-darker"} PORT=8080 HOST=0.0.0.0 NODE_ENV=production PUBLIC_URL=https://api.example.com TMDB_API_KEY=your_tmdb_api_key_here TMDB_CACHE_TTL=86400 CACHE_TYPE=redis REDIS_HOST=redis.example.com REDIS_PORT=6379 REDIS_PASSWORD=supersecretpassword STREMIO_ADDON=false MCP_ENABLED=false ``` ### Docker Compose ```bash .env theme={"theme":"material-theme-darker"} PORT=3000 HOST=0.0.0.0 NODE_ENV=production PUBLIC_URL=http://localhost:3000 TMDB_API_KEY=your_tmdb_api_key_here TMDB_CACHE_TTL=86400 CACHE_TYPE=redis REDIS_HOST=redis REDIS_PORT=6379 REDIS_PASSWORD= ``` In Docker Compose, `REDIS_HOST` should usually be the Redis service name from `compose.yml`, not `localhost`. # Providers Source: https://docs.cinepro.cc/core/configuration/providers Learn how CinePro Core's modular provider system works and how to build a TypeScript provider class on top of the @omss/framework BaseProvider interface. ## Overview CinePro Core aggregates streaming sources from multiple independent providers. Each provider is a TypeScript class that extends `BaseProvider` from [`@omss/framework`](https://github.com/omss-spec/framework) and declares what content types it supports — movies, TV shows, or both. The framework handles all the heavy lifting: routing, response formatting, TMDB validation, caching, and proxying. **You only write the source-fetching logic.** *** ## Built-in Providers CinePro Core ships with the following providers out of the box. All providers live under `src/providers/` and are auto-discovered at startup. Providers can be toggled individually via the `enabled` flag in their source file without removing the folder. For the latest list of providers, [check here](https://github.com/cinepro-org/core/tree/main/src/providers). Disabled providers ship with the codebase but do not run at startup. They are kept in place for future re-enablement once upstream compatibility is restored — see the [changelog](/core/versions) for the latest status. *** ## Directory Structure Each provider lives in its own folder inside `src/providers/`. A typical provider contains a single TypeScript file named after the provider: *** ## Auto-Discovery CinePro Core uses `@omss/framework`'s built-in auto-discovery feature to register providers automatically at startup. You do **not** need to manually import or register each provider. In `src/server.ts`, providers are loaded with a single call: ```typescript theme={"theme":"material-theme-darker"} const registry = server.getRegistry(); await registry.discoverProviders(path.join(__dirname, './providers/')); ``` The `discoverProviders` method scans the given directory recursively, finds every class that extends `BaseProvider`, instantiates it, and registers it with the server — all without any manual wiring. The path passed to `discoverProviders` is resolved relative to the compiled output directory (i.e. `dist/providers/` in production). If you add a new provider folder, no changes to `server.ts` are needed. *** ## Adding a New Provider Create a new directory and TypeScript file under `src/providers/`: ```bash theme={"theme":"material-theme-darker"} mkdir src/providers/my-provider touch src/providers/my-provider/my-provider.ts ``` Extend `BaseProvider` from `@omss/framework` and implement the required properties and methods: ```typescript theme={"theme":"material-theme-darker"} import { BaseProvider } from '@omss/framework'; import type { ProviderCapabilities, ProviderMediaObject, ProviderResult } from '@omss/framework'; export class MyProvider extends BaseProvider { // Unique machine-readable identifier readonly id = 'my-provider'; // Human-readable display name readonly name = 'My Provider'; // Set to false to disable without removing the file readonly enabled = true; readonly BASE_URL = 'https://provider.example.com'; readonly HEADERS = { 'User-Agent': 'Mozilla/5.0', Referer: 'https://provider.example.com' }; // Declare what content types this provider handles readonly capabilities: ProviderCapabilities = { supportedContentTypes: ['movies', 'tv'] }; async getMovieSources(media: ProviderMediaObject): Promise { try { // Your source-fetching logic here return { sources: [ { url: this.createProxyUrl(streamUrl, this.HEADERS), type: 'hls', quality: '1080p', audioTracks: [{ language: 'en', label: 'English' }], provider: { id: this.id, name: this.name } } ], subtitles: [], diagnostics: [] }; } catch (error) { return { sources: [], subtitles: [], diagnostics: [ { code: 'PROVIDER_ERROR', message: error instanceof Error ? error.message : 'Unknown error', field: '', severity: 'error' } ] }; } } async getTVSources(media: ProviderMediaObject): Promise { // Implement TV logic or return an empty result return { sources: [], subtitles: [], diagnostics: [] }; } // Optional but recommended async healthCheck(): Promise { try { const response = await fetch(this.BASE_URL, { method: 'HEAD' }); return response.ok; } catch { return false; } } } ``` That's it. No registration or imports needed — `discoverProviders` picks up the new class automatically on the next server start. ```bash theme={"theme":"material-theme-darker"} npm run dev ``` ### Key Interface Properties | Property | Type | Required | Description | | ----------------- | ---------------------- | -------- | --------------------------------------------------------- | | `id` | `string` | ✅ | Unique machine-readable identifier (lowercase, no spaces) | | `name` | `string` | ✅ | Human-readable display name | | `enabled` | `boolean` | ✅ | Toggle the provider without removing it | | `BASE_URL` | `string` | ✅ | Provider's base URL, used as the default `Referer` | | `HEADERS` | `object` | ✅ | Default HTTP headers for all requests | | `capabilities` | `ProviderCapabilities` | ✅ | Declares supported content types (`movies`, `tv`) | | `getMovieSources` | `async method` | ✅ | Returns sources for a given movie | | `getTVSources` | `async method` | ✅ | Returns sources for a given TV episode | | `healthCheck` | `async method` | Optional | Returns `true` if the provider is reachable | ### ProviderMediaObject Fields The `media` argument passed to `getMovieSources` and `getTVSources` contains: | Field | Type | Description | | -------- | --------------------- | ------------------------ | | `tmdbId` | `number` | TMDB ID for the title | | `type` | `"movie" \| "tv"` | Content type | | `s` | `number \| undefined` | Season number (TV only) | | `e` | `number \| undefined` | Episode number (TV only) | *** ## Best Practices Never return a raw stream URL directly. Use `this.createProxyUrl(url, headers)` so the framework can forward required headers (e.g. `Referer`, `Origin`) through its built-in proxy. This keeps stream URLs playable from the browser without CORS issues. ```typescript theme={"theme":"material-theme-darker"} url: this.createProxyUrl(streamUrl, this.HEADERS) ``` Providers must never throw uncaught exceptions — the framework expects a `ProviderResult` regardless of success or failure. Wrap all logic in `try/catch` and return a `diagnostics` entry on error. This lets the API aggregate results across all providers even if one fails. ```typescript theme={"theme":"material-theme-darker"} catch (error) { return { sources: [], subtitles: [], diagnostics: [{ code: 'PROVIDER_ERROR', message: error instanceof Error ? error.message : 'Unknown error', field: '', severity: 'error' }] }; } ``` If you want to temporarily disable a provider, set `readonly enabled = false` rather than deleting the file. This keeps the code in place and makes it trivial to re-enable later. Provider instances are reused across requests. Do not store per-request state in instance variables. Use local variables inside `getMovieSources` / `getTVSources` for anything request-specific. *** ## Further Reading Official `@omss/framework` documentation and source code The Open Media Streaming Standard specification Fully annotated reference provider from the framework repo Browse the built-in provider implementations # Development Status Source: https://docs.cinepro.cc/core/general-information/development See the current development status, project focus, contribution opportunities, and the public roadmap for the CinePro Core streaming backend. CinePro/Core is undergoing a rewrite. None of the functionalities are promised to work. ETA to finish: N/A. Please do not open PR's or Issues. See the latest news here: [https://github.com/cinepro-org/core/issues/68](https://github.com/cinepro-org/core/issues/68) ## Where the project stands CinePro Core is the TypeScript, OMSS‑compliant backend at [`cinepro-org/core`](https://github.com/cinepro-org/core) — the active foundation for the entire CinePro ecosystem. The original JavaScript backend at [`cinepro-org/backend`](https://github.com/cinepro-org/backend) is **archived** and kept for historical reference only. CinePro is a modular, high‑performance movie and TV scraper that does **not** host any media itself and is intended for **personal and home use only**. The project is maintained by a small team — and that's exactly why we need you. Production or commercial deployments are **not supported**. CinePro Core and the example frontend are intended for experimentation, learning, and home‑lab usage. ## Current focus areas ### 1. Provider coverage & quality CinePro Core ships with multiple providers under `src/providers`, but coverage and stability are continuously evolving. This is one of the **highest-impact areas for new contributors**. Fix edge cases, improve error handling, and ensure providers degrade gracefully when a source goes offline. Expand the set of supported sources to increase availability and redundancy for movies and TV shows. ### 2. CineHome integration Beyond the streaming backend, it is planned that CinePro/core also powers **CineHome** — a service for automating downloads to a NAS or similar device. This has not been started yet, but will be a major focus in the coming months. CineHome will be a separate repository, but close integration with Core will be essential. ## We need contributors — and that means you CinePro is a small team maintaining a growing ecosystem. There's plenty of meaningful work available at every skill level — whether you write code, test things, or just improve docs. It sounds small, but visibility matters. A ⭐ helps new contributors find the project. Share ideas, ask questions, and help shape the direction of CinePro. No code required. Know a working streaming source? Implement an OMSS provider and open a PR. Providers are the #1 way to directly improve CinePro for everyone. Browse open issues in `cinepro-org/core`. Even small fixes help keep the project reliable for all users. Spot something unclear? Missing a guide? Good documentation is what turns a project into a community. Not sure where to start? Head to [GitHub Discussions](https://github.com/orgs/cinepro-org/discussions) and introduce yourself — we'll point you to something that fits your skills. # License & Terms Source: https://docs.cinepro.cc/core/general-information/license Review the CinePro Core license, usage terms, legal disclaimer, and developer liability under the PolyForm Noncommercial License for personal use only. CinePro is for **personal and non-commercial use only**. By using this project, you agree to all terms outlined on this page. ## At a Glance Free to use, fork, and modify for personal and non-commercial purposes under the PolyForm Noncommercial License. You are **not** allowed to add any form of tracking, analytics, or advertising to this project. Designed for private, home use. **Not** for public-facing or commercial deployments. *** ## PolyForm Noncommercial License 1.0.0 CinePro Core is released under the [PolyForm Noncommercial License 1.0.0](https://github.com/cinepro-org/core/blob/main/LICENSE). The PolyForm Noncommercial License allows you to use, copy, modify, and distribute CinePro freely — as long as it is strictly for **non-commercial purposes**. Unlike MIT, this license legally enforces the non-commercial restriction. The full license text is available at [polyformproject.org/licenses/noncommercial/1.0.0](https://polyformproject.org/licenses/noncommercial/1.0.0/). *** ## Usage Restrictions These restrictions apply to CinePro Core, the Frontend, and any other CinePro ecosystem project: You may **not** use this project for any commercial purpose. This includes SaaS offerings, monetized streaming services, revenue-generating applications, or any platform that directly or indirectly generates income — even if CinePro is only one component among many. You may **not** sell, sublicense, or redistribute CinePro or any modified version of it for commercial gain. Adding any form of advertisement, affiliate marketing, telemetry, analytics beyond what already exists in this project, or user-tracking mechanisms is strictly prohibited. CinePro is intended to run **privately on your own machine or home server**. Hosting it as a publicly accessible scraping service for other users is outside the intended use case. Doing so may also constitute commercial use under the license. The developers cannot be held responsible for consequences arising from such deployments. *** ## No Media Hosting CinePro does **not** host, upload, store, or distribute any media files or copyrighted content. CinePro Core is a tool that scrapes and returns **links to content already hosted on third-party websites**. It only aggregates URLs — it never serves, caches, or proxies the actual media files themselves. The same applies to the [CinePro Frontend](https://github.com/cinepro-org/frontend). *** ## Legal Responsibility You, the user, are **solely responsible** for complying with all applicable local laws, regulations, and terms of service of any third-party streaming source you access via CinePro. The developers of CinePro are **not responsible** for the legality, accuracy, copyright status, or compliance of any content linked through this tool. If you encounter copyright concerns or legal issues with any content surfaced by CinePro, please contact the **owner or host of that content directly**. CinePro developers have no involvement with or control over any third-party media. *** ## Developer Liability By using CinePro, you acknowledge that: * You use the software entirely **at your own risk**. * The developers of CinePro **are not liable** for any legal, financial, or other consequences arising from your use of the tool. * This includes — but is not limited to — disputes arising from linked content, scraping activity, or violations of third-party terms of service. CinePro surfaces direct links to where media is hosted on third-party sites. It does not host anything itself. For any content-related matter, please contact the relevant hosting provider directly. Fun fact: If you're law enforcement, CinePro can help you track where the media is hosted, since it gives you the direct links to the media... (pls don't come and get our asses😔😝) # Changelog Source: https://docs.cinepro.cc/core/versions CinePro Core changelog with release notes, new features, bug fixes, and breaking changes for every version of the streaming backend. You can always review the [latest release here](https://github.com/cinepro-org/core/releases/latest) and run it locally with `docker run -p 3000:3000 --name cinepro-core -e TMDB_API_KEY=your-tmdb-key ghcr.io/cinepro-org/core:latest` to see the newest features in action. For a detailed breakdown of recent changes, keep reading! ## CinePro/ui updates * **Faster first-load splash** — The startup overlay on [CinePro/ui](https://ui.cinepro.cc) no longer blocks real content behind a blur for several seconds on first visit. The brand moment is preserved, but the artificial wait has been cut so the app feels noticeably lighter on entry. The splash continues to show only once per browser session. * **Sharper glass effects across screen sizes** — The glass refraction filter used on header and drawer surfaces now scales its displacement to the element's own size instead of using fixed pixel values tuned for small buttons. Wide pills and large panels no longer look melty or distorted, while smaller controls keep their original look. ## CinePro/ui updates * **Back button in stacked media drawers** — When you open a media drawer from inside another drawer (for example, drilling into a recommendation while already viewing a title in [CinePro/ui](https://ui.cinepro.cc)), a `Back` arrow now appears in the drawer header so you can return to the previous layer without dismissing the whole stack. The button only shows when there is a previous drawer to go back to, so single-level drawers are unaffected. * **Polished media drawer visuals** — The media drawer now uses a multi-layer overlay with refined gradients, a clearer title and meta block, animated action buttons, and a drop-shadowed overview. Genre badges are capped at three for readability, and button and icon sizes have been tuned for better touch targets and accessibility. ## CinePro/ui updates * **New default color theme** — The default accent color in [CinePro/ui](https://ui.cinepro.cc) has changed from orange to red, matching the rest of the CinePro brand. The `Orange` option has been removed from the color theme picker in [Settings](https://ui.cinepro.cc/settings). If you previously selected `Orange`, pick a new theme from `Red`, `Rose`, `Purple`, and the other available accents. * **Service worker now opt-in for self-hosters** — When self-hosting [CinePro/ui](/ui/setup), the PWA service worker is now only registered for standalone builds. Set `VITE_STANDALONE=true` in your `.env` before running `npm run build` if you want offline support and installable PWA behavior. The hosted UI at [ui.cinepro.cc](https://ui.cinepro.cc) is unaffected. * **Build now reads `.env` automatically** — `npm run build` now loads variables from `.env` via `dotenv-cli`, so you no longer need to export them in your shell before building. Make sure `VITE_TMDB_API_KEY` (and `VITE_STANDALONE` if applicable) are present in your `.env` file. ## New features * **Tulnex provider** — A new `tulnex` provider has been added to the [provider lineup](/core/configuration/providers) and is enabled by default. It fans out across 14 upstream Tulnex servers (including `onion`, `vidzee`, `icefy`, `vaplayer`, multiple `vidfast-*` variants, `allmovies`, `vidlink`, and `moviebox`) in parallel, decrypts each payload, and aggregates every playable stream into a single result for both movies and TV. * **One-click Vercel deployments** — CinePro Core now ships with a `vercel.json` so you can deploy the backend as a serverless function on Vercel in a few clicks. See the new **Vercel** tab in the [quickstart](/quickstart) for the full flow, including how to wire up `TMDB_API_KEY` and `PUBLIC_URL`. * **`INTERNAL_DEBUG` flag** — A new [`INTERNAL_DEBUG`](/core/configuration/environment#param-internal-debug) environment variable returns every source the providers discover (including non-playable ones) and attaches per-provider diagnostics. Intended for provider development and debugging — leave it `false` in normal use. ## Updates * **Every returned source is now playable** — In normal mode (`INTERNAL_DEBUG=false`), the API filters out unplayable candidates upstream so clients only see streams that should actually play. * **Cleaner VidApi responses** — The `vidapi` provider now uses a stable desktop user agent and includes an explicit `Accept` header, improving compatibility with upstream stream URL filtering. * **Normalized VidNest quality labels** — VidNest stream qualities are now passed through the shared quality inference so labels (e.g. `1080p`, `720p`) match the rest of the providers. ## New features * **VidApi provider** — A new `vidapi` provider has been added to the [provider lineup](/core/configuration/providers) and is enabled by default. It contributes additional movie and TV sources by querying the upstream VidApi endpoint with the title's TMDB ID (plus season and episode for TV) and returns playable HLS or MP4 streams alongside any default subtitle tracks (`vtt`, `srt`, `ass`, `ssa`, or `ttml`). Stream URLs are routed through CinePro's built-in proxy so the required headers are forwarded automatically — no configuration changes required. ## Updates * **StreamMafia back online** — The `streammafia` provider now uses the new `player.nhdapi.com` upstream after another endpoint migration, restoring sources for movies and TV. See the [provider list](/core/configuration/providers). * **Peachify gains more MovieBox backends** — Peachify now fans out to two additional MovieBox endpoints (`net` and `bmb`), expanding the pool of playable sources per lookup. No configuration changes required. * **More reliable Popr playback** — The `popr` provider now validates each candidate stream with clearer per-server diagnostics (HTTP errors, empty HLS playlists, and HTML error pages are detected and skipped), so failing servers no longer leak through as broken streams. ## Bug fixes * **Broader stream pattern matching** — Added `trendimovies.com/tgstream/stream` to the recognized streaming-pattern list, so Peachify links served from that CDN are properly proxied during playback. * **More resilient release pipeline** — Cleaned up the automated GitHub release workflow so pushes to `main` produce tagged releases and multi-architecture Docker images more reliably for your [Docker deployment](/quickstart#docker-compose). ## New features * **CinePro UI public beta** — CinePro Core now prints a startup banner inviting you to try the new web UI at [ui.cinepro.cc](https://ui.cinepro.cc), pre-wired to point at your running instance. The link respects your configured [`PUBLIC_URL`](/core/configuration/environment#param-public-url), so a single click opens the UI connected to your server. The [CinePro UI project](https://github.com/cinepro-org/ui) is in public testing and looking for contributors. ## Bug fixes * **Cleaner automated release notes** — The automated GitHub release pipeline no longer collapses headings, code blocks, and bullet lists onto a single line. New releases for your [Docker deployment](/quickstart#docker-compose) ship with properly formatted, readable changelogs again. ## New features * **AnyEmbed provider (preview)** — A new `anyembed` provider has been added to the [provider lineup](/core/configuration/providers). It ships **disabled by default** while the upstream API stabilizes, as their session and stream endpoints still intermittently return 403/500 responses. The implementation is fully in place and can be enabled manually by setting `readonly enabled = true` in the provider source once the service becomes reliable enough for production use. * **VidNest gains `delta` and `moviebox` backends** — The `vidnest` provider now aggregates the additional `delta` and `moviebox` upstream servers alongside the existing backends. These contribute more playable streams and per-language audio variants for movie and TV lookups with no configuration changes required. ## Updates * **Cleaner Stremio addon defaults** — The previously bundled WebStreamerMBG and Streamify community addons have been removed from the default `stremioAddons` configuration. The default array is now empty, allowing you to curate your own [Stremio addon sources](/core/configuration/environment#param-stremio-addon) without first removing bundled entries. Setting `STREMIO_ADDON=true` still enables CinePro's native addon manifest at `/stremio/manifest.json`. * **Peachify hardening** — Peachify now rotates a randomized desktop user agent on every request, uses the new `uwu.eat-peach.sbs` MovieBox endpoint, and includes a more robust AES-GCM decryption pipeline for encrypted payloads. The deprecated and unreliable `ice` upstream server has been removed from rotation. * **StreamMafia endpoint update** — The `streammafia` provider now uses the new `sf.streammafia.to` host following an upstream domain migration. Existing setups continue working without configuration changes. * **02MovieDownloader restored** — The `02moviedownloader` provider now transparently supports the upstream's new encrypted response format (AES-256-CBC with a per-token-derived key), restoring download source resolution for previously failing titles. ## Bug fixes * **Broader proxy URL recognition** — Proxy detection now correctly recognizes both `m3u8-proxy?url=` and `mp4-proxy?url=` patterns, including URLs served from `*.workers.dev` hosts. This restores playback for direct MP4 and proxied streams that were previously skipped. * **Release workflow stability** — The automated release pipeline no longer breaks on commit messages containing special characters, ensuring every push to `main` reliably produces a tagged GitHub release and Docker image. ## New features * **VidNest provider** — A new `vidnest` provider has been added to the [provider lineup](/core/configuration/providers) and is enabled by default. It fans out across multiple VidNest backends (`klikxxi`, `allmovies`, `onehd`, `hollymoviehd`, `vidlink`, and more) in parallel, decrypts each response, and aggregates every playable stream and subtitle track into a single result. Servers that VidNest exposes but CinePro doesn't yet handle surface as `PARTIAL_SCRAPE` warnings so you can tell when new backends appear upstream. * **CineSu provider** — A new `CineSu` provider has been added and is enabled by default, contributing additional movie and TV sources via the `cine.su` manifest API. The provider performs a lightweight reachability check before returning streams so unplayable titles short-circuit cleanly. ## Updates * **StreamMafia overhaul** — The `streammafia` provider has been rewritten to use the new `sf.streammafia.to` API, including session-cookie handshake, short-lived API token negotiation, and a randomized desktop user agent on every request. All alternate audio tracks (`switches`) are now resolved in parallel and merged into the result, so multi-language titles return every available dub instead of just the selected stream. Stream URLs are deduplicated before being returned. * **Uembed fully removed** — The previously-disabled `uembed` provider has been deleted from the codebase now that its upstream service is permanently offline. The [provider list](/core/configuration/providers) has been trimmed accordingly. * **Leaner runtime** — `axios` has been dropped as a dependency in favor of the built-in `fetch` API across all providers, reducing install size and cold-start time. ## Bug fixes * **More reliable stream pattern matching** — Added the `hlmv.tripplestream.online` host to the recognized streaming-pattern list so links from that CDN are properly proxied during playback. ## New features * **MCP support for AI agents** — CinePro Core can now expose a [Model Context Protocol](https://modelcontextprotocol.io) server, letting AI agents query stream sources directly. Opt in by setting `MCP_ENABLED=true` in your [environment](/core/configuration/environment). * **Popr provider** — A new `popr` provider has been added to the [provider lineup](/core/configuration/providers) and is enabled by default. It fans out across multiple Popr/Vidnest backends in parallel, deduplicates subtitles, and now contributes additional sources to every movie and TV lookup. * **Audio track metadata** — Sources now carry per-language audio track labels, making it easier for clients to surface the right dub or original-language stream. ## Updates * **Automated release workflow polish** — Docker image labelling and the automated release pipeline have been tidied up so each release ships with cleaner metadata for the multi-architecture images on the GitHub Container Registry. ## Updates * **Richer Docker image metadata** — Official container images on the GitHub Container Registry now carry standard OCI labels (version, revision, build date, source URL), making it easier to inspect and audit the image you're running in your [Docker deployment](/quickstart#docker-compose). ## Updates * **Automated GitHub Releases** — Every push to `main` now triggers an automated release with categorized notes and multi-architecture (`amd64` / `arm64`) Docker images published to the GitHub Container Registry. Pin a specific version in your [Docker deployment](/quickstart#docker-compose) instead of always tracking `latest`. ## Bug fixes * **VidRock streaming restored** — Fixed a regression where the `crypto` module failed to load in some runtimes, causing VidRock source resolution to throw at startup. VidRock lookups are working again out of the box. ## New features * **Stremio addon support** — CinePro Core can now expose a native Stremio addon endpoint at `/stremio/manifest.json`, letting you plug CinePro directly into Stremio. Opt in by setting `STREMIO_ADDON=true` in your [environment](/core/configuration/environment). Two community addons (WebStreamerMBG and Streamify) are pre-wired out of the box. * **Automated Docker images** — Official container images are now built and published automatically to the GitHub Container Registry on every release, making [Docker deployments](/quickstart#docker-compose) simpler and more reliable. ## Updates * **Icefy provider is back** — Icefy has been rewritten to use its new public API and is enabled by default again, restoring another source for movie and TV lookups. * **Configurable CORS origin** — A new `CORS_ORIGIN` [environment variable](/core/configuration/environment) lets you restrict which origins can call the CinePro API, instead of always allowing all origins. * **OMSS framework v1.1.19** — The underlying `@omss/framework` has been updated, bringing further stability improvements to stream handling. ## Bug fixes * **Uembed sunset** — The Uembed provider has been disabled after its upstream service was shut down, preventing failed lookups and timeouts. * **Cleaner stream pattern matching** — Internal URL patterns used to recognize streaming hosts have been consolidated and properly escaped, reducing edge-case mismatches during playback. ## New features * **StreamMafia provider** — A new streaming provider has been added to CinePro Core, expanding the pool of available sources. It is currently disabled while upstream compatibility is being finalized, but will be enabled in a future release. ## Updates * **Faster VidZee scraping** — The VidZee provider now decrypts all streaming sources in parallel across all servers, significantly reducing response times for movie and TV lookups. * **Improved VixSrc provider** — VixSrc now uses a dedicated API for source resolution instead of HTML scraping, making it more reliable and resilient to upstream changes. * **License change** — CinePro Core has moved from MIT to the [PolyForm Noncommercial License 1.0.0](/core/general-information/license). You can still use, fork, and modify CinePro freely for personal and non-commercial purposes. * **OMSS framework updates** — The underlying `@omss/framework` has been updated across several releases, bringing improved stream handling and proxy pattern support. ## Bug fixes * **VidRock streaming** — Fixed an issue where VidRock sources could return unplayable links due to incorrect header construction. * **02MovieDownloader** — Resolved a bug affecting download source resolution for certain titles. * **VidZee decryption** — Fixed edge cases in the VidZee decryption pipeline that could cause some sources to fail silently. * **Disabled inactive providers** — The 2Embed and Icefy providers have been removed after becoming unreachable due to Cloudflare restrictions. This prevents unnecessary timeouts during source lookups. # Ecosystem Overview Source: https://docs.cinepro.cc/ecosystem/overview Explore the CinePro ecosystem — an open-source suite combining the Core scraping backend, a React UI, and CineHome for downloading movies and TV shows. CinePro is more than a single API — it's a small, modular ecosystem of tools that work together. Each piece has a distinct role: a compliant backend, a demo frontend, and an automation layer for home media servers. OMSS-compliant TypeScript backend. The engine of the whole ecosystem. Reference React UI built on top of Core. Useful for testing, not production. Downloads movies and TV episodes to a folder on your home server or NAS. Next.js UI that sends download requests to the CineHome Backend. *** ## CinePro Core CinePro Core is the heart of the ecosystem. It is a fully **OMSS-compliant** (Open Media Streaming Standard) streaming backend built in TypeScript using the [`@omss/framework`](https://www.npmjs.com/package/@omss/framework). Its job is to find and return playable streaming sources for movies and TV shows identified by TMDB IDs. Follows the Open Media Streaming Standard specification for a consistent, interoperable API contract. Drop-in provider folders under `src/providers/` with auto-discovery. Ships with built-in providers. Redis caching, Docker + Docker Compose support, TypeScript strict mode, and full error handling baked in. Full TypeScript implementation with strict types end-to-end for reliable provider development. CinePro Core requires a **TMDB API key** to resolve metadata. You can get one for free at [themoviedb.org/settings/api](https://www.themoviedb.org/settings/api). **Quick links:** * [GitHub → cinepro-org/core](https://github.com/cinepro-org/core) * [Quickstart guide](/quickstart) * [Configuration reference](/core/configuration/environment) * [Provider system](/core/configuration/providers) *** ## CinePro Frontend *coming soon* *** ## CineHome CineHome is a two-part automation stack — a backend service and a Next.js frontend — that lets you **automatically download movies and TV episodes** to a predefined folder on a running system such as a NAS or home server. It uses CinePro Core to resolve sources and then downloads the media locally. Node.js service that receives download requests and uses the CinePro Core API to resolve and download media to a local folder. Next.js UI that communicates with the CineHome Backend via `NEXT_PUBLIC_CINEHOMEBACKEND`. Used to queue and manage downloads. CineHome is tightly coupled to CinePro Core. Make sure your Core instance is running and reachable before setting up CineHome. **Setup overview:** Deploy Core with a valid `TMDB_API_KEY`. See the [Core quickstart](/quickstart) for full instructions. Clone [cinepro-org/CineHome-backend](https://github.com/cinepro-org/CineHome-backend), configure it to point at your Core instance, and start the service. Clone [cinepro-org/CineHome-frontend](https://github.com/cinepro-org/CineHome-frontend), set `NEXT_PUBLIC_CINEHOMEBACKEND` to your CineHome Backend URL, and run `npm run dev` or build for production. *** ## How the pieces fit together ```mermaid theme={"theme":"material-theme-darker"} flowchart TD TMDB["TMDB (Metadata)"] Core["CinePro Core

_(OMSS API)_"] FE["CinePro Frontend

_(React / Demo UI)_"] CHB["CineHome Backend

_(Download Automation)_"] CHFE["CineHome Frontend

_(WIP)_"] NAS["NAS / Home Server"] TMDB -->|metadata| Core TMDB -->|metadata| FE Core -->|stream/provide sources| FE Core -->|stream/provide sources| CHB CHFE -->|download requests| CHB CHB -->|saves files| NAS ``` *** ## Community & Discussions CinePro is actively maintained and open to contributors. The best place to get help, propose features, or discuss new providers is the GitHub Discussions board. Ask questions, share ideas, and connect with contributors. New providers, bug fixes, performance improvements, and docs are all welcome. Open a PR on the core repo. The most impactful contributions right now are **new provider implementations**. Check the existing providers under `src/providers/` in the core repo for the reference pattern. # Introduction to CinePro Core Source: https://docs.cinepro.cc/introduction Learn how CinePro Core, an OMSS-compliant TypeScript streaming backend, aggregates third-party providers into a single unified API for movies and TV. ## What is CinePro Core? CinePro Core is the foundational backend service of the CinePro ecosystem, built in TypeScript on top of the [Open Media Streaming Standard (OMSS) for movies and TV shows](https://github.com/omss-spec/omss-spec).\ It acts as **a unified scraping and streaming engine that aggregates multiple third‑party providers into a single, consistent API**. CinePro Core follows the OMSS specification to provide a predictable, strongly‑typed interface for discovering and streaming movies and TV shows. Core powers the broader CinePro ecosystem, including an experimental frontend and CineHome, by exposing a shared HTTP API and data model. ## Key features Ship CinePro Core as a container. Official multi‑architecture images are published to GitHub Container Registry (ghcr.io/cinepro-org/core); run the latest version with one command `docker run -p 3000:3000 --name cinepro-core -e TMDB_API_KEY=your-tmdb-key ghcr.io/cinepro-org/core:latest`! CinePro maintains multiple streaming providers that fan out across different third‑party sites in parallel, decrypt and aggregate results, and return a unified list of playable sources. Providers live in the [`src/providers`](https://github.com/cinepro-org/core/tree/main/src/providers) directory and can be extended without changing the core server! CinePro can expose a Stremio addon manifest at `/stremio/manifest.json`. Enable it by setting `STREMIO_ADDON=true` in your environment. CinePro Core is the **first streaming backend to ever support the Model Context Protocol (MCP)**, letting AI agents query stream sources directly. Enable it by setting `MCP_ENABLED=true` in your environment. ([News](https://github.com/omss-spec/framework#:~:text=Additionally%2C%20this%20is,using%20AI%20assistants.)) Designed for production‑grade performance with support for in‑memory caching and Redis‑backed caching in containerized deployments. Integrates with the CineHome services to automate downloading and organizing media to your own storage (such as a NAS or home server). \[Coming soon!] Pair your CinePro Core instance with the [CinePro UI](https://ui.cinepro.cc) — a browser frontend that connects to your server via its OMSS API. On startup, CinePro Core prints a banner with a ready-to-use link of the form `https://ui.cinepro.cc/?omssurl=`. The UI is in public testing and contributions are welcome at [cinepro-org/ui](https://github.com/cinepro-org/ui). ## Intended use CinePro Core is intended for **personal, home, and educational use only**.\ It is not designed or supported for commercial or large‑scale streaming deployments. * Run CinePro Core on your own hardware (for example, a home server or NAS). * Treat the codebase as a starting point for your own experiments and custom scrapers. **Do not use CinePro Core as a commercial streaming platform or a hosted content service.**\ The maintainers do not provide SLAs, scaling guarantees, or legal guidance for production‑grade usage. **It is not secure for public hosting by default.** ## Legal and content responsibilities CinePro Core does **not** host, upload, or store any video files.\ It only discovers and aggregates links that are already publicly available on third‑party sites. * You are solely responsible for how you use CinePro Core and which providers you enable. * Ensure that your usage complies with all applicable laws and regulations in your jurisdiction. **Nothing in this documentation constitutes legal advice.** If you are unsure whether your use of CinePro Core is lawful, consult a qualified legal professional before proceeding. ## Next steps Install dependencies, configure your TMDB API key, and run CinePro Core locally in a few minutes. Learn how the OMSS‑style HTTP API is structured and how to fetch movie and TV show sources programmatically. # Quickstart Source: https://docs.cinepro.cc/quickstart Get a CinePro Core streaming backend running on your machine in 5-10 minutes using Docker or a local Node.js setup with your TMDB API key. ## Prerequisites Before you start, you will need: * **A TMDB API key** — [Get one for free at themoviedb.org](https://www.themoviedb.org/settings/api) Make sure you have Docker installed and running. You can download it from [docker.com](https://www.docker.com/get-started). ```bash theme={"theme":"material-theme-darker"} docker run --name cinepro-core -p 3000:3000 -e TMDB_API_KEY=your_tmdb_api_key_here ghcr.io/cinepro-org/core:latest ``` This command pulls the latest CinePro Core image, starts it in a container, and exposes it on port 3000. Make sure to replace `your_tmdb_api_key_here` with your actual TMDB API key. You can add more environment variables as needed (e.g. `HOST`, `PORT`, `CACHE_TYPE`, etc.) — just append `-e VAR_NAME=value` for each one. Install Node.js **v20 or higher**. ```bash theme={"theme":"material-theme-darker"} winget install OpenJS.NodeJS.LTS ``` Download and run the LTS installer from [nodejs.org](https://nodejs.org/en/download/). Verify your installation: ```bash theme={"theme":"material-theme-darker"} node -v # should print v20.x.x or higher npm -v ``` ```bash theme={"theme":"material-theme-darker"} git clone https://github.com/cinepro-org/core.git cd core ``` ```bash theme={"theme":"material-theme-darker"} npm install ``` Copy the example environment file and fill in your values: ```bash theme={"theme":"material-theme-darker"} copy .env.example .env ``` Open `.env` in your editor and set at minimum: ```env theme={"theme":"material-theme-darker"} # Required TMDB_API_KEY=your_tmdb_api_key_here # Server PORT=3000 HOST=localhost NODE_ENV=development # Cache (use 'memory' for local dev) CACHE_TYPE=memory ``` `CACHE_TYPE=memory` is fine for development. Switch to `redis` for production deployments. ```bash theme={"theme":"material-theme-darker"} npm run dev ``` CinePro Core will start with hot reload at [http://localhost:3000](http://localhost:3000). Install Node.js **v20 or higher**. ```bash theme={"theme":"material-theme-darker"} curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash source ~/.bashrc nvm install 20 nvm use 20 ``` ```bash theme={"theme":"material-theme-darker"} curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt-get install -y nodejs ``` Verify your installation: ```bash theme={"theme":"material-theme-darker"} node -v # should print v20.x.x or higher npm -v ``` ```bash theme={"theme":"material-theme-darker"} git clone https://github.com/cinepro-org/core.git cd core ``` ```bash theme={"theme":"material-theme-darker"} npm install ``` ```bash theme={"theme":"material-theme-darker"} cp .env.example .env ``` Edit `.env` and set at minimum: ```env theme={"theme":"material-theme-darker"} # Required TMDB_API_KEY=your_tmdb_api_key_here # Server PORT=3000 HOST=localhost NODE_ENV=development # Cache CACHE_TYPE=memory ``` ```bash theme={"theme":"material-theme-darker"} npm run dev ``` CinePro Core will start with hot reload at [http://localhost:3000](http://localhost:3000). Install Node.js **v20 or higher**. ```bash theme={"theme":"material-theme-darker"} brew install node@20 ``` ```bash theme={"theme":"material-theme-darker"} curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash source ~/.zshrc nvm install 20 nvm use 20 ``` Verify your installation: ```bash theme={"theme":"material-theme-darker"} node -v # should print v20.x.x or higher npm -v ``` ```bash theme={"theme":"material-theme-darker"} git clone https://github.com/cinepro-org/core.git cd core ``` ```bash theme={"theme":"material-theme-darker"} npm install ``` ```bash theme={"theme":"material-theme-darker"} cp .env.example .env ``` Edit `.env` and set at minimum: ```env theme={"theme":"material-theme-darker"} # Required TMDB_API_KEY=your_tmdb_api_key_here # Server PORT=3000 HOST=localhost NODE_ENV=development # Cache CACHE_TYPE=memory ``` ```bash theme={"theme":"material-theme-darker"} npm run dev ``` CinePro Core will start with hot reload at [http://localhost:3000](http://localhost:3000). Docker Compose is the **recommended production deployment** method. It includes a Redis instance automatically. This is overkill if you just want to run a local dev server, but it's a great way to get a production-like environment up and running quickly. Download and install [Docker Desktop](https://www.docker.com/get-started) (includes Compose). Verify: ```bash theme={"theme":"material-theme-darker"} docker -v docker compose version ``` ```bash theme={"theme":"material-theme-darker"} git clone https://github.com/cinepro-org/core.git cd core ``` ```bash theme={"theme":"material-theme-darker"} cp .env.example .env ``` The only variable required by `compose.yml` is `TMDB_API_KEY` — Redis is configured automatically: ```env theme={"theme":"material-theme-darker"} TMDB_API_KEY=your_tmdb_api_key_here ``` The Compose file sets `CACHE_TYPE=redis` and wires `REDIS_HOST=redis` automatically. You don't need to change those values. ```bash theme={"theme":"material-theme-darker"} docker compose up -d ``` This builds the `cinepro-core` image and starts it alongside a **Redis 7 Alpine** container on a shared bridge network. The server is exposed on port **3000**. ```bash theme={"theme":"material-theme-darker"} docker compose logs -f cinepro-core ``` *** ## Production build (without Docker) If you prefer running without Docker in a production environment: ```bash theme={"theme":"material-theme-darker"} # 1. Build the TypeScript source npm run build # 2. Set production env vars NODE_ENV=production # 3. Start the compiled server npm start ``` Set `NODE_ENV=production` to silence debug logging. For persistence across restarts consider a process manager such as **PM2** (`pm2 start dist/server.js`). *** ## Available scripts | Command | Description | | ---------------- | ---------------------------------------------- | | `npm run dev` | Development server with hot reload | | `npm run build` | Compile TypeScript to `dist/` | | `npm start` | Start production server (requires build first) | | `npm run format` | Format code with Prettier | *** Your server is running — dive into the OMSS-compliant endpoint reference to start fetching movie and TV show sources. Learn how to enable, disable, or add new streaming source providers to your CinePro Core instance. Use the [CinePro UI](https://ui.cinepro.cc) (public beta) to browse and stream from your instance in the browser. On startup, the server prints a ready-to-use link of the form `https://ui.cinepro.cc/?omssurl=` derived from your [`PUBLIC_URL`](/core/configuration/environment#param-public-url). # CinePro UI - Public Beta Source: https://docs.cinepro.cc/ui/notice CinePro UI is currently in public beta. You can test it at [ui.cinepro.cc](https://ui.cinepro.cc). Set everything up and enjoy the Binge Session uninterrupted. CinePro/ui homepage CinePro/ui homepage phone view CinePro UI is in **early beta**. Expect bugs, incomplete features, and breaking changes between updates. It is not suitable for production use. CinePro UI is a full-stack movie and TV interface built on [@fastify/vite](https://github.com/fastify/fastify-vite) with [shadcn/ui](https://ui.shadcn.com/). It connects to a CinePro Core instance (or any OMSS-compliant backend) to browse and stream movies and TV shows with the help of the official [`@omss/sdk`](https://github.com/omss-spec/sdk). *** ## What ~~(should)~~ work The following pages and features are available in the current build: * **Home** — trending and featured content from TMDB * **Movies** — browse and filter movies * **Shows** — browse and filter TV series * **Watch** — stream movies and episodes via HLS.js using sources from CinePro Core * **Settings** — configure the connected OMSS backend URL and preferences *** ## Known limitations This information listed here, might be not up to date. Because this is an early beta, the following limitations currently apply: * User accounts and watch history are **not yet stable**. Data may be lost between updates. * Some UI components are incomplete or placeholder-only. * The HLS player may behave differently across browsers (best tested in Chrome/Chromium). * Mobile experience is barely functional but not fully polished. *** ## Report a bug or contribute Bugs and feedback are welcome on [GitHub](https://github.com/cinepro-org/ui). If you'd like to contribute — whether that's fixing a bug, adding a feature, or improving the UI — fork the repository and open a pull request. Motivated contributors (and their agents) are very welcome. Report a bug or request a feature on GitHub. Join the discussion and connect with other contributors. # Setup CinePro/UI Source: https://docs.cinepro.cc/ui/setup Quickstart using CinePro/UI with CinePro Core CinePro UI at [ui.cinepro.cc](https://ui.cinepro.cc/) is a hosted interface — it runs in your browser but does **not** include a backend. To stream/watch content you need a running CinePro Core instance and then point the UI at it. This guide covers the fastest path: spin up Core locally, then connect the hosted UI to it. More detailed docs will come later. *** For that, do the [Quickstart Guide](/quickstart) The hosted UI at [ui.cinepro.cc](https://ui.cinepro.cc/) runs in your browser and calls your Core instance directly on your device. **For that reason you have to allow your browser access to "Apps on this Device".** There are two ways to point [ui.cinepro.cc](https://ui.cinepro.cc/) at your CinePro Core instance. ### Option A — URL parameter Append `?omssurl=` to the hosted UI URL and open it in your browser. The UI will automatically use that instance without any manual setup. In the latest CinePro Core releases, it already provides you the link in the console. ``` https://ui.cinepro.cc/?omssurl=http://localhost:3000 ``` ### Option B — Settings page 1. Open [ui.cinepro.cc](https://ui.cinepro.cc/) in your browser. 2. Navigate to [Settings → OMSS tab](https://ui.cinepro.cc/settings?tab=omss). 3. Enter your Core instance URL and wait until the badge says `Connected!`. You can verify that everything is alright, when the Globe in the header is connected. Enjoy!