Installation
Install Bun
Section titled “Install Bun”# Linux / macOScurl -fsSL https://bun.sh/install | bash
# Windows (PowerShell)powershell -c "irm bun.sh/install.ps1 | iex"Requires Bun >= 1.4. See the Bun docs for Homebrew, Docker, and other install methods.
bun create dulak@latest my-app # interactive template promptbun create dulak@latest my-app --template vue-tailwindbun create dulak@latest . # scaffold into the current dirbun create dulak@latest is bun’s shorthand for bunx create-dulak@latest.
Always use @latest to avoid bunx resolving a stale cached version.
Available templates:
| Template | Stack |
|---|---|
default |
React 19 + vanilla CSS |
svelte-vanilla |
Svelte 5 + scoped <style> CSS |
vue-vanilla |
Vue 3 + scoped <style> CSS |
react-tailwind |
React 19 + Tailwind CSS v4 |
svelte-tailwind |
Svelte 5 + Tailwind CSS v4 |
vue-tailwind |
Vue 3 + Tailwind CSS v4 |
The scaffolder downloads the matching branch from GitHub, strips dev-only
files, creates data/ and .env, and runs bun install.
Run the repository directly
Section titled “Run the repository directly”git clone https://github.com/maulanashalihin/dulak.gitcd dulakbun installScripts
Section titled “Scripts”| Command | What it does |
|---|---|
bun run dev |
Watch mode; rebuilds client assets on restart |
bun run dev:css |
Tailwind CLI watch (Tailwind templates) |
bun run build |
Prebuild client assets → dist/ (+ manifest.json) |
bun run start |
Serve prebuilt assets (NODE_ENV=production) |
bun run test |
E2E suite (67 tests) |
bun run db:seed |
Create a demo user ([email] [password] [role]) |
bun run typecheck |
tsc --noEmit (or svelte-check / vue-tsc on templates) |