Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana
Source: Hacker News
Overview
Nano PDF is a command‑line tool that lets you edit PDF presentations using plain English prompts. It works by converting the target page into an image, sending it to the Gemini 3 Pro Image model (nicknamed Nano Banana) along with your instruction, receiving an edited image, and then stitching the result back into the original PDF while preserving the text layer for copy/paste and search.
Examples
- Edit a specific slide:
nano-pdf edit deck.pdf 5 "Update the revenue chart to show Q3 at $2.5M" - Add a new slide:
nano-pdf add deck.pdf 15 "Create an executive summary slide with 5 bullet points"
Features
- Edit multiple pages in parallel
- Add entirely new slides that match your deck’s style
- Google Search enabled by default so the model can look up current data
- Preserves the text layer for copy/paste and search
- Works with any kind of PDF, but especially handy for quick edits to slide decks
Links
- GitHub repository: https://github.com/gavrielc/Nano-PDF
- Discussion on Hacker News: https://news.ycombinator.com/item?id=46090619