Create AbsoluteJS
Scaffolding tool that bootstraps new AbsoluteJS applications with an interactive CLI. Configure frameworks, databases, auth, and tooling in one command.
View on GitHubQuick Start
Create a new AbsoluteJS project in seconds:
bun create absolutejs my-appThe CLI guides you through an interactive setup for:
Frontends
React, Svelte, Vue, HTMX, HTML
Databases
PostgreSQL, MySQL, SQLite, MongoDB
Tooling
Drizzle/Prisma, Tailwind, ESLint
Project Overview
After running Create-AbsoluteJS, your project includes an organized src/ folder with separate frontend and backend directories, pre-configured settings, and all necessary dependencies installed.
Available Scripts
| Script | Description |
|---|---|
bun dev | Start the development server with hot reload |
bun build | Build the project for production |
bun lint | Run code quality checks |
bun format | Format code with configured formatter |
bun typecheck | Run TypeScript type checking |
bun db:studio | Open database studio (if ORM configured) |
bun db:push | Push schema changes to database (if ORM configured) |
bun db:<engine> | Start local database container (if using local database without a host) |
Start developing:
cd my-app
bun run devCLI Options
Customize your setup with command-line flags to skip prompts or pre-configure options:
| Flag | Description |
|---|---|
--help, -h | Show help message and exit |
--debug, -d | Display a summary of project configuration after creation |
--skip | Skip non-required prompts; uses defaults and "absolutejs-project" if no name provided |
--install | Use the same package manager to install dependencies |
--git | Initialize a Git repository |
--lts | Use LTS versions of required packages |
--directory <mode> | Directory-naming strategy: "default" or "custom" |
--react | Include a React frontend |
--react-dir <directory> | Specify the directory for and use the React frontend |
--svelte | Include a Svelte frontend |
--svelte-dir <directory> | Specify the directory for and use the Svelte frontend |
--vue | Include a Vue frontend |
--vue-dir <directory> | Specify the directory for and use the Vue frontend |
--angular | Include an Angular frontend |
--angular-dir <directory> | Specify the directory for and use the Angular frontend |
--htmx | Include an HTMX frontend |
--htmx-dir <directory> | Specify the directory for and use the HTMX frontend |
--html | Include a plain HTML frontend |
--html-dir <directory> | Specify the directory for and use the HTML frontend |
--html-scripts | Enable HTML scripting with TypeScript |
--db <engine> | Database engine: postgresql, mysql, sqlite, mongodb, mariadb, gel, singlestore, cockroachdb, mssql, or none |
--db-dir <directory> | Directory name for your database files |
--db-host <host> | Database host provider: neon, planetscale, or none |
--orm <orm> | ORM to configure: drizzle, prisma, or none |
--auth <plugin> | Pre-configured auth plugin: "abs" or none |
--abs-provider | A provider for Absolute-Auth (e.g., google, github, discord) |
--assets <directory> | Directory name for your static assets |
--build <directory> | Output directory for build artifacts |
--plugin <plugin> | Elysia plugin(s) to include (repeatable); "none" skips plugin setup |
--tailwind | Include Tailwind CSS setup |
--tailwind-input <file> | Path to your Tailwind CSS entry file |
--tailwind-output <file> | Path for the generated Tailwind CSS bundle |
--biome | Use Biome for code quality and formatting |
--eslint+prettier | Use ESLint + Prettier for code quality and formatting |
Configuration Options
Database Options
Local Development
Automatic Docker Compose setup with pre-configured containers, environment variables, and scripts.
Hosted Providers
First-class support for Neon (PostgreSQL), PlanetScale (MySQL), and Turso (SQLite).
Additional Features
Code Quality Tools
Choose between ESLint + Prettier or Biome, both fully configured with sensible default rules out of the box.
Tailwind CSS
Optional utility-first CSS framework setup
Absolute Auth
Pre-configured OAuth 2.0 authentication
ORM Integration
Drizzle or Prisma with type-safe queries