Skip to content

BobbyNooby/create-stelle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-stelle

Stelle

A CLI scaffolder for a Bun + SvelteKit + ElysiaJS fullstack starter.

Usage

bunx create-stelle
# or
npx create-stelle

You'll be prompted for a project name and features.

What you get

  • SvelteKit for pages & SSR (port 5173 in dev)
  • ElysiaJS in src/server.ts as a separate Bun process (port 3000 in dev), serving HTTP + WebSockets natively
  • Vite proxy forwards /api (including WebSocket upgrades via ws: true) to Elysia, so frontend code calls same-origin
  • Eden Treaty pre-wired in src/lib/api.ts for end-to-end type safety
  • A landing page with a working CRUD demo (in-memory Map) and a realtime broadcast chat demo (open two tabs to chat with yourself)
  • Colored HTTP + WebSocket request logging on the Elysia server
  • Optional: Tailwind v4, better-auth, Drizzle (SQLite/Postgres) or MongoDB

Feature toggles

Feature Default
Tailwind v4 on
better-auth on
Database setup (SQLite / Postgres / MongoDB) on

Database choice only scaffolds the client, schema, and config — the landing-page CRUD demo always uses an in-memory Map so the starter runs out of the box.

Dev

The generated project runs both processes together:

bun run dev   # vite (5173) + elysia (3000) via concurrently

Prod

Two deploy shapes, your choice:

  1. Two processes behind a reverse proxy — standard fullstack setup.
  2. Single Bun process — have Elysia own the port and mount SvelteKit's built handler, so SSR, API, and WebSockets all share one server. One app container, plus your database. The generated README walks through this.

About

A CLI scaffolder for a Bun + SvelteKit + ElysiaJS fullstack starter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors