Closed vespakoen closed 5 years ago
You don't need to fork, you can make an electron variant in the variants folder, then build that. This would mean your build would always be up to date. See Building FullPageOS variants section
As to setting it up, should not be a problem. If you want to do it for yourself you can:
/boot/fullpageos.txt
to your app urlIf you write a script for this you could make a variant of it
Cool! didn't see that folder, I would like to do this but pretty busy at the moment, if nobody else will, I probably will in a (couple) of week(s)
Nodejs may be a little heavy on the PI platform.
@heibor It's actually pretty decent! Memory usage is obviously higher than other runtimes, but at long as you have 200M+ free, you'll see pretty reasonable performance. Plus you can always set --max-old-space-size
(recommended for low-memory environments like the Pi) to configure when you want the garbage collector to kick in.
I'm also interested in implementing node.js on FullPageOS. Let's create some kind of a virtual hackathon and give it a go. My aim is to replace the dashboard app with node.js and a chrome extension, as described on the following thread
I have a plan to reimplement dashboard with openresty, perhaps nginx+lua based solution can bring more performance and flexibility.
Hei, any updates on this? I'd also like to have an Electron variant for FullPageOS.
No one picked it up. Also since there is a modules system now it should even be easier to build your own OS. All you need is someone with the time (not me)
Hey, So @tailorvj wrote an electron app, and I wrote a discro that starts it on boot. Tested and works, and solves this issue: https://github.com/fullpageos/PiJam
Since 2016 when this issue was opened FullPageOS moved to use CustomPiOS system, which enables implementing this, but as a septate distro.
Closing, you are welcome to ask questions.
Hey! I think it would be cool if it could boot up an electron app.
Would it be easy to do that?
Edit
Source code is much smaller than I though it would be, looks like a fork would be appropriate for electron.