Lumina 2.0 — Documentation
Lumina is a media center for live TV, movies, series, a TV guide, Watch Later downloads and torrents. It runs as a desktop app (Windows, Linux, macOS planned), an Android app, and a self-hosted webapp that any browser on your home network can open — all with the same interface.
Lumina does not supply, host or recommend any channels, films or playlists. You add your own sources and are responsible for having the right to use them (see Terms).
1. Overview and how the pieces fit
| Piece | What it is | Who it is for |
|---|---|---|
| Desktop app | Electron app. Keeps its own library on the computer and can also show a webapp. Plays with the built-in player or with mpv / VLC. | One computer, offline use |
| Webapp | The same program as a Node.js server. Keeps the library, profiles, favorites, history and downloads on one PC; every phone, tablet, computer and TV on the home network opens it in a browser. | A home server, shared family library |
| Android app | Standalone player or client of your webapp or remote control for a desktop. Native video engines: ExoPlayer and libVLC. | Phones, tablets, Android TV |
| Phone remote | A web page (/remote) served by the desktop app or webapp, paired with a 6-digit code. |
Controlling playback from the couch |
All of them show the same interface, so nothing needs relearning. The look can be chosen per device (Night, Paper, Classic and skins such as Sunset).
Key ideas
- A source is a playlist or folder you add (M3U address, Xtream login, a file, or a folder of videos). Lumina imports it into a library and sorts entries into Live TV, Movies and Series.
- A profile has its own favorites, history, progress and (for kids profiles) limits.
- Watch Later saves titles for offline viewing.
- Everything stays on your computer. Lumina has no account and no analytics; it only contacts the sources and services you set up (TMDB/OMDb for posters and info, OpenSubtitles for subtitles, public torrent sites).
2. Downloads and requirements
Packages are linked from the download section of https://lumina.vilaant.com.
| Platform | Package | File name |
|---|---|---|
| Windows | App setup (installer) | Lumina-2.0.0-windows-setup.exe |
| Windows | App portable (no install) | Lumina-2.0.0-windows-portable.exe |
| Windows | Webapp setup | planned |
| Linux | App .deb |
Lumina-2.0.0-linux-amd64.deb |
| Linux | App AppImage | Lumina-2.0.0-linux-x86_64.AppImage |
| Linux | Webapp (Ubuntu/Debian) | lumina-webapp-2.0.0.tar.gz |
| macOS | App setup (.dmg) |
planned |
| Android | App APK | Lumina-2.0.0-android-debug.apk |
| iOS | App link | planned |
Every release carries SHA256SUMS.txt. Verify a download:
Get-FileHash .\Lumina-2.0.0-windows-setup.exe -Algorithm SHA256
sha256sum -c SHA256SUMS.txt --ignore-missing
Requirements
- Windows 10/11 64-bit · Linux 64-bit Intel/AMD (Ubuntu 22.04+, Debian 12+) · Android 8+ (check your device)
- 2 GB RAM or more (webapp); a few hundred MB of disk for the program plus space for Watch Later downloads
- Internet access for playlists, posters, guide data and subtitles (the program itself works without an account)
3. Install: Windows
Setup (recommended). Run Lumina-2.0.0-windows-setup.exe. Choose the install folder, keep Create desktop
shortcut if you want one, then start Lumina from the Start menu.
Portable. Copy Lumina-2.0.0-windows-portable.exe anywhere (even a USB stick) and run it; nothing is installed.
The installers are not code-signed, so Windows SmartScreen may warn you: choose More info → Run anyway. Check the SHA-256 checksum first if you want to be sure the file is intact.
The desktop app stores its library and settings in %APPDATA%\Lumina2 (override with the
LUMINA_DATA_DIR environment variable). mpv is bundled; VLC is used if installed.
Uninstall: Settings → Apps → Lumina → Uninstall. Your library in %APPDATA%\Lumina2 is kept; delete the folder
to remove it as well.
4. Install: Linux desktop app
Debian / Ubuntu (.deb)
sudo apt install ./Lumina-2.0.0-linux-amd64.deb
lumina
AppImage (any distribution)
chmod +x Lumina-2.0.0-linux-x86_64.AppImage
./Lumina-2.0.0-linux-x86_64.AppImage
If it does not start, install FUSE 2 (sudo apt install libfuse2) or run
./Lumina-2.0.0-linux-x86_64.AppImage --appimage-extract-and-run.
mpv and VLC are used as external players when they are installed (sudo apt install mpv vlc).
5. Install: webapp on Ubuntu / Debian
The webapp keeps the library on one PC and serves it to every device on your network. Works on Ubuntu 22.04+ and Debian 12+, 64-bit Intel/AMD or ARM, 2 GB RAM+. An internet connection is needed once, to fetch Node.js and the program's packages.
tar -xzf lumina-webapp-2.0.0.tar.gz
cd lumina-webapp-2.0.0
sudo ./install-ubuntu.sh
The installer: (1) installs curl, git and Node.js 24 (checksum-verified), (2) copies Lumina to /opt/lumina-web
and installs its packages, (3) asks you to choose the admin password, (4) creates the lumina-web systemd
service (starts at boot, restarts on failure), (5) opens the port to the home network in ufw (if active),
(6) prints the addresses.
Options: --port 9000, --no-firewall, --no-password-prompt.
Open the address it prints, e.g. http://192.168.1.20:8686, from any device on the network.
Everyday commands
sudo systemctl status lumina-web
sudo systemctl restart lumina-web
sudo journalctl -u lumina-web -f
| What | Where |
|---|---|
| Program | /opt/lumina-web |
| Library, settings, logs, downloads | /var/lib/lumina-web |
| Port and data folder | /etc/default/lumina-web |
| Service definition | /etc/systemd/system/lumina-web.service |
Update: unpack the newer package and run the installer again — the program is replaced, the library stays.
Uninstall: sudo ./install-ubuntu.sh --uninstall (add --purge to delete the library too).
Without the installer (other Linux): Node.js 22.13+ is required. In the unpacked folder run
npm install --omit=dev, (cd api && npm install --omit=dev), then
node server/index.js --port 8686 --data ~/.lumina-web.
Forgot the admin password
sudo systemctl stop lumina-web
sudo -u lumina LUMINA_DATA=/var/lib/lumina-web sqlite3 /var/lib/lumina-web/user.db "DELETE FROM kv WHERE key='adminPass';"
sudo -u lumina LUMINA_DATA=/var/lib/lumina-web node /opt/lumina-web/server/index.js --set-admin-password
sudo systemctl start lumina-web
Security: the webapp answers devices on the home network only (192.168.x.x, 10.x.x.x, 172.16–31.x.x). It is not meant to be reached from the internet. Do not forward the port on your router.
6. Install: Android
- Download
Lumina-2.0.0-android-debug.apkon the phone (or copy it over). - Open it. Android asks to allow Install unknown apps for your browser/file manager: allow it for this install.
- Open Lumina. Android shows the app is not from the Play Store — this is expected for a sideloaded APK.
The Android app can work in three ways:
- Standalone — its own library on the phone, played with ExoPlayer or libVLC.
- Media center client — press Media center → Search again; webapps on the same network are found
automatically (or add the address by hand, e.g.
http://192.168.1.20:8686). - Remote — pair with a desktop (see section 13).
The phone version has no torrents and no FFmpeg (those stay on the PC/webapp). The APK is a debug build, signed with a debug key; update by installing the newer APK over the old one.
7. macOS and iOS
Both are coming soon. The macOS build configuration (.dmg, .zip for Apple Silicon and Intel) exists in the
project but needs a Mac to build and sign. For iOS, the planned delivery is an App Store/TestFlight link. Until
then, any Mac or iPhone can use Lumina through a webapp running on another computer: open its address in Safari.
8. First run
- Terms of use. On first start Lumina shows the Terms. Read them and tick I have read and accept.
- Admin password (webapp only). Open the webapp on the computer that runs it
(
http://localhost:8686) and choose the admin password. Watching needs no password; changing settings, sources and backups does. - Profile. The first profile is created for you (Me). Add more from the profile menu in the sidebar.
- Add a source (next section) — or import a backup made by Lumina (Settings → Backup & logs).
9. Sources (adding your content)
Sidebar → Sources → Manage → Add source. Give it a title and choose a kind:
| Kind | What to enter | Notes |
|---|---|---|
| URL | Address of an M3U/M3U8 playlist (http://… or https://…) |
Refreshes automatically (default every 12 h and on open) |
| Xtream | Server, username, password | Imported as playlist + guide |
| File | An M3U file from your computer | Does not auto-refresh |
| Folder | A folder of video files | Re-scan with Refresh; an empty folder is fine |
Import runs in the background; progress shows on the source's card. Playlist addresses and passwords are stored encrypted.
How entries are sorted. Lumina reads each entry's group-title, tvg-type, title and episode tags
(S01E02) and classifies it as Live, Movie or Series, flags adult content and detects quality (SD/HD/4K).
Series episodes are grouped under their show. You can correct a type by hand (entry menu → Set type) and hide
categories. Optional AI categorizing (Settings → Library & playlists) can refine genres and ratings; it is
off by default.
Programme guide (EPG). If the playlist header has url-tvg="…" it is used automatically; you can add guide
sources in Settings → Live TV & guide.
Posters and info. Lumina looks up covers and descriptions (TMDB/OMDb). Use Find missing posters in
Settings → Library to retry. Entries can also carry their own tvg-logo image.
Sample playlist for a quick test:
#EXTM3U
#EXTINF:-1 group-title="Live TV" tvg-chno="1",My Channel
http://example.com/live/1.m3u8
#EXTINF:-1 group-title="Movies Drama" tvg-type="movie",My Film (2020)
http://example.com/movies/film.mp4
#EXTINF:-1 group-title="Series" tvg-type="series",My Show S01E01
http://example.com/series/show-s01e01.mp4
10. Using Lumina
Home. Greeting, quick buttons (Live TV, Movies, TV guide), counters, Continue watching with a Resume button showing the minutes left, Favorites, New this week, a clock and Your viewing statistics (kept on this device only).
Library pages. Live TV, Movies, Series, My files each have a category filter on the left, search, a Check button (tests which streams work), Offline (Watch Later items only) and sorting. Hover a cover for quick buttons: details, Watch Later, favorite (★) and a menu.
Search. Ctrl+F focuses the search box; it suggests titles as you type (arrows, Enter) and can also search
torrent sites. Esc clears.
Favorites, History, Watch Later. Per profile. History keeps your position so Continue watching works across devices that share a webapp.
TV guide. A grid of now/next programmes per channel; start a channel or a catch-up programme where the provider supports it.
Series. Open a show for seasons and episodes; Next episode starts automatically at the end, and followed or favorite series keep upcoming episodes ready.
Watch Later (offline). Save movies or episodes to disk. Rules (Settings → Watch later & storage) control where files go, when watched items are cleaned up and how much cache to use. Deleted batches can be recovered for a time.
Torrents. Turn on in Settings → Torrents. Lumina streams without uploading (it does not seed), but a peer-to-peer connection still shares your network address with peers. Use only material you may legally copy.
Profiles and kids. Profiles keep favorites, history and settings separate. Kids & safety adds Safe mode (hides adult content), daily time limits, a parent PIN and an approval flow: a child can request a title and a parent approves it. Safe mode and kids profiles are filters, not guarantees.
Themes and look. Settings → General → Theme: Automatic (follows the system), Night (dark navy), Paper (warm light), Classic (original amber/cyan), plus skins (Aurora, Glacier, Sakura, Forest, Sunset). On the desktop and phone the theme is per device.
Screensaver and lock. TV mode adds a lock screen and screensaver (see section 14).
Analytics. The sidebar's Analytics page shows watch time per profile and day; it never leaves your computer.
11. Player and keyboard shortcuts
Lumina plays with the built-in HTML5 player (HLS and MPEG-TS supported; what a browser cannot play is converted with FFmpeg on the webapp/desktop). On the desktop you can open any item in mpv or VLC; on Android the native ExoPlayer or libVLC engine is used. Audio and subtitle menus, subtitle search (OpenSubtitles), audio boost, "clearer voices" and night mode are in the player.
| Key | Action |
|---|---|
Space / K |
Play / pause |
← / → |
Seek −10 s / +10 s (30 s with fast-forward) — not for live |
↑ / ↓ |
Volume ±5 % for movies; channel up/down for live |
PageUp / PageDown |
Previous / next channel (live) |
F |
Fullscreen |
M |
Mute |
P |
Picture-in-picture |
I |
Mini player |
S |
Toggle favorite |
C |
Subtitles menu |
A |
Audio track menu |
O |
Alternatives (other sources of the same title) |
N |
Next episode |
B / Shift+B |
Boost sound up / down |
D |
Playback statistics overlay |
Esc |
Close menu / player |
Ctrl+F |
Search (outside the player) |
mpv keys (external window): # and j cycle audio and subtitle tracks; Lumina also provides an on-screen bar.
If mpv or VLC is not found, set LUMINA_MPV / LUMINA_VLC to the full path of the executable.
12. Settings reference
Open Settings (sidebar, bottom). Use the search box at the top to find any option. Sections:
| Section | What you can change |
|---|---|
| General | Name of this PC (its nickname on phones and the remote), theme, start-up and background behavior, network |
| Playback | Resume, live buffer, audio language, compatibility & audio options |
| Subtitles | Languages, automatic search, OpenSubtitles account |
| Library & playlists | Playlist update interval, refresh on open, sync timeout, movie info (TMDB/OMDb), AI categorizing / scene scan / picks, find missing posters, library types, hidden categories |
| Live TV & guide | Programme guide sources, catch-up, channel checks, stream check (timeout, concurrency) |
| Watch later & storage | Download folder, rules, cache, disk space |
| Torrents | Enable torrents, torrent-site search |
| Kids & safety | Safe mode, kids time limits, parent PIN, approvals |
| Remote & webapp (desktop) | Phone remote, web remote, link to a Lumina webapp / media center |
| Old TV support (webapp) | Pages for older Samsung, LG and other smart TVs |
| Admin (webapp) | Admin password: set, change |
| Phone app (Android) | This phone or your Lumina webapp |
| TV mode | TV mode, lock screen, screensaver |
| Backup & logs | Backup file, restore, activity log |
| About & terms | Version, credits, Terms of use |
Changes apply when you press Save settings (the footer shows No unsaved changes otherwise).
13. Phone remote, webapp and the home network
Remote control. On the desktop: Settings → Remote & webapp, turn on Remote (web) and/or Remote (app).
A 6-digit pairing code is shown. On the phone open http://<computer-address>:8686/remote (or the Android app)
and enter the code. The remote can play/pause, seek, change volume and channels, pick audio/subtitles and open titles.
After 5 wrong codes pairing locks out for a while.
Connecting a desktop or phone to a webapp (media center). In the app press Media center → Search again. Lumina
probes your local network for webapps (it asks each address of your /24 for /api/health — takes 2–4 s). If none is
found, type the address, e.g. http://192.168.1.20:8686.
Admin vs viewing. Anyone on the network can watch. Settings, sources, backups and admin tasks require the admin password (sign-in lasts a limited time; five wrong tries cause a delay).
Network scope. The webapp refuses requests from outside private ranges. For remote access, use a VPN that puts you on your home network instead of port forwarding.
14. TV mode and older smart TVs
- Modern TVs / Android TV: open the webapp address in the TV browser, or use the Android app. Navigate with the remote's arrows, OK and Back.
- Older Samsung / LG / Titan OS: open
http://<webapp>:8686/tv/and bookmark it. Chrome older than 56 gets an automatic lite page; force it with/tv/liteor the full page with/tv/?full. A diagnostics page lives at/tv/diagand helps when a TV cannot play something. - TV mode (Settings → TV mode): bigger controls, remote-friendly focus, lock screen and screensaver.
15. Backup, restore and updating
- Backup: Settings → Backup & logs → Create backup. One file holds sources (addresses included), profiles, favorites, history and followed series. Passwords in it are encrypted — keep the file private.
- Restore: the same page → Restore, or import it on a fresh install's first screen. Titles that already exist are kept (restored sources get (restored) appended).
- Logs: the same page shows the activity log; the Log button in the sidebar opens it quickly.
- Updating the desktop app: install the newer setup/
.debover the old one; AppImage/portable: replace the file. Your library stays. - Updating the webapp: run the installer from the newer package again (see section 5).
- Manual copy: the data folder (see the appendix) can be copied while the app is closed.
16. Troubleshooting
| Problem | What to check |
|---|---|
| Windows SmartScreen blocks the installer | More info → Run anyway; installers are not code-signed |
| A playlist imports 0 entries | Open the address in a browser; it must return M3U text (not HTML/JSON). Some providers need a different user agent (Settings → Library → User agent) |
| Posters missing | Settings → Library → Find missing posters; check internet and your TMDB/OMDb key if you set one |
| A channel stays black | Use the Check button, try the engine tag in the player (D shows stats), or open in mpv/VLC; read the log |
| Video plays without sound / wrong audio | Press A and choose another track; Settings → Playback → compatibility & audio |
| Nothing opens from another device | Right address (hostname -I), service running, firewall (sudo ufw status), same network |
| "Port already in use" | Install with --port 8687 or edit LUMINA_PORT in /etc/default/lumina-web |
| Installer stops at "npm could not install" | Re-run it; check the internet connection |
| Torrents show "Not started" | Settings → Torrents → turn on; torrent service shows Running in the Torrents page header |
| mpv/VLC not found | Install it, or set LUMINA_MPV / LUMINA_VLC |
| AppImage does not start | sudo apt install libfuse2 or --appimage-extract-and-run |
| Android: "app not installed" | Uninstall an older debug build signed with another key, then install again |
| Phone cannot find the webapp | Same Wi-Fi? Guest networks and client isolation block discovery; enter the address by hand |
| Forgot admin password | See the recovery steps in section 5 |
When reporting a problem include the version (Settings → About), the platform, and the last lines of the log (Settings → Backup & logs).
17. Building from source
Requirements: Node.js 22.13+ (24 recommended), npm, Git. Windows for the Windows installer; Linux for the AppImage/deb (WSL works); macOS for the dmg; the Android SDK/Gradle for the APK.
git clone <your-repository-url> lumina
cd lumina
npm ci
npm start # run the desktop app (Electron)
npm run web # run the webapp: node server/index.js (port 8686)
npm run check # static checks (tools/check-all.js)
Packages (output in dist/)
| Command | Result |
|---|---|
npm run dist:win |
Lumina-<v>-windows-setup.exe + Lumina-<v>-windows-portable.exe (needs build/mpv/mpv.exe, downloaded before building) |
npm run dist:linux |
Lumina-<v>-linux-x86_64.AppImage, …-linux-amd64.deb, …-linux-x64.tar.gz |
npm run dist:mac |
Lumina-<v>-mac-<arch>.dmg and .zip (on a Mac) |
node tools/pack-webapp.js |
lumina-webapp-<v>.tar.gz (server + core + ui + Ubuntu installer) |
cd mobile && npm run apk |
Android debug APK (mobile/android/app/build/outputs/apk/debug/) |
Project layout
| Folder | Contents |
|---|---|
core/ |
Library engine: database, M3U parser, classifier, EPG, torrents, offline downloads, subtitles, transcoder |
server/ |
Webapp host and HTTP server, LAN discovery |
desktop/ |
Electron main/preload, external players |
ui/ |
The shared interface (HTML, CSS, JS) used by every platform |
mobile/ |
Capacitor project and native Android players |
api/ |
Torrent-search service |
deploy/ubuntu/ |
Ubuntu installer and its README |
tools/ |
Packaging and check scripts |
site/ |
The website (lumina.vilaant.com), static, deployed with Cloudflare Pages |
Release checklist
- Bump
versioninpackage.json(andmobile/package.json). npm run check.- Build every package; generate
SHA256SUMS.txt. - Upload the files to the download host (see the website's download section) and check the links.
- Deploy the site:
npx wrangler pages deploy site --project-name lumina-site.
Cloudflare Pages limits a file to 25 MB, so installers are hosted on GitHub Releases (or R2), not on the site.
18. Legal and Terms of use
Summary of the in-app Terms (read the full text in Settings → About & terms):
- Lumina is a media player and library manager. It supplies no content.
- You are responsible for your sources and for what you watch, download or stream.
- Torrent features are optional; peer-to-peer shares your network address with peers.
- Third-party services (TMDB, OMDb, OpenSubtitles, public sites) have their own terms and may change.
- Your data stays on your computer; no account, no analytics.
- Safe mode and kids profiles are filters, not guarantees.
- Provided “as is”, without warranty; limitation of liability applies.
Lumina is released under the GPL-3.0-or-later licence (see LICENSE).
19. Appendix: files, ports, environment variables
Ports and addresses
| What | Value |
|---|---|
| Webapp / remote default port | 8686 |
| Webapp | http://<address>:8686/ |
| Remote page | /remote |
| Old TV pages | /tv/, /tv/lite, /tv/diag |
| Health check (used for discovery) | /api/health |
Data locations
| Platform | Folder |
|---|---|
| Windows desktop | %APPDATA%\Lumina2 |
| Webapp (installer) | /var/lib/lumina-web |
| Webapp (manual) | ~/.lumina-web or --data <folder> |
| Downloads (webapp) | <data folder>/files unless changed in Settings |
Webapp command line
node server/index.js [--port 8686] [--data <folder>] [--ffmpeg <path>]
node server/index.js --set-admin-password [--data <folder>]
node server/index.js --admin-password-status [--data <folder>]
Environment variables
| Variable | Meaning |
|---|---|
LUMINA_DATA_DIR |
Desktop data folder |
LUMINA_DATA |
Webapp data folder |
LUMINA_FFMPEG |
Path to FFmpeg |
LUMINA_ADMIN_PASSWORD |
Supply the admin password non-interactively with --set-admin-password |
LUMINA_MPV, LUMINA_VLC |
Full path of the external players |
PORT, LUMINA_PORT |
Webapp port |