[GH-ISSUE #7] Avoid nodejs installation by distributing single executable binary package #9

Closed
opened 2026-03-03 11:13:19 +03:00 by kerem · 0 comments
Owner

Originally created by @debloper on GitHub (Jun 23, 2024).
Original GitHub issue: https://github.com/debloper/xiosk/issues/7

Originally assigned to: @debloper on GitHub.

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.

Originally created by @debloper on GitHub (Jun 23, 2024). Original GitHub issue: https://github.com/debloper/xiosk/issues/7 Originally assigned to: @debloper on GitHub. 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](https://nodejs.org/api/single-executable-applications.html). 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.
kerem 2026-03-03 11:13:19 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/xiosk#9
No description provided.