Ad

bakeware: Compile Elixir apps to standalone binaries

Bakeware compiles Elixir applications into single executable binaries for easy distribution. It extends Mix releases to create standalone executables, simplifying deployment and execution without requiring Erlang installations.
Screenshot of bake-bake-bake/bakeware homepage

Bakeware extends Mix releases to compile Elixir applications into single, standalone executables. This eliminates the need to install Erlang and untar files, providing a more convenient deployment experience. It achieves this by leveraging the Bakeware.assemble/1 function within a Mix release task, effectively bundling the necessary components into a self-contained binary. The core focus is on creating executable binaries that function independently.

Bakeware simplifies Elixir application deployment by creating standalone binaries. It supports Zstandard compression for smaller executable sizes and provides command-line argument passing. The design allows for straightforward integration with existing Mix release workflows, and the tool prioritizes ease of use for developers. It also offers optional automatic software updates (work in progress).

  • Standalone Binaries: Compiles applications into executable binaries eliminating Erlang dependency.
  • Zstandard Compression: Enables reducing binary size for faster distribution.
  • Command-line Arguments: Supports convenient passing of arguments to executables.
  • Mix Release Integration: Seamlessly integrates into existing Mix release processes.
  • Cross-Platform Support: Designed to work on OSX, Linux, and Windows.

Bakeware is currently not under active maintenance and development, as indicated by the README. Documentation is present, and examples are provided. However, users are advised to consider alternative solutions such as Burrito due to the lack of ongoing updates. The project demonstrates a functional core but may require adaptation and troubleshooting in newer Elixir/Erlang environments.

Bakeware benefits developers by providing a straightforward way to package Elixir applications into runnable executables. It is particularly useful for simplifying deployment, especially where installing Erlang is not feasible or desirable. It is ideal for scenarios requiring easy distribution of Elixir scripts and applications without relying on external dependencies. While no longer maintained, its core functionality remains valuable.

Summarize:
Share:
Stars
1,419
Forks
46
Issues
17
Created
5 years ago
Commit
1 year ago
License
OTHER
Archived
Yes
Updated 17 days ago

Similar Repositories