explaingit

librespark/libretv

13,527JavaScriptAudience · generalComplexity · 2/5Setup · easy

TLDR

LibreTV is a free, self-hosted web app that searches third-party video sources and plays results in your browser, no account needed, works on any device.

Mindmap

mindmap
  root((repo))
    What it does
      Search video sources
      Stream in browser
      No account needed
    Tech stack
      JavaScript CSS
      Tailwind CSS
      HLS.js DPlayer
    Deployment
      Cloudflare Pages
      Vercel Netlify
      Docker local
    Use cases
      Personal streaming
      Custom sources
      Multi-device use
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Deploy your own private video search and streaming site on Cloudflare Pages or Vercel in minutes using a one-click deploy button.

USE CASE 2

Set up a self-hosted media browser that aggregates results from multiple third-party video APIs into one interface.

USE CASE 3

Add custom video sources in a standard API format to extend what LibreTV can search and play.

Tech stack

JavaScriptHTMLCSSTailwind CSSHLS.jsDPlayerNode.js

Getting it running

Difficulty · easy Time to first run · 30min

Must set a PASSWORD environment variable on every deployment for security and legal compliance.

In plain English

LibreTV is a lightweight, free web app for searching and watching online video. Its README is written in Chinese. The idea is that you deploy your own copy of LibreTV, and it then searches across several third-party video sources and plays the results in your browser. There is no account or registration: once it is running, you open it and use it, and it works across different devices. The project is a rebuild and extension of an earlier project called bestK/tv. Most of the README is a deployment guide. Because LibreTV includes a small backend proxy as well as the web pages, it needs to run on a host that supports server-side functions. The README gives step-by-step instructions for several free hosting platforms, including Cloudflare Pages, Vercel, Netlify, and Render, each with a one-click deploy button. It also shows how to run it yourself using Docker or Docker Compose, and how to set up a local development environment with Node.js. A repeated, emphasized instruction is that every deployment must set a PASSWORD environment variable, both for security and to avoid copyright disputes. The project is clear about its intended use and its legal limits. It states that LibreTV is for learning and personal use only, should not be used commercially or as a public service, and that users are responsible for following their local laws. A disclaimer explains that LibreTV is only a search tool: it does not store, upload, or distribute any video itself, and all results come from third-party APIs. The README also covers some practical details. You can add your own custom video sources if they follow a standard API format. The video player supports keyboard shortcuts for play and pause, seeking, volume, mute, and full screen. The listed technology stack includes plain HTML, CSS, and JavaScript, Tailwind CSS for styling, the HLS.js library and DPlayer for video playback, serverless functions on the chosen host, and browser local storage for saving settings.

Copy-paste prompts

Prompt 1
How do I deploy LibreTV on Cloudflare Pages and set the required PASSWORD environment variable to secure it?
Prompt 2
Write a docker-compose.yml to run LibreTV locally with a custom video source endpoint configured.
Prompt 3
How do I add a custom third-party video API source to my LibreTV deployment?
Prompt 4
What keyboard shortcuts does LibreTV's video player support for playback control?
Open on GitHub → Explain another repo

← librespark on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.