Dex is a composable, Bun-first framework stack for building small full‑stack apps:
@dex/router: file-based React router + generator@dex/server: Elysia helpers (assets, SPA fallback, dev reload)@dex/dev: tiny dev process supervisor
Dex is made of composable packages (that’s the framework), but distribution is GitHub-only:
- A single
dexCLI binary (compiled with Bun) installed from GitHub Releases. - Templates shipped as
.tgzrelease assets thatdex scaffolddownloads and extracts.
framework/packages/— composable packages (framework building blocks)templates/starter/— minimal app template using the packages
cd framework
bun installTo run the starter template locally, scaffold it into a new app:
DEX_TEMPLATE_REPO=patrickaigbogun/dex dex scaffold ./myapp --tag latest
cd myapp
dex startcurl -fsSL https://raw.githubusercontent.com/patrickaigbogun/dex/master/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/patrickaigbogun/dex/master/install.ps1 | iexPin a version:
DEX_VERSION=v0.1.0 curl -fsSL https://raw.githubusercontent.com/patrickaigbogun/dex/master/install.sh | bash$env:DEX_VERSION="v0.1.0"; irm https://raw.githubusercontent.com/patrickaigbogun/dex/master/install.ps1 | iexInstall location (default ~/.local/bin):
DEX_INSTALL_DIR=/usr/local/bin curl -fsSL https://raw.githubusercontent.com/patrickaigbogun/dex/master/install.sh | sudo bash$env:DEX_INSTALL_DIR="$env:LOCALAPPDATA\Dex\bin"; irm https://raw.githubusercontent.com/patrickaigbogun/dex/master/install.ps1 | iexdex-linux-x64dex-linux-arm64dex-darwin-x64dex-darwin-arm64dex-windows-x64.exedex-template-spa.tgzdex-package-router.tgzdex-package-server.tgzdex-package-dev.tgzdex-package-pie.tgz