Before You Begin
Make sure you have:- A Lionz TV subscription with Xtream Codes API credentials
- PHP 8.4 or higher installed
- pnpm package manager
- Basic familiarity with terminal/command line
Don’t have PHP 8.4, pnpm, or other prerequisites? See the detailed Installation Guide for setup instructions.
Quick Installation
Clone the Repository
Clone the Lionz IPTV Downloader repository and navigate to the project directory:
Initialize the Project
Run the post-creation script to generate app key and run migrations:This command will:
- Generate your application encryption key
- Create the database file if it doesn’t exist
- Run all database migrations
Configure Environment
Create your Open
.env file from the example:.env and configure your essential settings:.env
Start Required Services
Before starting the application, ensure MeiliSearch and aria2 are running:MeiliSearch (in a separate terminal):aria2 (in another terminal):
Initialize Application Configuration
Initialize the application configurations in the database:This command stores your aria2 and Xtream Codes configurations from the
.env file into the database for the application to use.Start the Development Server
Start all required development services with a single command:This will concurrently run:
- Laravel development server (port 8000)
- Queue worker for background jobs
- Log watcher for debugging
- Vite development server for frontend assets
The application will be available at
http://localhost:8000Sync Your First Content
Now sync media content from Lionz TV:This command will:
- Fetch all available categories from Lionz TV
- Sync VOD (Video on Demand) content
- Sync Series content
- Index everything in MeiliSearch for fast searching
The first sync may take several minutes depending on the size of your Lionz TV catalog. Subsequent syncs will be faster.
What’s Next?
Configuration Guide
Learn about advanced configuration options and customization
Usage Guide
Discover all features including search, downloads, and series monitoring
API Reference
Explore the Xtream Codes API integration and endpoints
Troubleshooting
Common issues and their solutions
Quick Tips
Need Help?
If you encounter any issues during setup:- Check the Installation Guide for detailed prerequisites
- Review the Configuration Guide for environment setup
- Visit the Troubleshooting page for common issues
- Open an issue on GitHub