Skip to content

Avoid nodejs installation by distributing single executable binary package #7

@debloper

Description

@debloper

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions