Roland0 wrote: > Since the app only consists of static pages, it can be packaged as a > plugin and delivered to the browser using LMS' built-in web server > (which is what Material and extGUI4LMS do), eliminating the need for > docker just for a web server
I'm developing the app in ReactJS - which provides a proxy for development - and the next step was to test it as an installable PWA - which requires https and a valid cert so I used apache as a proxy for that too. Docker isn't intended as a distribution mechanism - it just seemed easier than describing how to setup a proxy - and I don't know how to make it a plugin (I have looked for docs but some are outdated - and it's been 20 years since I wrote any non-trivial Perl) Roland0 wrote: > > As it uses LMS' mp3 streaming, synchronization won't be possible (you'd > have to use SlimProto instead), > Yep - and I'm curious if this might be possible but for now the mp3 approach does what I want Roland0 wrote: > > user personalisation doesn't need a server > I have to admit that despite being a user for a decade LMS has more features than I knew - have I also missed per user favourites lists ? Roland0 wrote: > > strict access control won't be possible unless you somehow proxy all > data (including audio) over some other server which handles this task > independently of LMS. > Yes - that's what I'm thinking. LMS offers *so much* functionality that exposing it via the web would be a significant risk. Exposing via a proxy which only allows a subset of functionality (perhaps just browse and download MP3) would mean that even if user login was hacked - all that would gain is access to data and a possible DOS attack. But it would be much harder in such a system to gain code execution. Roland0 wrote: > > And I'm a bit confused about how you plan to archive "offline playback" > without synchronizing the audio files to the local device (which afaik > can't realistically be done with a web app) > Web apps have a lot more power than they used to. It is possible to store significant amounts of data in places like indexdb Not the whole of a collection - but enough to be useful. I haven't done this yet - this app is a learning exercise for me. ------------------------------------------------------------------------ SeanBurlington's Profile: http://forums.slimdevices.com/member.php?userid=70806 View this thread: http://forums.slimdevices.com/showthread.php?t=113262 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
