Skip to content

OxideModern Svelte Web Framework

Full-stack, type-safe web framework built on Vite, Nitro, and Svelte 5.

Quick Example ​

Create a full-stack application with just a few files:

svelte
<!-- src/app/index.svelte -->
<script lang="ts">
  import { rpc } from '$oxide'

  const posts = await rpc.api.posts.list()
</script>

<h1>Latest Posts</h1>
{#each posts as post}
  <article>{post.title}</article>
{/each}
typescript
// src/app/api/posts.ts
import { base } from "$lib/orpc";

export const router = {
  list: base.handler(async ({ context }) => {
    return await context.db.posts.findMany();
  }),
};

Core Features ​

πŸ—‚οΈ File System Routing ​

Organize your app with intuitive file structure:

src/app/
β”œβ”€β”€ index.svelte           β†’ /
β”œβ”€β”€ about.svelte          β†’ /about
β”œβ”€β”€ users/
β”‚   β”œβ”€β”€ [id].svelte       β†’ /users/:id
β”‚   └── [id]/
β”‚       └── settings.svelte β†’ /users/:id/settings
└── api/
    β”œβ”€β”€ users.ts          β†’ /api/users/*
    └── posts.ts          β†’ /api/posts/*

πŸ”Œ Type-Safe APIs ​

Build APIs with full type safety and automatic client generation:

typescript
// Define once
export const router = {
  getUser: base
    .input(z.object({ id: z.string() }))
    .handler(async ({ input, context }) => {
      return await context.db.users.findUnique({ where: { id: input.id } });
    }),
};

// Use everywhere with full types
const user = await rpc.api.users.getUser({ id: "123" });

🎨 Modern Svelte 5 ​

Leverage the latest Svelte features with runes and enhanced reactivity:

svelte
<script lang="ts">
  import { useRoute, rpc } from '$oxide'

  const route = useRoute()
  let posts = $state([])

  $effect(() => {
    const query = route.query.get('q') || ''
    rpc.api.posts.search({ query }).then(results => {
      posts = results
    })
  })
</script>

Why Oxide? ​

  • Zero Configuration: File system conventions eliminate boilerplate
  • Full-Stack Types: Never lose type safety between frontend and backend
  • SSR Optimized: Fast initial loads with progressive enhancement
  • Developer First: Excellent tooling, error messages, and debugging experience
  • Production Ready: Built for scale with proper error handling and performance optimization

Get Started ​

Ready to build your next application? Get started with Oxide in minutes.

Made in Poland πŸ‡΅πŸ‡±πŸ‡ͺπŸ‡Ί