FreeTV is an open-source platform for curating, publishing, browsing, and watching hand-picked television shows and movies from the Internet Archive. The project includes a web-based Viewer for watching content and a graphical Admin Dashboard for organizing and publishing it.
Live site: https://freetv.today
The Internet Archive contains an enormous collection of public-domain and classic media, but finding and organizing that content can be difficult. FreeTV provides curated playlists and a straightforward interface for discovering and watching selected content.
FreeTV does not provide live television or IPTV services. Video content is hosted and served by the Internet Archive.
FreeTV is organized into focused repositories for the Admin Dashboard, Viewer, distributable data, and cross-repository Tooling. Each repository can be worked with independently where appropriate, while Tooling supports workflows that combine them into a complete FreeTV site.
You do not need to download or build every FreeTV repository. Choose the repository that owns the part of the project you want to use or modify.
| I want to... | Start here | Why? |
|---|---|---|
| Watch FreeTV | Visit freetv.today. | The hosted FreeTV Viewer runs directly in a modern web browser. |
| Run or modify the Admin Dashboard | freetv-admin |
Contains the Admin frontend, PHP API, MariaDB integration, First Run process, and publication system. |
| Run or modify the Viewer | freetv-viewer |
Contains the end-user application that reads published FreeTV data. |
| Inspect or distribute FreeTV datasets | freetv-data |
Contains official distributable datasets, Viewer artifacts, thumbnails, SQL packages, and release metadata. |
| Run the repositories together | freetv-tooling |
Provides the coordinated development environment and cross-repository commands. |
| Build a complete deployable FreeTV site | freetv-tooling |
Builds and verifies a production assembly. Tooling prepares the files but does not upload or deploy them automatically. |
The four FreeTV repositories have separate responsibilities but share defined data and build contracts.
flowchart TD
TOOLING["freetv-tooling"] -->|"Coordinates"| ADMIN["freetv-admin"]
TOOLING -->|"Coordinates"| DATA["freetv-data"]
TOOLING -->|"Coordinates"| VIEWER["freetv-viewer"]
DATA -->|"Provides initial datasets"| ADMIN
ADMIN -->|"Publishes Viewer artifacts"| VIEWER
freetv-adminprovides the FreeTV Admin Dashboard, PHP API, MariaDB-backed management system, First Run process, and publication system.freetv-viewerprovides the end-user application that consumes published static artifacts.freetv-dataowns the official distributable datasets, Viewer artifacts, SQL packages, release packages, and integrity metadata.freetv-toolingcoordinates cross-repository development, validation, data workflows, builds, and production assembly.
MariaDB is authoritative for data managed through the Admin Dashboard. The Viewer does not connect directly to MariaDB. It consumes static JSON artifacts generated by the publication workflow and thumbnail files maintained in the configured public directory.
Tooling can assemble the Viewer, Admin Dashboard, PHP runtime, and published data into a verified production build. It does not automatically upload or deploy that build.
FreeTV uses several related workflows with different purposes and ownership:
| Workflow | Purpose | Primary interface or command |
|---|---|---|
| Viewer publication workflow | Export current MariaDB content as Viewer-compatible static JSON artifacts. | Admin Dashboard Publish page |
| Dataset publication workflow | Validate current Admin data and a reconciled Data Snapshot, then publish freshly generated canonical artifacts to the local freetv-data repository. |
npm run data:publish -- --snapshot=<PATH> |
| Dataset release packaging workflow | Build the Current Sample Data and Current Official Data ZIP packages consumed by First Run. | npm run release:build |
| Production assembly workflow | Combine the Viewer, Admin Dashboard, PHP runtime, current Viewer data, and thumbnails into a verified deployable site. | npm run build:all |
Most administrators only need the Viewer publication workflow.
Dataset publication and release packaging are advanced workflows for maintainers or operators who distribute canonical FreeTV datasets. See the freetv-tooling documentation for production assembly and advanced dataset workflows.
FreeTV is developed and maintained by Ken Dawson.