Live data from Hacker News

Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana

github.com

21–30 of 43 posts

Re: Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana

#23

The lack of examples makes me very reluctant to commit any time to trying this out - despite it being something that I’m interested in. Has anyone given any it a go? Does it work?

What? There are examples in the repo and even in OP’s post.

I haven’t tried it, but there are plenty of examples.

Re: Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana

#24

The lack of examples makes me very reluctant to commit any time to trying this out - despite it being something that I’m interested in. Has anyone given any it a go? Does it work?

What? There are examples in the repo and even in OP’s post. I haven’t tried it, but there are plenty of examples.

Do you mean example commands? we see those examples on the githib README, yes,

But people here are probably also looking for example input and output PDFs (or images/screenshots) showing the actual work done to get a sense of what to expect.

Re: Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana

#25

I thought it was kinda funny that Google Slide’s own built in “beautify this slide” button converts the whole slide into an uneditable image.

AFAIK -- even the "Designer" feature of Microsoft Powerpoint (now folded under Copilot license I believe) gives slide deigns with shapes etc that are not editable. Thankfully the text remains editable. But if we wnat to ever so slightly modify the suggested design my removing or reshaping some if the shapes ... nopes. Feels like they are worried about humans with taste ripping-off the AI output :D

Re: Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana

#26
post #10

I recently tried to change a single word in a PDF and nearly tore my hair out (thank you LibreOffice) I'll definitely keep this in mind for next time, thank you.

Try photopea next time

Wow - didnt know about this tool for PDF editing - thanks!

https://www.photopea.com/

PS: in my quick test of editing a PDF text -- the output PDF had weirdly added an extra "&" symbol at the end of every existing line of text. will try out more to see if it was something in the input PDF that was causing it.

Re: Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana

#27

Earlier quoted context omitted.

What? There are examples in the repo and even in OP’s post. I haven’t tried it, but there are plenty of examples.

Do you mean example commands? we see those examples on the githib README, yes, But people here are probably also looking for example input and output PDFs (or images/screenshots) showing the actual work done to get a sense of what to expect.

Exactly - if these examples work really well, then include some screenshots.

Re: Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana

#28
post #9

A side effect of replacing entire pages with images is that the file size will expand dramatically. Most PDFs only contain a couple of images

It might be feasible to have an intermediate AI call take the generated image and slice it into individual text and image elements that it would then render into the pdf page

Re: Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana

#30
post #15
post #12

Earlier quoted context omitted.

Please don't add an animated gif to your README. Nothing worse than an autoplaying video with no controls, that has 10 frames but takes 5.4MB to download. Github supports normal video files. It allows the user to rewind or pause, and it results in a much smaller file size.

Generally agreed! though fun point of info: you can use the .avif format to get something that behaves just like a gif (auto-playing, no sound, no controls) but supports modern features (HDR/transparency channel) and is compressed as well as a modern video is, since its just AV1. And it's supported in most all modern browsers these days: https://caniuse.com/?search=avif

I tend to use webm but I’m curious, is avif better (performance, size) for gif?
Post reply on HN