A 3D magical book documentation generator. Transform your docs into an interactive grimoire with realistic page-flip animations.
Grimoire3D transforms your Markdown documentation into an interactive 3D book. Perfect for:
- Project documentation
- Design specifications
- Technical notes
- Portfolios
- Tutorials
- Realistic 3D page-flip animation
- Markdown rendering
- HTML support
- Mermaid diagram support (planned)
- Multiple themes
- Static site generation
- Zero-config setup
npm install grimoire3d
# or
pnpm add grimoire3d
# or
yarn add grimoire3dmy-project/
├── grimoire.yml # Configuration (optional)
└── docs/
├── index.md # Cover page
├── 01-overview.md
├── 02-features.md
└── assets/
└── diagram.png
<!-- docs/index.md -->
# My Project
Welcome to the documentation.
## Overview
This is an amazing project...npx grimoire3d servenpx grimoire3d buildCreate a grimoire.yml file in your project root:
title: "My Project Documentation"
theme: "vintage-red" # or "modern-dark", "paper-white"
pages:
- index.md
- 01-overview.md
- 02-features.md
# Omit 'pages' to auto-detect all .md filesimport { BookViewer } from "grimoire3d/components";
const pages = [
{
id: "cover",
title: "Cover",
front: <CoverPage />,
back: <AboutPage />,
tabColor: "#E57373",
tabLabel: "Cover",
},
// ... more pages
];
function App() {
return <BookViewer pages={pages} />;
}| Theme | Description |
|---|---|
vintage-red |
Classic red leather book cover |
modern-dark |
Sleek dark mode |
paper-white |
Clean minimal design |
forest-green |
Nature-inspired |
- v0.1.0 - MVP with basic page-flip and Markdown support
- v0.2.0 - Mermaid diagrams and code highlighting
- v0.3.0 - CLI for static site generation
- v0.4.0 - Theme customization and plugins
- Node.js 22+
- React 19+
MIT License. See LICENSE for details.
- Ancient grimoires and magical tomes
- Vintage technical manuals
- React component libraries