loading…
Search for a command to run...
loading…
Search and cite rare historical texts (alchemy, Hermeticism, Renaissance philosophy) with DOI-backed academic citations from [Source Library](https://sourcelibr
Search and cite rare historical texts (alchemy, Hermeticism, Renaissance philosophy) with DOI-backed academic citations from [Source Library](https://sourcelibrary.org)
A Next.js application for digitizing and translating historical texts. Built for the Embassy of the Free Mind.
npm install
npm run dev
All page images go through /api/image for consistent sizing and cropping:
| Tier | Size | Quality | Use Case |
|---|---|---|---|
| Thumbnail | 400px | 70% | Grid views, page navigation |
| Display | 1200px | 80% | Main reading view |
| Full | 2400px | 90% | Magnifier, fullscreen |
Books with two-page spreads can be split. Each page stores:
crop.xStart and crop.xEnd (0-1000 scale)cropped_photo (optional pre-generated Vercel Blob URL)Cropping happens on-demand via Sharp. OCR automatically crops inline and saves the result for future use.
src/
├── app/ # All routes, pages, and API endpoints
│ ├── api/ # API routes
│ ├── book/ # Book pages (detail, read, pipeline)
│ └── page.tsx # Homepage
├── components/ # Reusable React components
├── hooks/ # Reusable React hooks for component logic
└── lib/ # Business Logic, Utilities (mongodb, ai, types), and Services
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"embassy-of-the-free-mind-sourcelibrary-v2": {
"command": "npx",
"args": []
}
}
}