Nano PDF
A CLI Tool to Edit PDFs with Gemini's Nano Banana
Details
- External ID
- 46090619
- Source
- HN
- Company
- —
- Product
- Nano PDF
- Website domain
- github.com
- Launched
- Nov. 29, 2025
- Cohort
- —
- Upvotes
- 176
- Upvotes percentile
- 0.9475982532751092
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
The new Gemini 3 Pro Image model (aka Nano Banana) is incredible at generating slides, so I thought it would be fun to build a CLI tool that lets you edit PDF presentations using plain English. The tool converts the page you want to edit into an image, sends it to the model API together with your prompt to generate an edited image, then converts the updated image back and stitches into the original document.Examples:- `nano-pdf edit deck.pdf 5 "Update the revenue chart to show Q3 at $2.5M"`- `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 text layer for copy/paste and searchIt can work with any kind of PDF but I expect it would be most useful for a quick edit to a deck or something similar.GitHub: https://github.com/gavrielc/Nano-PDF
Enrichment
- Theme
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- AI feature
- Project type
- Hobby / open-source project
- Normalized one-liner
- cli tool to edit pdfs with gemini
- Manually corrected
- False
Could you build this?
Yes This is a simple CLI wrapper that renders PDF pages into images using tools like pdf2image/poppler, sends the image and user prompt to Gemini's API, and saves the resulting image back into a PDF.
Discussion
20 comments analyzed.
Competitors mentioned: Tesseract for OCR, Photopea for PDF editing, Microsoft Powerpoint Designer
Concerns raised: Relies on lossy OCR rather than modifying underlying PDF structure, xref table integrity and file corruption risks with content injection, File size bloats quickly with incremental updates, Output PDFs adding extra characters (e.g., ampersands at line ends), Energy consumption for AI-based PDF processing
Feature requests: Nicer UI, AI agent with validation/rendering tools to manipulate PDF structure less destructively, Slice generated images into individual text and image elements for cleaner PDF rendering, Example input and output PDFs showing actual results
Competitors
Other products that read as similar to this one — 128 launches clear the similarity bar, closest 8 shown.
Attention rank: #6 of 129 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 3 days after the earliest competitor.
- nano-banana-pro-api · github · 2026-09-17 · 94 upvotes · similarity 0.55
- nano-banana-pro-prompts · github · 2026-09-17 · 59 upvotes · similarity 0.51
- Nano Banana 2.5 · ph · 2026-09-22 · 1 upvotes · similarity 0.51
- nanobananapro-nano-banana-pro-4k · github · 2026-09-24 · 52 upvotes · similarity 0.50
- Nano Banana 2 Lite Tools · ph · 2026-09-15 · 2 upvotes · similarity 0.49
- Nano Banana 2 · ph · 2026-09-22 · 1 upvotes · similarity 0.49
- Notee · ph · 2026-09-15 · 2 upvotes · similarity 0.48
- nano-banana-pro-ext-reverse-api-ru · github · 2026-09-28 · 18 upvotes · similarity 0.47
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.