AHCL is a fast, secure, and scalable Live TV Streaming Platform application built on React (Vite) and deployed through Cloudflare Pages & Workers. It uses Cloudflare D1 as its database layer and includes a complete admin dashboard for link and system management.
One of the biggest advantages of this project is that it runs entirely on Cloudflare’s free tier. Both Cloudflare Pages and D1 Database offer generous lifetime free usage, making this solution extremely cost-effective for personal projects, startups, and production-ready deployments without any hosting expenses.
Experience the full functionality of the Live TV Streaming Platform with all features available online!
🚀 Web: https://ahcl.pages.dev/
- Modern UI/UX
- Responsive Design
- Admin Panel
- 24/7 Updated Tv Links
- Unlimited Playlists Import
- Google Drive Links Supported
- Lifetime Free Server
- Frontend: React 18, Vite, TypeScript, Tailwind CSS, shadcn/ui
- Backend: Cloudflare Pages Functions (Workers runtime)
- Database: Cloudflare D1 (SQLite)
- Hosting: Cloudflare Pages
Follow the steps below to deploy the project successfully using Cloudflare Pages & Workers.
- First, fork this repository to your own GitHub account.
- Sign up or log in at https://cloudflare.com.
- Go to Cloudflare Dashboard.
- Navigate to:
Compute → Pages & Workers → Create Application - Click Looking to deploy Pages? Get started
- Select Import an existing Git repository
- Connect your GitHub account & Then Select the forked repository.
Use the following settings:
- Framework Preset: React (Vite)
- Build Command:
npm install && npm run build - Output Directory:
dist - Root Directory:
/
Add Environment Variables:
- Variable Name:
SKIP_DEPENDENCY_INSTALL - Value:
true - Type: Text
Save the configuration and proceed with deployment.
The initial deployment will now be completed. After that, copy your project URL. it will look like name.pages.dev. Then, open the .env.production file in your GitHub repository and replace the existing project link with your new project URL. Once saved, the project will automatically trigger a new deployment.
After the project is successfully deployed, follow these steps:
- Navigate to:
Storage & Databases → D1 - Click Create Database
- Configure as follows:
- Database Name:
ahcl-db - Location: Default / automatic location
- Database Name:
- Now Copy your Database UUID and paste it into Github Repo ->
/wrangler.jsoncfile in the"database_id"field.
- Open your newly created database.
- Click Explore Data.
- In the query editor:
- Open the file:
public/Schema.sql - Copy full schema
- Paste it into the query field
- Click Run all from Dropdown
- Open the file:
- Navigate to:
Compute → Pages & Workers - Select your deployed project.
- Go to Settings → Bindings
- Click Add Binding
- Choose D1 Database
- Configure:
- Variable Name:
DB - Database:
ahcl-db
- Variable Name:
- Save changes.
Visit your deployed website. The application should now be fully functional.
- Admin URL:
https://your-deployed-url/admin - Default Credentials:
- Username:
admin - Password:
admin
- Username:
You can now log in and start managing the system.
Good luck😴
Have an idea? We'd love to hear it:
-
Check existing requests
-
Create a new issue with:
-
Detailed description
-
Use case explanation
-
Potential implementation ideas
-
I built this for myself, but I'd love to see what you can add! Here's how to contribute:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request🎯
Star | Issue | Discussion
This project is licensed under the MIT License - see the LICENSE file for details.
TL;DR: You can use this freely, modify it, sell it, whatever. Just don't blame me if something ______!😪
This tool is created for educational and research purposes only. Do not use it for any illegal activities. The creator is not responsible for any misuse, damage, or legal consequences caused by the use of this tool. By using this project, you agree that you are doing so at your own risk and for learning purposes only.
Made with ❤️ and lots of 💦 by BotolMehedi