AbsoluteJS
AbsoluteJS

Create AbsoluteJS

Scaffolding tool that bootstraps new AbsoluteJS applications with an interactive CLI. Configure frameworks, databases, auth, and tooling in one command.

View on GitHub
#

Quick Start

Create a new AbsoluteJS project in seconds:

BASH
bun create absolutejs my-app

The 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

ScriptDescription
bun devStart the development server with hot reload
bun buildBuild the project for production
bun lintRun code quality checks
bun formatFormat code with configured formatter
bun typecheckRun TypeScript type checking
bun db:studioOpen database studio (if ORM configured)
bun db:pushPush schema changes to database (if ORM configured)
bun db:<engine>Start local database container (if using local database without a host)

Start developing:

BASH
cd my-app
bun run dev
#

CLI Options

Customize your setup with command-line flags to skip prompts or pre-configure options:

FlagDescription
--help, -hShow help message and exit
--debug, -dDisplay a summary of project configuration after creation
--skipSkip non-required prompts; uses defaults and "absolutejs-project" if no name provided
--installUse the same package manager to install dependencies
--gitInitialize a Git repository
--ltsUse LTS versions of required packages
--directory <mode>Directory-naming strategy: "default" or "custom"
--reactInclude a React frontend
--react-dir <directory>Specify the directory for and use the React frontend
--svelteInclude a Svelte frontend
--svelte-dir <directory>Specify the directory for and use the Svelte frontend
--vueInclude a Vue frontend
--vue-dir <directory>Specify the directory for and use the Vue frontend
--angularInclude an Angular frontend
--angular-dir <directory>Specify the directory for and use the Angular frontend
--htmxInclude an HTMX frontend
--htmx-dir <directory>Specify the directory for and use the HTMX frontend
--htmlInclude a plain HTML frontend
--html-dir <directory>Specify the directory for and use the HTML frontend
--html-scriptsEnable 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-providerA 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
--tailwindInclude Tailwind CSS setup
--tailwind-input <file>Path to your Tailwind CSS entry file
--tailwind-output <file>Path for the generated Tailwind CSS bundle
--biomeUse Biome for code quality and formatting
--eslint+prettierUse 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