How mvinkarklins/lampa works
This repository provides five Lampa client plugins plus a profile-sync service. The user workflow begins when a viewer uses an added Lampa control or feature: browse age-filtered picks, search torrents, choose LG audio tracks, or use the redesigned interface. Profiles add per-profile settings and viewing data synchronized with a self-hosted server, which can also report viewing statistics. Client source is sampled only in excerpts; unsampled plugin details are represented only where README capabilities support them.
Main entry points: server.js Sync HTTP API · kids_age.js Kids picks · lg_tracks.js LG track picker · torrent_button.js Torrent search button
Components 15
Lampa plugins
- Kids picks
kids_age.js - Neo interface
neo.js - LG track picker
lg_tracks.js - Torrent search button
torrent_button.js - Profiles plugin
profiles.js - Device profile data
profiles.js
Profile sync service
- Sync HTTP API
sync/server.js
Sync storage and stats
- JSON data files
sync/server.js - Viewing statistics
sync/stats.js
Other components
- Viewer
- Lampa app
- TMDB catalog
- LG media service
- Configured parser
- Public JacRed
Connections 17
- Viewer → Lampa app: uses
README.md - Lampa app → Kids picks: opens picks
kids_age.js - Kids picks → TMDB catalog: queries catalog
kids_age.js - Kids picks → Lampa app: opens results
kids_age.js - Lampa app → Neo interface: loads interface
neo.js - Lampa app → LG track picker: opens picker
lg_tracks.js - LG track picker → LG media service: requests tracks
lg_tracks.js - LG track picker → Lampa app: shows choices
lg_tracks.js - Lampa app → Torrent search button: adds card control
torrent_button.js - Torrent search button → Configured parser: searches releases
torrent_button.js - Torrent search button → Public JacRed: searches optionally
torrent_button.js - Lampa app → Profiles plugin: loads plugin
README.md - Profiles plugin → Device profile data: syncs profile state
profiles.js - Profiles plugin → Sync HTTP API: calls sync API
profiles.js - Sync HTTP API → JSON data files: reads and writes
sync/server.js - Sync HTTP API → Viewing statistics: computes stats
sync/server.js - Viewing statistics → Sync HTTP API: returns summary
sync/server.js