What is gitbook built with?
gitbook is a TypeScript repo built with React and Next.js. It stores its data in quick-lru, signs people in with jwt-decode and jsonwebtoken, uses AI through ai and Vercel, makes its content with shiki, mdast-util-to-markdown, feed, image-size, mdast-util-from-markdown, and 15 more, validates its data with Zod, zod-to-json-schema, and Scalar, is tested with @playwright/test and @argos-ci/playwright, deploys with @opennextjs/cloudflare, and uses MCP. It has 119,716 written lines, with 135 test files.
Read on November 8, 2026, at commit 09a8310. Read it as markdown
Frontend
The base 2
- React222 files · in packages/gitbook/package.json
- Next.js90 files · in packages/gitbook/package.json
Styles 5
- PostCSS1 file
tailwind-merge1 file
- Tailwind CSS
- classnames24 files
- next-themes4 files
Interface 6
motion13 files
- Base UI12 files
usehooks-ts4 files
- Mermaid1 file
- react-hotkeys-hook3 files
- @panzoom/panzoom2 files
Icons 1
- Font Awesome1 file
Backend
Other repos with a similar stack
Ordered by how much of its stack they share with gitbook, then by stars.
- CherryHQcherry-studio53.3k
Your AI workspace for models, agents, and productivity.
17 of 74 in commonCompare →
Frequently asked questions
What language is gitbook written in?
What framework does gitbook use?
What database does gitbook use?
What does gitbook sign people in with?
Does gitbook use AI?
What services does gitbook use?
The proof: packages/gitbook/src/components/WebMCP/WebMCP.tsx, line 38
Does gitbook have tests?
Which repos have a stack like gitbook's?
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.
Is it your repo? Add its badge, keep it up to date or take it down →

