One Minute to Deploy an Online Video Aggregation Site to Search & Watching Videos – LibreTV (Cloudflare and Docker)

LibreTV is a lightweight, free online video search and viewing platform that provides content search and playback services from multiple video sources. No registration is required, it is ready to use and supports access from multiple devices. The project combines front-end technology and back-end proxy functions and can be deployed on various website hosting services that support server-side functions. Project portal : libretv.is-an.org

Introduction

This project is reconstructed and enhanced based on bestK/tv .

Features:

  • Completely free
100% free to use, without any paid features and no membership system, allowing everyone to enjoy the freedom of watching movies.
  • Smart ad filtering
Built-in HLS ad slicing filtering logic minimizes ad interference during video playback and provides a purer viewing experience.
  • Open source and transparency
Completely open source, code transparent, community-driven development, safe and reliable.
  • Multi-source aggregation
Aggregate multiple high-quality video sources, intelligent search, and rich content library to meet the viewing needs of different users. Support standard Apple CMS V10 API format and customize the interface source.
  • Responsive design
Perfectly compatible with various devices such as mobile phones, tablets, computers, etc., it supports keyboard shortcut operations and allows you to enjoy watching movies anytime and anywhere.
  • Easy to deploy
Supports multiple deployment methods such as Docker, Vercel, Netlify, Cloudflare, etc., and quickly builds personal instances.

Docker Deployment

Docker

docker run -d / --name libretv / --restart unless-stopped / -p 8899:8080 / -e PASSWORD=your_password / -e ADMINPASSWORD=your_adminpassword / bestzwei/libretv:latest 

Docker Compose

docker-compose.yml :

services: libretv: image: bestzwei/libretv:latest container_name: libretv ports: - "8899:8080" # Map Internal 8080 Port to Host's 8899 public port environment: - PASSWORD=${PASSWORD:-your_password} # Change your_password to your own password, default is your_password - ADMINPASSWORD=${PASSWORD:-your_adminpassword} # Change your_adminpassword to your own admin,default is your_adminpassword restart: unless-stopped

Start LibreTV Docker :

docker compose up -d

Visit http://<PUBLIC IP Address>:8899 to start use it. 

Cloudflare Pages Deployment

Cloudflare Pages [ Official Website ]

  1. Fork or clone this repository to your GitHub account [ LibreTV repository link ]
  2. Log in to  Cloudflare Dashboard and go to Pages service
  3. Click "Create Project" to connect your GitHub repository
  4. Use the following settings:
    • Build command: Leave blank (no need to build)
    • Output directory: Leave blank (default is the root directory)
  5. PASSWORD ⚠️ Important: Add variables in Settings > Environment Variables 
  6. ADMINPASSWORD Optional: Add variables in Settings > Environment Variables 
  7. Click "Save and Deploy"
  8. Connecting video interface
    Fantuan TV https://www.fantuan.tv/api.php/provide/vod/
    Film and TV Factory https://cj.lziapi.com/api.php/provide/vod/
    Qiqi Resources https://www.qiqidys.com/api.php/provide/vod/

Add two environment variables into project settings. 

https://i.51sec.org/2025/chrome_Ufw4y3jImv.png

Retry deployment:

After you changed variable(s), you will need to redeploy the project. 

Videos

References

版权声明:
作者:Mr李
链接:https://www.techfm.club/p/218168.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>