Ana Sayfa / Kod ve Scriptler / Kitsuya - Self-hosted Video streaming

Kitsuya - Self-hosted Video streaming

Kitsuya, anime (veya bölüm bölüm herhangi bir video kataloğu) için anahtar teslim, kendi sunucunuzda barındırılan bir yayın platformudur.

  • Yayın tarihi26 Ağustos 2026
  • Nerede çalışırPHP 8.3, PHP 8.4
  • Paket içeriği.php, .css, .html, .sql, JavaScript .js
  • Son güncelleme26 Ağustos 2026
  • Canlı demoVar
Kitsuya -  Self-hosted Video streaming

Overview

Kitsuya is a turnkey, self-hosted streaming platform for anime and episodic video — run entirely on your own server with no scraping or third-party dependencies. Launch in minutes with a guided 4-step installer, a premium dark/light UI with OS detection, full admin control, JSON API v1, PWA and optional subscriptions via Stripe, Paystack, PayPal and PayU. Ships install-ready with vendor/ and pre-built assets — just upload, point your document root to public/, and go live. Disocord Channel for updates on Titles and episodes - https://discord.gg/kbX8jxx7q

Features

Full Features — Public Site & Discovery

  • Homepage with configurable hero (auto by popularity or manual featured), trending, continue watching (resume), recently updated, popular, currently airing, upcoming and genre rows — controlled at Settings → Homepage hero
  • Browse & filter by type (tv/movie/ova/ona/special), status (currently_airing/finished_airing/upcoming/hiatus), season, year, genre, tag, studio; combined filters with pagination
  • A–Z index (/a-z, /a-z/{letter}), genre hubs (/genres, /genre/{genre}), full weekly schedule (/schedule) derived from episode air dates + airing_day
  • Instant search with live suggestions (/search/suggest) and full results at /search; search by title, synonym and description
  • Title detail at /anime/{slug}: poster, banner, cover, synopsis, metadata (type, status, season, year, duration, popularity, rating), genres/tags/studios, episode list, related/recommendations, ratings, watchlist/favorite toggles, share
  • Random title (/random) and Open Graph tags (og-landing.png) for social previews
  • Dark + light themes — OS detection (prefers-color-scheme), persistent toggle (localStorage), ?theme=dark|light URL override for support/screenshots
  • Static pages: /about, /privacy, /terms, /cookies, /dmca, /contact (with inbox), locale switcher (/locale/{locale})

Player & Streaming

  • Adaptive watch page at /watch/{anime}/{episode}: HLS (.m3u8 via hls.js), MPEG-DASH (.mpd), progressive MP4/WebM, embed (sandboxed iframe); quality label, server selector with priority-based failover
  • Sub/dub audio switching per stream, per-source WebVTT subtitles ({lang,label,url,default}), Referer header injection for protected CDNs, thumbnail, air date and duration
  • Optional server-side stream proxy (/proxy/stream) for Referer/mixed-content and image proxy (/img) that caches remote artwork to public/media/imgcache/ for performance
  • Lightweight health probing (KITSUYA_PROBE_STREAMS) — dead links hidden automatically; set false on hosts that block outbound HTTP; local /media/ URLs are always served
  • Watch progress saved per user/episode (progress.store, api/v1/progress) — Continue Watching resumes correctly; report broken stream (/watch/{anime}/{episode}/report-broken)
  • Supports HLS native on Safari/iOS, Range requests for MP4, and embed sandbox attributes

Community & Accounts

  • Auth: registration (/register), login (/login), logout, email verification, password reset (/forgot-password, /reset-password/{token}), username/email availability checks (/auth/check-username, /auth/check-email)
  • Google OAuth (/auth/google, /auth/google/callback) — hidden until GOOGLE_CLIENT_ID/SECRET set; redirect URI https://your-domain.com/auth/g...
  • TOTP two-factor: setup (/two-factor/setup), verify, confirm, challenge (/two-factor/challenge), disable — via pragmarx/google2fa-laravel
  • Watchlists: add/toggle/update at /watchlist/toggle, /watchlist/update, /api/v1/watchlist; Favorites: toggle at /favorites/toggle, /api/v1/favorites/toggle; Ratings: star ratings at /ratings, /api/v1/ratings aggregated to rating_avg/rating_count
  • Comments: per-title threads at POST /comments, /api/v1/comments with likes (POST /comments/{comment}/like), moderation (hide/restore) in admin
  • Notifications: in-app list at /notifications, /api/v1/notifications + mark-all-read (POST /notifications/read); follower notifications
  • Profiles: own profile (/profile, POST /profile), dashboard (/dashboard), public profiles at /u/{username} with followers/following tabs (/u/{username}/followers, /following), follow toggle (POST /u/{user}/follow)
  • Contact form (POST /contact) with admin inbox and status updates

