Kreft v0.0.45-beta

JavaScript framework · Laravel-friendly

Built for scale, speed, and safety.

Kreft is a zero-dependency, full-stack JavaScript framework featuring its own component language, built-in SQL ORM, state management, migrations, auth, queues, and desktop packaging—all self-contained with no build steps required. Routes, controllers, models, migrations and commands will feel familiar if you know Laravel.

✓ 0 Dependencies ✓ Built-in SQL ORM ✓ Authentication & Gates ✓ Laravel-friendly ✓ TypeScript & JS Choice
Hello.ts.kreft
state name: string = "Enterprise User"
state count: number = 0
derive double: number = count * 2

action add(): void { count++ }

<view>
  <h2>Hello {name}</h2>
  <button @click={add}>
    Clicks: {count}
  </button>
</view>
Heading

Hello Enterprise User

SQL ORM Auth queues

Platforms

One codebase. Every screen.

Web application

Available

Browser · PWA

  • Every device
  • Installable
  • Works offline

The website itself: one `kreft build`, installable and offline with `kreft build --pwa`.

Desktop

Available

Electron · Tauri

  • macOS
  • Linux
  • Windows

Installers from one settings file: window, menu, DevTools, security, tray and updates.

Mobile

Available

Capacitor · ArkTS

  • iOS
  • Android
  • HarmonyOS

A phone UI kit, the native API, and a release guide for Google Play and the App Store.

TV

Coming soon

Android TV · tvOS · webOS · Tizen — Not available yet. Remote-control navigation and TV packaging are planned.

See every platform

The whole language fits on one screen

state
a value that can change
saved
a value kept after a reload
derive
a value worked out from others
load
data from an API or a database
action
something the page can do
when
run once a condition becomes true
watch
run each time a value changes
on
start, ready, update, show, hide, destroy
prop
a value from the parent
event
a message to the parent
use
a shared store or shared logic
share
a value for everything inside

Also in the box

Start a project

kreft new my-app --db sqlite

Then cd my-app and npm run dev. Coming from Vue? The docs have a table with the Kreft name for every Vue feature.