- Published on
DaVinci's Notebook
A DaVinci-style inventor notebook renderer built on Next.js App Router that turns prompts or images into parchment illustrations with ink annotations using Gemini.
- Authors

- Name
- Arthur Reimus
- @artreimus

DaVinci's Notebook Image Generator
Built with ❤️ by @artreimus from Ylang Labs
DaVinci-style inventor notebook renderer built on Next.js App Router. Provide a topic (or image), and the backend asks Gemini to craft a parchment illustration with ink annotations.
📸 App

Prerequisites
- Node.js 18+ and
pnpm(preferred for lockfile consistency). GEMINI_API_KEYavailable in your environment (see.env.example).
Getting Started
pnpm install
pnpm dev
# then open http://localhost:3000
To run a production build: pnpm build then pnpm start.
Usage
- Enter a topic such as “Clockwork orchard pollination rig.”
- Click Generate to request a parchment-styled image. The prompt is trimmed server-side to keep outputs concise.
- Regenerate or download the PNG once it renders.
- Optionally supply an image; the API will transform it into the notebook style.
Environment
- Copy
.env.exampleto.env.localand setGEMINI_API_KEY. - Do not commit secrets; use local env files or deployment-specific secret stores.
Development Commands
pnpm dev— run the dev server.pnpm build— production bundle.pnpm start— serve the production build.pnpm lint— ESLint (Next.js/TypeScript).
License
This project is licensed under the MIT License. See the LICENSE file for details.
⭐ If you find this project useful, please give it a star! ⭐
Built with ❤️ by @artreimus from Ylang Labs