-
Notifications
You must be signed in to change notification settings - Fork 7
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document existing SEA solutions out there #1
Comments
Does |
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 |
Technically I don't have to invoke parameters when using the |
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 |
This comment was marked as off-topic.
This comment was marked as off-topic.
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 |
This comment was marked as off-topic.
This comment was marked as off-topic.
@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 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
My interpretation of that statement, and per your earlier post, I see "Member" next to both of our usernames. |
You can't have Node.js applications without the |
This comment was marked as off-topic.
This comment was marked as off-topic.
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. |
This comment was marked as off-topic.
This comment was marked as off-topic.
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. |
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? |
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. |
How |
Do things like |
I think electron does count to an extent here because we are trying to find ways to embed Electron's |
@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? |
sure, done - #7 |
So this repository is bring your own |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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 :)
The text was updated successfully, but these errors were encountered: