Skip to content
Silgi Logo TypeScript Framework

Build API-First
Applications

Silgi is a TypeScript framework that helps developers build API and full-stack projects quickly with type-safety and minimal repetition.

core.tsrules.tsconfigs.tsscan.ts

Streamlined Project Management

Silgi simplifies your project workflow from start to finish

Code Generation
Run `pnpm silgi prepare` to generate runtime files, ensuring end-to-end type safety.
Type-Safe Service Definitions
All request and response types are fully guaranteed with TypeScript, ensuring end-to-end type safety.
Rich Features
End-to-end type safety, schema validation, presets, hooks, and more out-of-the-box.
Modular Plugin Architecture
Customizable, reusable plugin/module system that extends functionality based on your needs.

Extensible and Automated Workflow

CLI-Supported Automation
Streamlines all project stages with commands like silgi install, silgi prepare, silgi run, and silgi dev.
import { createService } from 'silgi'

export const userService =  createService({
  np: {
    user: {
      get: {
        profile: {
          async handler(input, shared) {
(property) profile: {
  queryParams: ZodObject<{
    id: ZodString
  }
  output: ZodObject<{
    user: UserSchema
  }
Fully typed request parameters and response
Fully typed API
Full type inference across your entire API.
.JSREST APIGraphQL API
Dual API Support
Define once, deploy twice. Automatically generates both REST and GraphQL endpoints from a single service definition.
Modules and Services
Automatic Documentation
Auto-generates OpenAPI schema for REST endpoints and GraphiQL-compatible documentation for your GraphQL schema.

Integrates seamlessly with your favorite frameworks and tools

NitroH3HonoExpressFastifyBunElysiaSvelteAstroRemix
NuxtQwikAnalogAdonisJSVueReact

Loved by the community

silgi Don't take our word for it - listen to what Silgi community members have to say.

Testimonial 2
Testimonial 2@Testimonial2

I love using Silgi for my projects! The documentation is clear and easy to follow, and the community is very supportive. I highly recommend it to anyone looking for a great development experience.

Start building with Silgi

Experience a streamlined workflow that accelerates your project development.

Get started

Released under the MIT License. (dev). Documentation design is a copy of vite.dev docs.