[{"data":1,"prerenderedAt":314},["ShallowReactive",2],{"project-46090619":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":44,"post_text":45,"what":46,"said":73,"maker_in_thread":151,"shape":156,"grid":161,"attempts":277,"same_week":278,"maker_shows":40,"maker_hidden":306,"reader_version":307,"card":308},"46090619","Nano PDF","A CLI Tool to Edit PDFs with Gemini's Nano Banana","title","Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana","https:\u002F\u002Fgithub.com\u002Fgavrielc\u002FNano-PDF","github.com","GavCo",1764449064,2025,176,40,386,3837,11,"notable","dev_tools","pdf editing cli","cli",[24,25,26,27],"pdf editing","gemini","ai pdf editor","command line pdf","mixed",0.076,{"positive":31,"neutral":18,"mixed":32,"critical":33},7,0,5,23,{"execution":36,"idea":38,"performance":41,"docs":42,"design":43},{"positive":37,"critical":37},2,{"positive":39,"critical":40},3,1,{"positive":32,"critical":40},{"positive":32,"critical":40},{"positive":40,"critical":32},[39,40,32,33,33,33,32,32,40,39,40,39,39,32,39,39,39,32,32,32,32,32,33,32,32,32,32,40,32,39,39,33,32,32,32,33,39,33,39,40],"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.\n\nExamples:\n\n- `nano-pdf edit deck.pdf 5 \"Update the revenue chart to show Q3 at $2.5M\"`\n\n- `nano-pdf add deck.pdf 15 \"Create an executive summary slide with 5 bullet points\"`\n\nFeatures:\n\n-",{"problem":47,"audience":53,"pricing":53,"motivation":54,"time_to_build":53,"stack":58,"openness":71,"stage":72,"team_size":72},{"value":48,"source":49,"evidence":50},"Editing text and content in PDF presentations is hard; the tool edits slides via an image model","maker",[51],{"id":52},"post",null,{"value":55,"source":49,"evidence":56},"Fun idea to edit PDF presentations with the new image model",[57],{"id":52},[59,63],{"value":60,"source":49,"evidence":61},"Gemini 3 Pro Image model",[62],{"id":52},{"value":64,"source":65,"evidence":66},"Tesseract OCR","commenter",[67],{"id":68,"by":69,"text":70},"46090986","tecoholic","> Converts an image to a single-page PDF with a hidden text layer using Tesseract. This is the 'State Preservation' step. Does this mean the text only pdf page is transformed…","open_source","unknown",{"praise":74,"objections":85,"requests":108,"questions":130,"alternatives":136},[75],{"value":76,"source":65,"evidence":77},"Impressive approach; text stays selectable after rehydration",[78,81],{"id":79,"by":69,"text":80},"46095998","Wait! what? This is incredible. Amazing work.",{"id":82,"by":83,"text":84},"46099381","kumarm","Amazing. Worked really well. Thank you.",[86,97],{"value":87,"source":65,"evidence":88},"Page-to-image conversion is lossy and bloats file size",[89,93],{"id":90,"by":91,"text":92},"46091188","shevis","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",{"id":94,"by":95,"text":96},"46096907","Zopieux","I am disappointed that this doesn't modify the underlying pdf structure (which is a horror show, I know) but instead relies on fairly lossy OCR back&fourths. I wish an agent with…",{"value":98,"source":65,"evidence":99},"Lack of example input and output PDFs",[100,104],{"id":101,"by":102,"text":103},"46093381","iamflimflam1","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?",{"id":105,"by":106,"text":107},"46090816","treetalker","I'd love to see clearer examples: a video, or original pdf \u002F command \u002F result pdf. Very cool!",[109,119],{"value":110,"source":65,"evidence":111},"Include sample PDF output and screenshots",[112,115],{"id":113,"by":83,"text":114},"46091899","Seems true and really wish the project included some sample PDF output. My Text to Speech app uses bounding box to display what text in PDF is being read and would not work well…",{"id":116,"by":117,"text":118},"46093638","albert_e","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\u002Fscreenshots)…",{"value":120,"source":65,"evidence":121},"Add a GUI",[122,126],{"id":123,"by":124,"text":125},"46092714","informal007","it will be more excited if i can use this feature in application with GUI, it’s now convenient to check the result after edit the PDF, i need to transfer between CLI and PDF reader",{"id":127,"by":128,"text":129},"46122062","ohans","Really cool! I reckon a nice UI would be a good addition",[131],{"value":132,"source":65,"evidence":133},"Does text remain selectable and keep bounding boxes?",[134,135],{"id":68,"by":69,"text":70},{"id":113,"by":83,"text":114},[137,144],{"value":138,"source":65,"evidence":139},"Photopea",[140],{"id":141,"by":142,"text":143},"46091321","tkfoss","Try photopea next time",{"value":145,"source":65,"evidence":146},"LibreOffice",[147],{"id":148,"by":149,"text":150},"46091166","ThrowawayTestr","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.",{"comments":40,"answered":32,"key":152},[153],{"id":154,"text":155},"46095291","OP here, I added a sample PDF output in the project assets and put screenshots in the ReadMe. The text is selectable after rehydration. would this work with your app?",{"commenters":157,"max_depth":158,"maker_replies":40,"first_comment_mins":159,"lifespan_hours":160},32,6,19,183,[162,164,166,168,170,172,176,180,183,185,188,192,195,198,202,205,210,214,217,220,223,225,227,229,230,232,235,237,239,243,244,246,250,254,256,260,263,266,271,276],[68,32,39,163,69,32],"project\u002Fneutral\u002Fexecution",[113,32,40,165,83,32],"project\u002Fcritical\u002Fexecution",[154,32,32,167,11,40],"maker\u002Fneutral\u002Fdocs",[79,32,33,169,69,32],"maker\u002Fpositive\u002Fexecution",[82,32,33,171,83,32],"project\u002Fpositive\u002Fexecution",[173,40,33,174,175,32],"46090751","project\u002Fpositive\u002Fidea","lxe",[177,40,32,178,179,32],"46092698","commenter\u002Fneutral\u002Fnone","thenthenthen",[181,40,32,178,182,32],"46100906","esafak",[90,37,40,184,91,32],"project\u002Fcritical\u002Fperformance",[186,37,39,163,187,32],"46093833","falcor84",[189,39,40,190,191,32],"46094435","project\u002Fcritical\u002Fidea","moezd",[105,193,39,194,106,32],4,"project\u002Fneutral\u002Fdocs",[196,33,39,163,197,32],"46117427","struc_so",[199,158,32,200,201,32],"46092986","other\u002Fneutral\u002Fnone","perfectritone",[203,31,39,163,204,32],"46181065","jimmySixDOF",[206,207,39,208,209,32],"46090940",8,"project\u002Fneutral\u002Fidea","itsmevictor",[211,212,39,194,213,32],"46090944",9,"mentalgear",[215,212,32,200,216,32],"46091501","yoavm",[218,212,32,200,219,32],"46092202","varenc",[221,212,32,200,222,32],"46094424","ornornor",[224,212,32,200,219,32],"46099396",[226,212,32,178,222,32],"46099876",[148,228,33,174,149,32],10,[141,228,32,200,142,32],[231,228,32,200,117,32],"46093717",[233,228,32,200,234,32],"46097573","fzysingularity",[236,228,32,200,142,32],"46114162",[101,18,40,238,102,32],"project\u002Fcritical\u002Fdocs",[240,18,32,241,242,32],"46093444","commenter\u002Fneutral\u002Fdocs","stingraycharles",[116,18,39,194,117,32],[245,18,39,194,102,32],"46093757",[247,248,33,174,249,32],"46092449",12,"McNulty2",[251,252,32,200,253,32],"46092476",13,"toddmorey",[255,252,32,200,117,32],"46093662",[257,258,32,200,259,32],"46092072",14,"mlpoknbji",[127,261,33,262,128,32],15,"project\u002Fpositive\u002Fdesign",[123,264,39,265,124,32],16,"project\u002Fneutral\u002Fdesign",[267,268,33,269,270,32],"46094402",17,"maker\u002Fpositive\u002Fnone","vood",[272,273,39,274,275,32],"46091372",18,"project\u002Fneutral\u002Fperformance","John7878781",[94,159,40,165,95,32],[],[279,284,289,294,298,301],{"id":280,"name":281,"points":282,"category":283},"46093473","Boing",782,"games",{"id":285,"name":286,"points":287,"category":288},"46075882","banrays",509,"security_privacy",{"id":290,"name":291,"points":292,"category":293},"46139761","finfam",393,"finance_crypto",{"id":295,"name":296,"points":297,"category":20},"46135067","Fresh",187,{"id":299,"name":300,"points":14,"category":293},"46130260","HCB Mobile",{"id":302,"name":303,"points":304,"category":305},"46108557","Walrus",160,"infrastructure",false,"v2",{"id":309,"name":5,"line":6,"ai":306,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":310,"top":18,"kw":311,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":312,"url":9,"mix":313,"praise":76,"objection":87,"sub":21},46090619,0.08,[24,25,26,27],"3105550013133033300000500001033500053531",[31,18,32,33],1794036686560]