laju Svelte Themes

Laju

Laju (Indonesian for 'fast/swift') is a high-performance TypeScript web framework combining HyperExpress, Svelte 5, and Inertia.js for building modern full-stack applications. Features server-side rendering, real-time capabilities, and seamless client-server state management.

Laju

A high-performance TypeScript web framework combining HyperExpress, Svelte 5, and Inertia.js for building modern full-stack applications.

Quick Start

npx create-laju-app my-project
cd my-project
npm run dev

Visit http://localhost:5555

Features

  • HyperExpress - 258,611 req/sec (11x faster than Express)
  • Svelte 5 - Modern reactive UI with runes
  • Inertia.js - SPA without client-side routing complexity
  • BetterSQLite3 - WAL mode enabled (19.9x faster writes)
  • TailwindCSS 4 - Utility-first CSS with Vite plugin
  • TypeScript - Full type safety
  • Built-in Auth - Session, Google OAuth, password reset
  • S3 Storage - Presigned URL uploads
  • Email - Nodemailer & Resend support

Performance

Framework Requests/sec vs Laju
Laju.dev 258,611 Baseline
Pure Node.js 124,024 2x slower
Express.js 22,590 11x slower
Laravel 80 3,232x slower

Documentation

Full documentation available at docs/:

Project Structure

app/
├── controllers/     # Request handlers
├── middlewares/     # Auth, rate limiting
└── services/        # DB, Mailer, Storage

resources/
├── js/
│   ├── Pages/       # Svelte/Inertia pages
│   ├── Components/  # Reusable components
│   └── index.css    # TailwindCSS 4
└── views/           # Squirrelly templates

routes/              # Route definitions
migrations/          # Database migrations

Commands

npm run dev                              # Development
npm run build                            # Production build
node laju make:controller UserController # Generate controller
npx knex migrate:make create_posts       # Create migration
npx knex migrate:latest                  # Run migrations

Tech Stack

Layer Technology
Server HyperExpress
Database BetterSQLite3 + Knex
Frontend Svelte 5 + Inertia.js
Styling TailwindCSS 4
Build Vite
Templates Squirrelly

Author

Maulana Shalihin - [email protected]

Support

License

MIT License

Top categories

Loading Svelte Themes