alpha now available
Basilic
Portable architecture, a Fastify REST API with OpenAPI-generated clients, self-hosted Web2/Web3 auth, and a Cursor-first AI workflow. Shared packages keep web, mobile, and docs consistent.
Features
Everything you need to ship fast
A batteries-included framework designed for real-world backend development, with tools that adapt to your workflow.
Production-Ready REST API
Fastify-powered backend with automatic OpenAPI documentation, JWT authentication, and optional AI and Web3 auth routes.
Auto-Generated SDKs
Automatically generate fully typed client SDKs from your OpenAPI specs for both server and browser. One source of truth, zero manual sync.
End-to-End Type Safety
TypeScript from database to frontend with full IntelliSense support. Catch errors at compile time, not in production.
Next.js and Expo Starters
Launch-ready boilerplates for web and mobile. Web is wired to `@repo/core` and `@repo/react`; mobile shares `@repo/ui` today.
AI Assistant Component
Streaming AI chat UI with Vercel AI SDK, backed by Fastify `POST /ai/chat` and provider env vars (Anthropic, OpenRouter, Ollama).
Zero Vendor Lock-in
Portable architecture that runs anywhere—your VPS, AWS, Vercel, or locally. Own your stack, control your costs.
AI-Assisted Development
Pre-configured rules and skills for Cursor (primary) and Claude Code. Ship features faster with AI pair programming that understands your codebase.
Quality & Security Built-In
Pre-commit hooks for secret scanning (Gitleaks) and dependency checks (OSV), plus blocked secret files.
shadcn/ui Design System
Integrated shadcn/ui design system for consistent, reusable UI and theme support across all apps.
Start building with Basilic
Clone the repo, run pnpm setup, then follow Getting Started to run the API, web app, and docs locally.