Burraq is an advanced, multi-threaded media downloading ecosystem. It combines the raw power of yt-dlp and FFmpeg with a stunning dark Glassmorphism Web UI. Designed for power users, it features a background system tray engine, smart playlist handling, browser cookie extraction, and real-time WebSocket progress tracking.
- ⚡ Extreme Concurrency: Multi-threaded download architecture utilizing
asynciofor zero UI blocking. - 🎨 Premium Glassmorphism UI: A breathtaking, responsive web dashboard with fluid animations.
- 🧩 Native Browser Extension: 1-Click download integration right from your Chrome/Edge browser.
- 📊 Storage & Insights: Built-in SQLite analytics dashboard showing daily stats and disk usage.
- 👻 Stealth & Cookie Bypass: Automatically imports browser cookies and sets anti-bot headers to bypass strict platform restrictions.
- 📱 Legacy Device Support: Custom FFmpeg post-processing to ensure compatibility with feature phones (button mobiles).
- 🖥️ Windows System Tray: Runs silently in the background with dynamic right-click context controls.
- 📥 Smart Playlist Engine: Auto-creates folders for playlists and organizes files seamlessly.
- ⚙️ Hardware Throttling: Smart
Semaphorelimits prevent 100% CPU/GPU bottlenecking during FFmpeg conversions. - 📋 Smart Clipboard: 1-Click URL pasting with native synthetic DOM event dispatching.
graph TD;
%% Styling
classDef default fill:#1e1e2e,stroke:#00ffb4,stroke-width:2px,color:#fff;
classDef highlight fill:#00ffb4,stroke:#fff,stroke-width:2px,color:#000;
A[User / Browser Extension] -->|Submits URL| B(FastAPI Server)
B -->|Validates API Payload| C{Task Queue Engine}
C -->|Spawns Thread| D[yt-dlp Downloader]
D -.->|Live Progress via WebSockets| E((Dashboard UI))
D -->|Raw Media File| F{FFmpeg Post-Processing}
F -->|Throttled CPU Usage| G[Embed Metadata & Thumbnails]
G --> H[Final Output Directory]:::highlight
H --> I[(SQLite Analytics DB)]
- - Core Backend
- - API & WebSockets
- - UI Styling
- - Database & History
- yt-dlp & FFmpeg - Core Media Engines
- Inno Setup - Windows Compilation
- Go to the Releases page and download
Burraq-Setup.exe. - Run the installer. It will automatically:
- Install the Burraq background server.
- Add
yt-dlpandffmpegto your SystemPATH. - Setup auto-start in the Windows System Tray.
- Clone the repo:
git clone https://github.com/mmizan85/Burraq.git
cd Burraq- Install requirements:
pip install -r requirements.txt- Run the server:
python server_main.py*The dashboard will be available at http://127.0.0.1:9090*
To enable 1-Click downloads directly from your browser:
- Open Google Chrome or Microsoft Edge.
- Navigate to
chrome://extensions/(oredge://extensions/). - Turn on Developer mode (toggle in the top right).
- Click Load unpacked.
- Select the
chrome-extensionfolder located inside the Burraq installation directory. - Enjoy seamless downloads!
- NullStream Patch: Hardened against
WinError 6andisattycrashes during headless PyInstaller compilations. - Async Resource Locks: Dual
asyncio.Semaphoreimplementation strictly separates network downloading threads from heavy FFmpeg encoding threads. - Dynamic Frontend Updates: Synthetic event dispatching used in vanilla JS to perfectly sync states without heavy frontend frameworks.
We welcome contributions from the community! If you are a developer looking to improve this project:
- Fork the repository.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature). - Commit your Changes (
git commit -m 'Add some AmazingFeature'). - Push to the Branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
Mohammad Mijanur Rahman (Mohammad Mizan) - Dedicated Software Developer specializing in Python automation, system architectures, and UI/UX design.
