Silgi

Examples

Ready-to-use example apps — download with one command.

Every example is a complete, runnable project. Download any of them with giget and start exploring.

Standalone

Standalone Server

Minimal Silgi server with serve() — no framework, just TypeScript. The simplest starting point.

bash npx giget gh:pebblely/silgi/examples/standalone silgi-standalone

Framework adapters

Express

Mount Silgi as Express middleware alongside existing REST routes.

npx giget gh:pebblely/silgi/examples/express silgi-express

Hono

Run Silgi on any runtime — Node.js, Bun, Deno, Cloudflare Workers — via Hono.

bash npx giget gh:pebblely/silgi/examples/hono silgi-hono

Elysia

Silgi inside an Elysia server on Bun.

bash npx giget gh:pebblely/silgi/examples/elysia silgi-elysia

Nitro

Silgi with Nitro v3 — file-system routing and auto-imports.

bash npx giget gh:pebblely/silgi/examples/nitro silgi-nitro

Nitro + H3

Silgi with Nitro v3 and H3 v2 event handler integration.

npx giget gh:pebblely/silgi/examples/nitro-h3 silgi-nitro-h3

Full-stack

Next.js

Full-stack Next.js App Router — server actions, TanStack Query, and SSR prefetching.

npx giget gh:pebblely/silgi/examples/nextjs silgi-nextjs

Nuxt

Nuxt 4 with Nitro server routes and auto-imported Silgi procedures.

bash npx giget gh:pebblely/silgi/examples/nuxt silgi-nuxt

SvelteKit

SvelteKit with server-side Silgi routes and typed client.

bash npx giget gh:pebblely/silgi/examples/sveltekit silgi-sveltekit

React Client

Vite + React frontend with TanStack Query — connects to any Silgi server.

npx giget gh:pebblely/silgi/examples/client-react silgi-client-react

Running an example

After downloading, install dependencies and start the dev server:

cd silgi-standalone
npm install
npx tsx server.ts

Each example includes a README with specific instructions.

On this page