UBuilder is a cross-platform solution that packages applications written in various programming languages as single, dependency-free executables.
-
Prerequisites
- CMake 3.16 or higher
- C/C++ compiler (GCC, Clang, or MSVC)
- Git
-
Clone and Build
git clone <repository-url> cd ubuilder chmod +x build-system/build.sh ./build-system/build.sh
-
Verify Installation
./dist/bin/ubuilder --version ./dist/bin/ubuilder --help
-
Create a simple Python application
# hello.py print("Hello from UBuilder!")
-
Build with UBuilder
./dist/bin/ubuilder --project-dir=./my-project \ --runtime=python \ --entry-point=hello.py \ --output=hello-app -
Run the executable
./hello-app
- Python: Package Python scripts and applications
- PHP: Package PHP CLI applications
- Node.js: Package Node.js applications
ubuilder --project-dir=<path> --runtime=<runtime> --output=<name> [options]Required Arguments:
--project-dir: Source project directory--runtime: Runtime type (python, php, node)--output: Output executable name
Optional Arguments:
--entry-point: Application entry point file--gui: Enable GUI support--verbose: Enable verbose output
See the examples directory for complete example applications:
- Read the Architecture Guide to understand how UBuilder works
- Check out the API Reference for detailed function documentation
- Explore Runtime-Specific Guides for advanced usage