Replies: 27 comments
-
Does |
Beta Was this translation helpful? Give feedback.
-
I don't think it counts as a single executable if you have to invoke it with specific parameters. Otherwise any zero-dependency node program could qualify merely by using |
Beta Was this translation helpful? Give feedback.
-
Technically I don't have to invoke parameters when using the |
Beta Was this translation helpful? Give feedback.
-
This is the code I wrote to fetch and extract only For this project we can compressed the exectutable in gzip format with .gz file extension which we can decompress in the browser with Compression Streams API |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
The reason I found the PR that lead to this repository was due to the fact that Node.js does not provide a download of We should provide a means to download only the nightly So, what I am getting at is single-executable has a broader meaning, to me, than solely combining the Logically, we should first provide download of the single executable |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
@ljharb For some context, a few months ago StackBlitz claimed to be capable of running Node.js in the browser using its WebContainer. However, the source code, as far as I know is not open source. So I set about devising a means to achieve that goal in an open source manner. Basically my idea was, using the browser alone, fetch the In theory the nightly First though, we should provide a download of the
Well, I disagree with your analysis and opinion. You havn't provided any reasons for your opinion. Other JavaScript runtimes do that. When a developer has zero need for Technically I could attach any arbitrary code to the single We should just be able to concatenate arbitrary code to the discrete |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
-
My interpretation of that statement, and per your earlier post, I see "Member" next to both of our usernames. |
Beta Was this translation helpful? Give feedback.
-
You can't have Node.js applications without the |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
Then we are talking about the same thing.
We have to have the base application capable of being appended to - as a single application. I'm not sure what precisely you are objecting to. |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
Again, I disagree with your assessment. You can't have a Node.js application without the executable.
Well, that is the name of the repository: #1, so you are factually incorrect. I don't think discussions about the core code required to have an application in this realm should be excluded. You can do what you want. I shall proceed based on my understanding of the scope of this repository. |
Beta Was this translation helpful? Give feedback.
-
Hi! I agree with Jordan that this repo is not about how Node.js distributes its binaries, it's about planning and providing the required code that would enable Node.js users to distribute their Node.js applications as single-executable-applications. I'm sorry if the repo name conveyed something else but I'm personally open to better suggestions. Do you have a better name suggestion? |
Beta Was this translation helpful? Give feedback.
-
Again, I think we are talking about the same thing. How do you get to Node.js application without You can't. So, how does this repository plan on getting the required I would prefer to build a single Node.js application including only the Native Messaging host code that is well-suited to achieve any goal, standalone. When I set out to do that I found that it was not a simple matter to just get the For the nightly and all other releases, I had to fetch the entire tarball with extraneous executables that would not be used whatsoever. Hardly efficient. That Is how I located the SEA issue. Tell me how you intend to build single-executable Node.js applications without only existing node or cutom node executable, first? That is, you cannot have a Node.js application without node. |
Beta Was this translation helpful? Give feedback.
-
How |
Beta Was this translation helpful? Give feedback.
-
Do things like |
Beta Was this translation helpful? Give feedback.
-
I think electron does count to an extent here because we are trying to find ways to embed Electron's |
Beta Was this translation helpful? Give feedback.
-
@Trott @RaisinTen I'm a bit on the fence about Electron. While the SEA work we are doing is applicable to Electron, Electron as it is now probably does not count as an SEA, given that it does not embed the ASAR into the main executable itself. Instead of adding Electron, maybe we should just document ASAR as a VFS implementation as suggested by @RaisinTen here: #4? |
Beta Was this translation helpful? Give feedback.
-
sure, done - #7 |
Beta Was this translation helpful? Give feedback.
-
So this repository is bring your own |
Beta Was this translation helpful? Give feedback.
-
I moved this to GitHub Discussions, given that by the nature of the issue title, it will never be "done" |
Beta Was this translation helpful? Give feedback.
-
A more maintained version of vercel Footnotes |
Beta Was this translation helpful? Give feedback.
-
As a step 0 in this WG, I propose we take some time to research and document every known existing solution to the problem of packaging Node.js applications as single executables, and document them in this repository.
Doing so would allow us to better study existing approaches, organize our notes on them, find points of contact of those projects and make sure we create something that truly solves the problem by considering every perspective.
I started by documenting the ones I personally know about: https://github.com/nodejs/single-executable/blob/master/docs/existing-solutions.md.
Please comment on this issue if we're missing or just send a PR :)
Beta Was this translation helpful? Give feedback.
All reactions