Skip to content

evaluate SEA for standalone binaries of w3cli by prototyping something with it #176

@gobengo

Description

@gobengo

Context

  • SEA is a newish thing in node stdlib that can make executables from a nodejs script https://nodejs.org/api/single-executable-applications.html
  • this used to be something that there were lots of slightly different userspace ways of doing. I've never explored those but iiuc plenty of products use them and they work, I've just never needed them and it wasn't obvious which one to use. So it seems nice to have a blessed way in the nodejs stdlib
  • but the docs say "Stability: 1 - Experimental: This feature is being designed and will change." so it's not obvious whether we can promise a feature powered by this yet.

Potential Benefit

  • if it does work out, we could publish executables of w3cli that would run on systems that don't have node.js installed, which would probably make it easier to use for some and might increase the addressable audience of the w3cli tool

Time box

  • 1 day just to follow the docs on a sample script, see how it goes, debug if needed, report back on how it went. (If it's smooth sailing, go ahead and try it out on w3cli itself and it could work)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions