Currently we're using nodejs to run the backend service for the web GUI. There are a couple of inconveniences to this:
Lack of first party debian aptitude package
Best effort (but still clumsy) third party installation script
Necessitates dependency installation during setup process
Which necessitates dependency version locking management
Because entrypoint script takes argument (node index), it needs to be wrapped in a script to be used as ExecStart command
I think this can be much more effective, efficient and elegant by using Node.js SEA. We can use GitHub actions to generate the package, and in future, instead of cloning the entire repo, hopefully we'll just need to download the release binary.
Currently we're using nodejs to run the backend service for the web GUI. There are a couple of inconveniences to this:
node index
), it needs to be wrapped in a script to be used asExecStart
commandI think this can be much more effective, efficient and elegant by using Node.js SEA. We can use GitHub actions to generate the package, and in future, instead of cloning the entire repo, hopefully we'll just need to download the release binary.