DoffRemote connects your Lifestar STB (Set-Top Box) to the internet โ control it wirelessly, cast any video from YouTube, movie sites, and live football streams directly to your TV screen.
[๐ฅ Download APK](installation ยท ๐ Report Bug ยท ๐ก Request Feature
| Scan Page | Full Remote | Web Hub | About |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Screenshots are from a real device running Android 13. UI adapts to both light and dark modes.
- Automatically scans your local Wi-Fi network for STB devices
- Remembers your last connected device and reconnects on startup
- Persistent heartbeat โ pings every 5 seconds, auto-reconnects if the device drops
- Visual connection status badge in the app bar (green = connected, orange = reconnecting)
- Pull-to-refresh device list
Two remote modes, switch anytime with a single tap:
| Feature | Mini Remote | Full Remote |
|---|---|---|
| D-Pad navigation | โ | โ |
| Volume +/- | โ | โ |
| Mute | โ | โ |
| Menu / Home / Back | โ | โ |
| FAV / EPG / INFO | โ | โ |
| Colour buttons (R/G/Y/B) | โ | โ |
| Numpad 0โ9 | โ | โ |
| Channel +/- | โ | โ |
| TV/R, ZOOM, RECALL | โ | โ |
| EDIT / PAUSE / SLEEP | โ | โ |
| Playback (โฎ โญ โถ โบ) | โ | โ |
- Built-in multi-tab browser โ open multiple streaming sites simultaneously
- Universal video scraper with a 13-phase extraction pipeline:
- ๐ด Native network sniffing via
shouldInterceptRequest(platform-level, most reliable) - ๐ก YouTube via
youtube_explode_dartwith SABR stream detection & filtering - ๐ข Invidious parallel fallback (5 instances fired simultaneously)
- ๐ต Cobalt API, yt-dlp API fallbacks
- โช Dailymotion, Vimeo dedicated extractors
- โช DOM scan, JWPlayer/VideoJS/HLS.js config parsing
- โช
eval(atob())obfuscation decoding - โช Open Graph / JSON-LD metadata
- โช Iframe chain following
- โช Raw HTML regex + HTTP fallback
- ๐ด Native network sniffing via
- Blocks blob URLs, ad domains, and YouTube's unplayable SABR streams
- Category-grouped app grid with recent history
- Slide up from the bottom edge of any web page to reveal a compact remote panel
- Controls:
Vol-ยทCH-ยท OK ยทCH+ยทVol+ยทMuteยทExit - Smooth slide animation, dismisses by swiping down
- Works while a video is playing โ no need to leave the browser
doff_remote/
โโโ lib/
โ โโโ main.dart # App entry, theme, navigation, connection badge
โ โโโ lucky_stb.dart # STB API client + heartbeat + auto-reconnect
โ โโโ scraper.dart # UniversalVideoScraper (13-phase pipeline)
โ โโโ web_hub_tab.dart # Browser UI + floating remote panel
โ โโโ remote_tab.dart # Mini & Full remote UIs
โ โโโ scan_tab.dart # Network scanner + device manager
โ โโโ about_tab.dart # Developer info
โโโ assets/
โ โโโ apps.json # Fallback app list
โ โโโ app_icon.png
โโโ pubspec.yaml
DoffRemote communicates with the STB over HTTP on port 8000:
# Send key press
POST http://{stb-ip}:8000/api/v1/key
Content-Type: application/json
{"key": "WEBK_OK"}
# Cast video
POST http://{stb-ip}:8000/api/v1/play
Content-Type: application/json
{
"stream_type": "net",
"media_type": "video",
"action": "play",
"uri": "https://...",
"time": 0
}- Go to the Releases page
- Download the latest
doff_remote.apk - Enable "Install from unknown sources" on your Android device
- Install and launch
Requirements:
- Flutter SDK 3.x+
- Android SDK
- A physical or emulated Android device
# 1. Clone the repository
git clone https://github.com/doffn/doffremote.git
cd doffremote
# 2. Install dependencies
flutter pub get
# 3. Run on device
flutter run
# 4. Build release APK
flutter build apk --releaseEdit assets/apps.json to add streaming sites to the Web Hub:
[
{
"name": "YouTube",
"url": "https://m.youtube.com",
"logo": "https://...",
"category": "Video"
},
{
"name": "HDToday",
"url": "https://hdtoday.tr",
"logo": "https://...",
"category": "Movies"
}
]Or serve a remote list from your own server โ DoffRemote fetches from https://videoprocessor.vercel.app/apps first, falling back to the local file.
| Package | Purpose |
|---|---|
flutter_inappwebview |
WebView engine with native network interception |
youtube_explode_dart |
YouTube stream extraction |
http |
HTTP client for STB API & web scraping |
network_info_plus |
Local subnet discovery |
shared_preferences |
Persistent connection & settings storage |
url_launcher |
External link handling |
Contributions are welcome! Here's how to get started:
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin feature/my-feature - Open a Pull Request
- iOS support (requires
WKWebViewadapter for native sniffing) - More streaming site extractors (Twitch, Facebook Video, etc.)
- Subtitle support for casted videos
- Scheduled recordings via STB API
- Widget / quick-tile for fast key sending
| Issue | Status |
|---|---|
| YouTube SABR streams (new format) | Handled โ filtered & fallback chain applied |
| Blob URLs from MSE players | Blocked by design โ cannot be cast externally |
| DRM-protected streams (Netflix, etc.) | Not supported โ DRM keys are device-bound |
| Cross-origin iframe extraction | Limited to same-origin by browser security |
| iOS native sniffing | Not available โ flutter_inappwebview limitation on iOS |
This project is licensed under the MIT License โ see the LICENSE file for details.
If DoffRemote saved you from buying a Bluetooth remote โ give it a โญ
Made with โค๏ธ in Ethiopia ยท ยฉ 2026 Dawit Neri