Monetization

  • Premium ad-free tier at /upgrade — plans, checkout per provider (POST /upgrade/checkout/{provider}), success/redirect handlers, upgrade/success page
  • Gateways: Stripe (STRIPE_KEY/SECRET/WEBHOOK_SECRET → /webhooks/stripe), Paystack (PAYSTACK_PUBLIC_KEY/SECRET → /webhooks/paystack), PayPal (PAYPAL_CLIENT_ID/SECRET/MODE → /webhooks/paypal), PayU (PAYU_MERCHANT_KEY/SALT/MODE → /webhooks/payu) — HMAC/signature verified
  • Config: MONETIZATION_ENABLED, PREMIUM_DAYS/PRICE/CURRENCY; webhooks publicly reachable over HTTPS, test in sandbox/test mode before live
  • Ad slots: hero, sidebar/inline, footer, top — toggled at Settings → Advertising (ads.enabled + ads.hero_html/sidebar_html/footer_html/inline_html/top_html), hidden for premium users

Administration (/admin)

  • Dashboard: counts for titles, episodes, users, pending comments, subscriptions, reports, recent activity
  • Analytics (/admin/analytics) — traffic/engagement from opt-in store; Audit Log (/admin/audit) — chronological record of admin changes
  • Anime: list/create/edit at /admin/anime, toggle featured (/admin/anime/{anime}/toggle-featured) and publish (/toggle-publish); per-title episode management
  • Episodes: per-title list/create/edit at /admin/anime/{anime}/episodes; Streams: per-episode CRUD at /admin/anime/{anime}/episodes/{episode}/streams (URL, format mp4/hls/dash/embed/webm, quality, audio sub/dub, subtitles, referer, priority)
  • Global Streams index (/admin/streams), Taxonomies (/admin/taxonomies/{type}) for genres/tags/studios — pre-seeded, fully editable
  • Users (/admin/users, /admin/users/{user}/edit, toggle-active), Comments/moderation (/admin/comments, hide/restore), Messages (/admin/messages, status update), Reports (/admin/reports, resolve), Payments ledger (/admin/payments)
  • Settings (/admin/settings) — site.name, site.tagline, site.analytics_id (GA4, empty = no tracking), hero.mode/featured, schedule.timezone, ads.*
  • Demo mode (DEMO_MOD

Requirements

PHP 8.3+ (8.4 recommended) — extensions: pdo_mysql, mbstring, openssl, ctype, tokenizer, json, bcmath, curl, fileinfo, gd, zip, xml, dom, filter, session, hash. CLI and web SAPI must match.

Database: MySQL 8.0+ or MariaDB 10.6+ — one DB + user with ALL PRIVILEGES, utf8mb4, collation utf8mb4_unicode_ci

Web server: Apache 2.4+ (mod_rewrite, AllowOverride All) or Nginx 1.22+ — document root → public/ — HTTPS recommended for PWA + webhooks

PHP ini: upload_max_filesize ≥32M, post_max_size ≥32M, max_execution_time ≥120, memory_limit ≥256M, max_input_time ≥60

Permissions: writable .env, storage/ (recursive), bootstrap/cache/ — chmod -R 775 storage bootstrap/cache; chown -R www-data:www-data storage bootstrap/cache

Composer v2 / Node 20+ only to rebuild — ready vendor/ and pre-built public/css + public/vendor/hls.min.js included

Cron: * * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1 (Windows: Task Scheduler)

Mail: SMTP for verification/password reset — defaults to log driver

Outbound HTTP for TMDB/probing — if blocked set KITSUYA_PROBE_STREAMS=false; local /media/ URLs always allowed