Skip to content

Rahuletto/manic

Repository files navigation

Manic

npm version Bun License: GPL-3.0

Stupidly fast, Crazy light React framework.

Built exclusively for Bun.


Why Manic?

Manic is the first React framework built from the ground up for Bun. It replaces Vite, Webpack, and Turbopack with a custom, ultra-fast toolchain using OXC for transformation and minification. The result? Near-instant builds, lightning-fast HMR, and zero-config developer experience.


AI Native

Manic is built for AI with first-class support for AI plugins:

  • MCP (Model Context Protocol) - Streamable HTTP endpoint for AI tools
  • Scalar API Docs - Interactive OpenAPI documentation UI
  • MDX - Write AI prompts and documentation with JSX
  • SEO & Sitemap - Auto-generate metadata and search indexes

Live Demo

Platform URL
Vercel manic-framework.vercel.app
Netlify manic-framework.netlify.app
Cloudflare manic-framework.pages.dev

Getting Started

bunx create-manic my-app
cd my-app
bun install
bun dev

Quick Start

// app/main.tsx
import { Router } from 'manicjs/router';
import { ThemeProvider } from 'manicjs/theme';

export default function App() {
  return (
    <ThemeProvider>
      <Router />
    </ThemeProvider>
  );
}

Documentation

Full guides and API reference: manic-docs.vercel.app

Packages

Package Description
manicjs The framework
create-manic CLI to scaffold new apps
@manicjs/providers Deployment adapters (Vercel, Netlify, Cloudflare)
@manicjs/tailwind Tailwind CSS v4 plugin
@manicjs/unocss UnoCSS plugin
@manicjs/mdx Markdown + JSX plugin
@manicjs/seo Meta tags & robots.txt
@manicjs/sitemap Auto-generate sitemap.xml
@manicjs/mcp Model Context Protocol endpoint
@manicjs/api-docs Scalar API reference UI

Documentation

manic-docs.vercel.app

Requirements

  • Bun v1.3.0 or higher

Provider Comparison

Feature Vercel Netlify Cloudflare
Static site
API routes
Edge runtime ✅ (edge option) -
Bun runtime -

License

Manic is licensed under GPL-3.0

About

Stupidly fast, Crazy light React framework.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors

Languages