# nexe/nexe

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/nexe-nexe).**

13,573 stars · 556 forks · TypeScript · MIT

## Links

- GitHub: https://github.com/nexe/nexe
- awesome-repositories: https://awesome-repositories.com/repository/nexe-nexe.md

## Topics

`binaries` `binary` `bundle` `bundler` `cli` `executable` `javascript` `nexe` `nodejs`

## Description

Nexe is a cross-platform binary bundler and compiler that packages Node.js applications and their dependencies into single standalone executables. It functions as a runtime compiler that can build the Node.js runtime from source with custom flags and application snapshots to enable software distribution without requiring a pre-installed runtime.

The system allows for cross-compilation across different operating systems and architectures from a single build environment. It includes a static asset bundler to embed external files and directories directly into the compiled binary for access at runtime.

The build process is managed through a pipeline that supports custom middleware and plugins to modify source code, integrate build patches, and resolve dependencies.

## Tags

### Programming Languages & Runtimes

- [Binary Compilers](https://awesome-repositories.com/f/programming-languages-runtimes/python-compilers/binary-compilers.md) — Converts interpreted JavaScript source code into standalone native binaries for distribution. ([source](https://github.com/nexe/nexe/blob/master/README.md))
- [Cross-Platform Binary Generation](https://awesome-repositories.com/f/programming-languages-runtimes/source-code-compilers/multi-target-compilers/cross-platform-binary-generation.md) — Generates platform-specific executable binaries for diverse CPU architectures and operating systems from a single build environment. ([source](https://github.com/nexe/nexe#readme))
- [Runtime Compilers](https://awesome-repositories.com/f/programming-languages-runtimes/runtime-compilers.md) — Compiles the Node.js runtime from source with custom build flags and application snapshots.
- [Runtime Builds](https://awesome-repositories.com/f/programming-languages-runtimes/source-code-compilers/runtime-builds.md) — Compiles the Node.js runtime from source using custom flags and configurations for specific environment compatibility.
- [Binary Asset Embedding](https://awesome-repositories.com/f/programming-languages-runtimes/binary-asset-embedding.md) — Bakes JavaScript source and static assets directly into the compiled executable binary for internal runtime access.
- [Runtime Snapshots](https://awesome-repositories.com/f/programming-languages-runtimes/runtime-snapshots.md) — Captures the initial state of the runtime environment to significantly accelerate the startup of bundled executables.

### Development Tools & Productivity

- [Cross-Compilation Toolchains](https://awesome-repositories.com/f/development-tools-productivity/cross-compilation-toolchains.md) — Provides a build environment capable of generating executable binaries for diverse operating systems and hardware architectures from a single host.
- [Build-Time Bundles](https://awesome-repositories.com/f/development-tools-productivity/dependency-bundling/build-time-bundles.md) — Bundles required libraries and external modules directly into application binaries during the build process. ([source](https://github.com/nexe/nexe/blob/master/CHANGELOG.md))
- [Single-Binary Distributions](https://awesome-repositories.com/f/development-tools-productivity/single-binary-distributions.md) — Packages an application and all its dependencies into a single executable file for simplified distribution. ([source](https://github.com/nexe/nexe/blob/master/CHANGELOG.md))
- [Static Binary Compilers](https://awesome-repositories.com/f/development-tools-productivity/static-binaries/static-binary-compilers.md) — Bakes external file contents and directory structures directly into the compiled executable binary. ([source](https://github.com/nexe/nexe/blob/master/CHANGELOG.md))
- [Static Asset Embedding](https://awesome-repositories.com/f/development-tools-productivity/static-binaries/static-binary-compilers/static-asset-embedding.md) — Includes specific files or directories into the binary using glob patterns for access at runtime. ([source](https://github.com/nexe/nexe#readme))
- [Bundling Pipeline Extensions](https://awesome-repositories.com/f/development-tools-productivity/build-bundling-tools/bundling-pipeline-extensions.md) — Provides hooks and interfaces for inserting custom transformation logic into the bundling pipeline. ([source](https://github.com/nexe/nexe#readme))
- [Build Patching Utilities](https://awesome-repositories.com/f/development-tools-productivity/build-patching-utilities.md) — Ships utilities for modifying application files during the build process to customize the final executable. ([source](https://github.com/nexe/nexe/blob/master/CHANGELOG.md))
- [Build Pipeline Plugins](https://awesome-repositories.com/f/development-tools-productivity/build-pipeline-plugins.md) — Implements a build pipeline with modular extensions that intercept and transform assets during the compilation lifecycle.
- [Embedded Asset Bundlers](https://awesome-repositories.com/f/development-tools-productivity/isolated-execution-environments/virtual-filesystem-containers/embedded-asset-bundlers.md) — Packages static assets and non-code files directly into an executable binary using an embedded virtual filesystem.

### DevOps & Infrastructure

- [Static Dependency Bundlers](https://awesome-repositories.com/f/devops-infrastructure/dependency-resolution/static-dependency-bundlers/static-dependency-bundlers.md) — Resolves and embeds all required modules and libraries at build time to create a standalone executable.
- [Custom Runtime Builds](https://awesome-repositories.com/f/devops-infrastructure/deployment-management-strategies/execution-platforms-and-targets/deployment-targets/node-js-runtimes/custom-runtime-builds.md) — Compiles a version of the Node.js runtime from source with specific flags and configurations embedded into a binary.
- [Standalone Application Packaging](https://awesome-repositories.com/f/devops-infrastructure/deployment-management-strategies/execution-platforms-and-targets/deployment-targets/node-js-runtimes/standalone-application-packaging.md) — Packages Node.js apps into single standalone binaries to distribute software without requiring a pre-installed runtime.
- [Standalone Executable Compilers](https://awesome-repositories.com/f/devops-infrastructure/deployment-management-strategies/execution-platforms-and-targets/deployment-targets/standalone-executable-compilers.md) — Bundles Node.js applications and their dependencies into a single standalone binary for distribution without a pre-installed runtime.
- [Standalone Archive Deployment](https://awesome-repositories.com/f/devops-infrastructure/standalone-archive-deployment.md) — Provides the ability to package applications as standalone executable archives for simplified installation and cross-platform execution.

### Web Development

- [Standalone Server Executables](https://awesome-repositories.com/f/web-development/web-infrastructure-deployment/web-server-capabilities/standalone-server-executables.md) — Generates self-contained server binaries that bundle the application and runtime for independent execution. ([source](https://github.com/nexe/nexe#readme))
