Project template for a cross-platform Bun executable with ffi native library and Bun library dependencies
Template Bun Executable is a project template designed to streamline the creation of cross-platform executables using Bun. This tool simplifies the development process by integrating FFI (Foreign Function Interface) native libraries and managing dependencies efficiently.
Key Features:
Cross-platform support for building standalone executables
Integration with Bun runtime, enabling seamless distribution
Support for FFI native extensions to leverage platform-specific functionality
Comprehensive dependency management for both Bun and native libraries
Audience & Benefit:
Ideal for developers creating CLI tools or applications requiring native extensions. It provides a unified toolchain for efficient development, testing, and deployment across Windows, Linux, and macOS. With winget support, installation is straightforward, ensuring consistent environments for users globally.
README
template-bun-executable
> Project template for a cross-platform Bun executable with ffi native library
> and Bun library dependencies
Template Usage
Create a new Bun project using this as a template:
bun create @flowscripter/template-bun-executable
Binary Executable Usage
NOTE: The binaries are 10's of megabytes in size as the entire Bun runtime
is included.