No description
Find a file
KhooLy cfc03cba00 fix: sync Android navigation state with in-app destination changes
MainActivity kept its own currentDestination alongside FluxaAppHost's
internal appState.uiState.destination, with only a one-way sync
(external -> internal). Any purely-internal navigation (bottom nav
taps, "switch profiles" from Settings) moved appState's destination
without MainActivity's copy ever finding out. If a later external
navigation call (e.g. profile selection completing) happened to name
a destination MainActivity's stale copy already equaled, it was
treated as a no-op and silently dropped -- reproducible by going
Settings -> Switch profiles -> tapping a profile, which then did
nothing.

Add a callback that mirrors appState's destination back out to
MainActivity whenever it changes internally, and guard the existing
external->internal effect so it only re-applies on a genuine change
(avoiding a reset loop that would otherwise wipe editingProfile/
selectedDetail/etc. on every round trip).

Also account for showProfilePickerSettings in the screen transition
key, which was missing and left the profile picker settings screen
keyed identically to whatever destination was active underneath it.
2026-07-28 02:23:47 +03:00
.github/workflows feat: improve Nuvio import and app experience 2026-07-22 01:07:52 +03:00
app fix: sync Android navigation state with in-app destination changes 2026-07-28 02:23:47 +03:00
appleApp Move shared app policies into fluxa core 2026-07-22 16:56:20 +03:00
build-logic Migrate shared UI and Apple playback to KMP 2026-07-14 18:14:18 +03:00
core feat: redesign profile edit screen with grouped sections 2026-07-28 01:28:46 +03:00
data feat: add profile picker avatar packs and background image (Android) 2026-07-28 01:16:12 +03:00
gradle feat: improve Nuvio import and app experience 2026-07-22 01:07:52 +03:00
player feat: rework player settings and source sidebars 2026-07-28 00:26:12 +03:00
shared fix: sync Android navigation state with in-app destination changes 2026-07-28 02:23:47 +03:00
tools/libass Fix libass fonts and glyph rendering to match mpv 2026-07-03 23:43:50 +03:00
.gitignore Replace TorrServer namings with Native torrent engine 2026-07-14 16:57:20 +03:00
build.gradle.kts Move shared app policies into fluxa core 2026-07-22 16:56:20 +03:00
gradle.properties Initial commit 2026-06-05 14:43:08 +03:00
gradlew Initial commit 2026-06-05 14:43:08 +03:00
gradlew.bat Initial commit 2026-06-05 14:43:08 +03:00
LICENSE Create LICENSE 2026-07-13 04:04:24 +03:00
README.md Add Apple multiplatform foundation 2026-07-13 03:47:45 +03:00
settings.gradle.kts Add Compose Multiplatform module 2026-07-13 02:47:02 +03:00

Fluxa

Fluxa for Android

A fast, native media client for Android phones, tablets, and TV.
Browse catalogs, track what you watch, and play anything the Stremio addon ecosystem exposes.

Contributors Forks Stars Releases License Discord

Download · Features · Building from source · Discord


What it does

Fluxa connects to any Stremio-compatible addon and turns it into a proper Android app: a home feed with genre and category browsing, a calendar of upcoming episodes, a library with continue-watching and resume positions, and two-way watch tracking with Trakt, MyAnimeList, and Simkl. Playback runs through Media3/ExoPlayer and MPV, including direct torrent/magnet support, with no telemetry.

The Android shell handles all platform I/O — HTTP, Room, ExoPlayer, audio, notifications — but the actual decision-making lives in fluxa-core, a headless Rust library that runs the same logic across Android and desktop targets. Rust never touches the network directly; it emits typed effects that the Kotlin layer fulfills.

Features

  • Catalogs & discovery — home feed, genre/category grids, search across every installed addon, and a calendar of upcoming episodes for what you're following
  • Library — watchlist, continue watching with resume position, and custom collections, with import support for existing lists
  • Watch tracking — two-way sync with Trakt, MyAnimeList, and Simkl
  • Playback — subtitle and audio track selection, intro/outro/recap skip, and direct torrent/magnet support
  • Profiles — multiple local profiles on one install, each with its own library, addons, and sync accounts
  • Addons — install and manage Stremio-compatible addons directly from the app
  • TV-ready — a dedicated Android TV / Google TV interface, not a stretched phone layout
  • Auto-update — checks for and installs new versions in-app

Download

Grab the latest build from Releases. Requires Android 8.0+ (API 26).

Variant Package Target
mobile com.fluxa.app.mobile Phone & tablet
tv com.fluxa.app.tv Android TV / Google TV

Each variant ships per-ABI APKs — pick the one matching your device, or let the in-app updater do it for you:

ABI Devices
arm64-v8a Most phones/tablets/TVs from the last ~6 years
armeabi-v7a Older 32-bit ARM devices
x86 Intel-based Android (emulators, some set-top boxes)

Building from source

git clone https://github.com/FluxaMedia/fluxa.git
cd fluxa
./gradlew :app:assembleMobileDebug
# or for TV
./gradlew :app:assembleTvDebug

Prerequisites

  • JDK 17+
  • Rust stable with the Android NDK targets (aarch64-linux-android, armv7-linux-androideabi, i686-linux-android)
  • Android NDK (version pinned in app/build.gradle.kts)
  • fluxa-core checked out as a sibling directory (../fluxa-core) — it also provides fluxa-streaming-engine (../fluxa-streaming-engine)

The Rust libraries (fluxa_core, fluxa_streaming_engine) are cross-compiled for all Android ABIs automatically as part of the Gradle build; no manual cargo build step is needed.

Architecture

Fluxa is split into two native Rust libraries and an Android Kotlin shell:

┌─────────────────────────────────────────────────────────┐
│                  Android (Kotlin + Compose)              │
│   UI · ViewModel · Repository · OkHttp · Room · Player  │
├───────────────────────────┬─────────────────────────────┤
│      fluxa_core           │    fluxa_streaming_engine    │
│  Headless brain: state,   │  Video proxy, Dolby Vision   │
│  policy, stream planning  │  rewrite, torrent engine     │
└───────────────────────────┴─────────────────────────────┘

Rust never calls the network directly. Instead it emits typed effects that Kotlin executes:

Kotlin  →  dispatch(action)
        ←  { state, effects: [{ id, type, payload }] }
Kotlin  →  executes each effect (OkHttp / Room / audio / ...)
        →  completeEffect({ effectId, result })
        ←  { state, effects: [...] }

This keeps fluxa_core fully portable — the same crate compiles for Android (JNI), desktop (native Rust), and future targets without any platform-specific code inside Rust.

Platform roadmap

Fluxa for Android ships phone, tablet, and Android TV builds today. The UI is being migrated to Compose Multiplatform so iOS can use the same application interface, while tvOS uses the same shared domain logic with native system integration.

Stack

Kotlin · Jetpack Compose · Rust · AndroidX Media3 / ExoPlayer · MPV · librqbit · UniFFI · Hilt · Room · OkHttp + Retrofit · Coil


Legal — Fluxa is a client-side interface for user-installed Stremio addons. It does not host, serve, or distribute any media content. All streams come from third-party addons chosen by the user. Fluxa is not affiliated with any addon developer, repository, or content provider. Users are responsible for ensuring they have the right to access what they stream.

Community

Questions, bug reports, feature requests, or just want to hang out — join the Fluxa Discord.