Skip to main content
Glama

Screenshots

Desktop (Light — Porcelain)

Desktop (Dark — Velvet)

Cinepull Desktop Light

Cinepull Desktop Dark

Active Stage (Probe & Quality Drawer)

Mobile (390×844 Single-Screen Fit)

Cinepull Active Stage

Cinepull Mobile Light


Related MCP server: HuntAPI MCP Server

Key Capabilities

Area

Details

v3d Silk Editorial UI

26-layer parametric silk-ribbon <canvas> (prefers-reduced-motion static fallback), FOUC-free light-dark() + color-scheme, full en / zh-CN i18n, global paste distillation, and oklab gradient progress CTA.

Share-Text Distillation

Paste messy multi-line oral-copy from Douyin, Bilibili, Xiaohongshu, TikTok, YouTube, X, Instagram, or .m3u8 anywhere on the page to distill the canonical URL locally.

3-Path Media Engine

Server-side execFile (shell: false, --) orchestrating yt-dlp (+ Deno & optional bgutil-ytdlp-pot-provider), ffmpeg (HLS/M3U8 & DASH muxing), and aria2c/HTTP Range. Supports optional per-platform EXTRACTOR_PROXY_URL.

0-Credit Transcripts

Extract WebVTT/SRT captions into clean Markdown or .srt in seconds via /api/transcript or cinepull_transcript at 0 credits.

Storage & Lifecycle

Per-job /data/tmp/<job_id>/ isolation, (url_hash, mode, quality) dedup cache, HMAC-signed download links (max 3 downloads, HTTP Range), active_streams > 0 delete lock, 5-min TTL sweeper (30m default), 5 GiB LRU eviction, and optional Cloudflare R2 delivery (DELIVERY_MODE=r2).

Dual Mode & Auth

PUBLIC_MODE=false (zero-config self-host, unlimited) or PUBLIC_MODE=true (Better Auth GitHub/Google OAuth + Email/Resend, Turnstile, credit_ledger pre-charge/refund, GitHub Star + Follow X missions, cp_live_... API keys, 4D rate limits).

AI Agent & MCP

Built-in Streamable HTTP MCP server at /api/mcp (cinepull_probe, cinepull_download, cinepull_transcript, cinepull_job_status), /llms.txt, /openapi.json, /.well-known/mcp.json, glama.json, and skills/cinepull/SKILL.md.


Quick Start

cp .env.example .env
# Edit .env and set strong values for BETTER_AUTH_SECRET and DOWNLOAD_HMAC_SECRET
docker compose up -d --build

Cinepull runs in PUBLIC_MODE=false by default (zero login required) and exposes http://localhost:3000. Verify health:

curl -sf http://localhost:3000/api/health

To enable the optional YouTube PO-token provider sidecar:

BGUTIL_POT_PROVIDER_URL=http://bgutil-pot:4416 docker compose --profile pot up -d

See Local Deployment and VPS & R2 Deployment for production setup (PUBLIC_MODE=true, DELIVERY_MODE=r2, EXTRACTOR_PROXY_URL).

2. Local Development

pnpm install
docker compose -f docker-compose.test.yml up -d --wait
DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:5433/cinepull_test pnpm db:migrate
pnpm dev

Configuration

All configuration is via environment variables. .env.example lists every variable the app, scripts, and Compose files read, with defaults and comments. The most important ones:

Variable

Required

Purpose

DATABASE_URL

Yes

PostgreSQL 16 connection string (migrations run on container start).

BETTER_AUTH_SECRET

Yes

Session signing secret (openssl rand -base64 32).

DOWNLOAD_HMAC_SECRET

Recommended

HMAC key for signed download links (falls back to BETTER_AUTH_SECRET).

BETTER_AUTH_URL

Yes (public)

Public origin, e.g. https://dl.example.com.

PUBLIC_MODE

No (false)

true enables login, credits, Turnstile, and rate limits.

DELIVERY_MODE

No (local)

r2 uploads finished files to Cloudflare R2 (R2_* variables).

DATA_TMP_DIR

No (/data/tmp)

Per-job scratch storage.

GITHUB_CLIENT_ID/SECRET, GOOGLE_CLIENT_ID/SECRET

No

OAuth sign-in providers (PUBLIC_MODE=true).

LOGTO_ENDPOINT, LOGTO_APP_ID, LOGTO_APP_SECRET

No

Optional FireTable ID (Logto OIDC) sign-in, see docs/LOGTO.md.

RESEND_API_KEY, RESEND_FROM_EMAIL

No

Email verification for email/password sign-up.

TURNSTILE_SITE_KEY, TURNSTILE_SECRET_KEY

No

Cloudflare Turnstile bot protection.

INITIAL_ADMIN_EMAIL

No

Account created with this email becomes admin.

EXTRACTOR_PROXY_URL, EXTRACTOR_PROXY_<PLATFORM>

No

Outbound proxy for extractors.

SSRF_BLOCKED_HOSTS, SSRF_BLOCKED_IPS

Recommended (public)

Extra SSRF blocklist for your own domains and server IPs.

See Auth, Credits & Quotas for the full auth configuration.


AI Agent & MCP Integration

Cinepull natively exposes a stateless Streamable HTTP MCP server at /api/mcp alongside machine-readable discovery manifests:

{
  "mcpServers": {
    "cinepull": {
      "type": "http",
      "url": "http://localhost:3000/api/mcp",
      "headers": {
        "Authorization": "Bearer cp_live_your_key_here"
      }
    }
  }
}

In PUBLIC_MODE=false, Authorization is optional. In PUBLIC_MODE=true, generate a cp_live_... API key from the Studio account dialog (Agent & API) or POST /api/keys. See MCP Integration Guide.


Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to download, transcribe, and read metadata for any video or audio URL - YouTube, TikTok, X, podcasts and 1000+ sites - working from agent sandboxes and servers where direct downloads usually get blocked. $3 free credit, no card.
      12
      274 npm
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables MCP clients to download video and audio from public media URLs, extract their metadata, and poll async jobs for progress and results, plus check account usage and credit balance. Runs locally over stdio or self-hosted Streamable HTTP with per-request API key authentication.
      7
      65 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents and MCP clients to fetch details about, and download, videos and audio from YouTube, Instagram, TikTok, Facebook, X and Pinterest as MP4 video or MP3 audio through tool calls, returning a temporary download link rather than file bytes. It also supports checking, waiting on and cancelling download jobs with structured, machine-readable errors.
      4
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to compose, edit, caption, preview and render editable video projects into MP4s through a hosted Streamable HTTP MCP endpoint. Agents can check account credits, prepare media, estimate costs and submit long-running render jobs that return finished video links.
      2
      Apache 2.0