Alpha Release

Navigate your app
at warp speed

A Svelte 5 framework for SPAs. State-based routing, data fetching, schema-driven forms, and real-time capabilities — all in one stack.

Ship fast,
stay organized

Routes organized by application state. Every navigation flows through a predictable pipeline. Auth, data, and forms just work.

routes.ts TypeScript
import { createRoute, createStateRoutes } from '@warpkit/core';

export const routes = createStateRoutes({
  unauthenticated: {
    routes: [
      createRoute({
        path: '/login',
        component: () => import('./Login.svelte'),
      }),
    ],
    default: '/login',
  },
  authenticated: {
    routes: [
      createRoute({
        path: '/dashboard',
        component: () => import('./Dashboard.svelte'),
      }),
    ],
    default: '/dashboard',
  },
});

Everything you need to build

State-Based Routing

Routes organized by application state — authenticated, onboarding, admin. The router knows where users belong.

Navigation Pipeline

Every navigation flows through 10 predictable phases. Guards, middleware, data loading — in a defined order.

Auth Agnostic

Bring your own auth. Firebase, Auth0, or custom — WarpKit provides the adapter pattern, you provide the provider.

Data Layer

Config-driven data fetching with E-Tag caching, stale-while-revalidate, and automatic refetching built in.

Schema-Driven Forms

Deep proxy binding with StandardSchema validation. Zod, TypeBox — pick your validator, WarpKit handles the rest.

Real-Time WebSockets

Type-safe messages, rooms, and automatic reconnection. First-class real-time without the boilerplate.

Pick what you need

@warpkit/core Router, state machine, components
@warpkit/data Data fetching, caching, mutations
@warpkit/cache Memory, Storage, E-Tag caches
@warpkit/forms Schema-driven form management
@warpkit/validation StandardSchema validation
@warpkit/websocket WebSocket client with reconnection

Start building

bun add @warpkit/core @warpkit/data @warpkit/cache