Analysis updated 2026-05-18
Bundle a web project from a src/ folder into production-ready dist/ with minified HTML, CSS, and JS in a single command.
Run a local development server with automatic rebuild on file changes using biu --serve.
Add TypeScript API routes to a front-end project by placing handler files in a backend/ directory that map to URL paths.
Download all CDN-referenced scripts and stylesheets locally so the project works offline using --cdn-cache.
| mindon/biu | arashthr/hugo-flow | argeneau12e/kairos-tx | |
|---|---|---|---|
| Stars | 2 | 2 | 2 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | easy | moderate | hard |
| Complexity | 2/5 | 3/5 | 4/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
biu is a build tool for web projects that takes your HTML files and the TypeScript or JavaScript they reference, bundles them into a compressed, production-ready output, and optionally serves them locally during development. It is powered by Bun (a fast JavaScript runtime) and designed to require no configuration files. The typical workflow is to put your HTML and TypeScript or JavaScript files inside a src/ directory, then run biu --serve. It starts a local development server at localhost:3000, watches for file changes, and rebuilds automatically. When you are ready to deploy, the output lands in a dist/ folder containing optimized HTML and JS files ready for any static host. biu handles several things automatically. It identifies which JavaScript files are referenced in HTML and builds those as standalone modules, while unreferenced files are bundled inline. It minifies HTML, CSS, SCSS, and JavaScript, including JavaScript that appears inside HTML template literals. Output filenames include a content hash so browsers automatically pick up new versions after a deploy. Static assets in a static/ folder are copied through unchanged. There are also more advanced features. A backend/ directory can be used to add server-side API routes written in TypeScript, where each file maps to a URL path and named exports (GET, POST, and so on) handle matching HTTP methods. A CDN caching mode downloads externally referenced resources from CDN URLs and rewrites the project to load them locally, allowing projects to work offline. Dependency installation can also be automated. Installation is a one-line curl command for macOS, Linux, and WSL, or a PowerShell command for Windows. Prebuilt binaries are available without needing to install Bun. The project can also be compiled from source. No license is stated in the README.
A zero-config web bundler powered by Bun that takes HTML files with TypeScript/JavaScript, bundles and minifies them for production, and includes a dev server with live rebuild.
Mainly TypeScript. The stack also includes TypeScript, Bun, HTML.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.