mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-15 03:07:53 +02:00
Le serveur Dart (bin/) est remplacé par un serveur Rust (server/) : tokio + axum, reqwest/rustls, SQLite embarqué via rusqlite. Même API, mêmes routes et mêmes réponses : le front Flutter ne change pas. La base de production est reprise telle quelle : schéma, migrations et formats de dates (DateTime.toIso8601String de Dart) sont reproduits à l'identique, les sessions et hachages existants restent valides. Comportement conservé : cascade de routage, anti-SSRF, logs masqués, rate limits, transcodage HLS/turbo.ts avec repli GPU, quotas fournisseur, enregistrements (reprise, relances, fusion), season passes, EPG, logos de repli, arrêt gracieux sur SIGTERM. Tests Dart portés (132 tests Rust) ; la CI exécute fmt, test et clippy -D warnings, l'image Docker compile le serveur dans un étage rust:1.98.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
How to Build XtremFlow as an Executable
To create a standalone .exe version of XtremFlow, you need to build it on your machine.
Prerequisites
Since you are currently using Docker, you likely don't have these installed on your Windows system yet. You must install them to build the Windows executable.
-
Install Flutter SDK
- Download from: flutter.dev/install/windows
- Extract the zip file to
C:\src\flutter(for example). - Add
flutter/binto your System PATH.
-
Install Rust (the server is written in Rust)
- Download
rustup-init.exefrom rustup.rs and accept the defaults (it installs the MSVC toolchain; Visual Studio Build Tools with the "C++ build tools" workload are required).
- Download
-
Verify Installation
- Open a new terminal.
- Run
flutter doctor. - Ensure it says "Flutter ... channel stable".
- Run
cargo --version.
Building the App
Once Flutter is installed:
- Open PowerShell in this folder.
- Run the build script:
.\build_release.ps1
Adding FFmpeg
- After the build finishes, open the new
distfolder. - Go to
dist/ffmpeg/bin. - Download
ffmpeg.exe(from ffmpeg.org) and place it there.
Running
Double-click dist/start.bat to run the server!