Repository navigation
Re-implementation of xyrun in Golang #311
fabiang
started this conversation in
Show and tell
Replies: 2 comments 2 replies
|
Hey, that's great! Actually, I think Node.js has the ability to compile to a standalone executable now: https://nodejs.org/api/single-executable-applications.html But I have not experimented with it yet. |
1 reply
|
I looked into the sea support in Node for another project. Since its marked as stable in Node 26, I thought it would be easy to implement. But it only looks easy first, but when you want to include dependencies it really get annoying, since you need to compile everything (including node_module) into a single JS file and compile it. It's not worth the hassle yet. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I've spend some tokens on Claude AI to re-implement
xyrunin Golang. The idea is to have a static binary w/o dependencies for each platform without the need to install NodeJS.I currently have some custom images that include the NodeJS version of
xyrun, but I hope to either reduce the images size of those or get rid of custom images and a Docker Registry at all. I hope to eitherdocker cporcurlthe correct version into the existing images instead.I*ll try to port changes from the original
xyrunto my repository when possible.Thanks.
All reactions