Skip to main content

Extracts the javascript source code and assets of Node Single Executable Applications

Project description

unsea

Extracts the javascript source code and assets of Node Single Executable Applications.

Supports ELF (Linux), PE (Windows), and Mach-O (MacOS) executables generated by Node.js v20 to v26.

Installation

pip install unsea

Usage

unsea <path-to-executable> [-o <output-directory>] [--force]

Output files:

  • main.js: source code
  • main.jsc: code cache / bytecode
  • main-snapshot.bin: snapshot
  • sea-prep.blob: preparation blob injected into a Node.js executable
  • config.json: configuration to create the executable
  • assets/: extracted assets

Development

  1. Clone the repo

  2. Create/sync the environment:

    uv sync
    
  3. Run the CLI:

    uv run unsea <path-to-executable>
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unsea-0.2.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unsea-0.2.0-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file unsea-0.2.0.tar.gz.

File metadata

  • Download URL: unsea-0.2.0.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for unsea-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1990bc094c7679eac5a27ed03db601b8944a8427db9a44cf6dceae1649c1b325
MD5 8eedeaaedabf497007920fa9bf00da9d
BLAKE2b-256 130d497e8f9c1ff281e3100911456c054546d3bbcd8b48bc22ef82e7dc503eca

See more details on using hashes here.

File details

Details for the file unsea-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: unsea-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for unsea-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63e3c73c1523b5b0eaad7fba3d2c948a085b815a77502ce02493198098fafaa8
MD5 3d7fbc7ea5719458dc58640de513f6f9
BLAKE2b-256 9a845489f42e869776b5c21570ad814c99f516e55e862614f076c8c6366800c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page