[{"data":1,"prerenderedAt":260},["ShallowReactive",2],{"project-18183334":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":41,"post_text":44,"what":45,"said":79,"maker_in_thread":162,"shape":170,"grid":173,"attempts":224,"same_week":225,"maker_shows":37,"maker_hidden":252,"reader_version":253,"card":254},"18183334","Percollate","a command-line tool to grab web pages as PDFs","title","Show HN: Percollate – a command-line tool to grab web pages as PDFs","https:\u002F\u002Fgithub.com\u002Fdanburzo\u002Fpercollate","github.com","danburzo",1539164569,2018,123,22,348,2155,17,"notable","dev_tools","command-line converter","cli",[24,25,26,27],"web page to pdf","command line pdf","readability","puppeteer","debated",-0.035,{"positive":31,"neutral":32,"mixed":33,"critical":31},2,4,0,8,{"docs":36,"idea":38,"execution":39,"design":40},{"positive":33,"critical":37},1,{"positive":33,"critical":33},{"positive":33,"critical":33},{"positive":37,"critical":37},[37,33,33,42,42,33,33,33,33,33,42,33,33,33,37,33,43,33,42,33,43,33],3,5,null,{"problem":46,"audience":44,"pricing":44,"motivation":56,"time_to_build":44,"stack":60,"openness":77,"stage":78,"team_size":77},{"value":47,"source":48,"evidence":49},"Saving web articles as clean PDFs for offline reading or book bundling","maker",[50,53],{"id":51,"by":11,"text":52},"18183344","I’ve been sporadically working on this over the last couple of weeks, and I think it’s now stable enough to get other people’s feedback on it. I got the idea while perusing Simon…",{"id":54,"by":11,"text":55},"18201004","As @cronopios mentions, if you need a bit of flexibility in the output, you need to use a wrapper over Chromium — either Electron, or (the more recent) Puppeteer. Other than…",{"value":57,"source":48,"evidence":58},"Bundling Simon Wardley's mapping book chapters into a PDF; also a sample app for gluing tools together to produce books in the browser",[59],{"id":51,"by":11,"text":52},[61,65,73],{"value":62,"source":48,"evidence":63},"Puppeteer",[64],{"id":54,"by":11,"text":55},{"value":66,"source":67,"evidence":68},"Chromium","commenter",[69],{"id":70,"by":71,"text":72},"18200348","vincnetas","It uses puppeteer so basically it's chrome under the hood.",{"value":74,"source":48,"evidence":75},"Readability",[76],{"id":54,"by":11,"text":55},"unknown","beta",{"praise":80,"objections":95,"requests":121,"questions":141,"alternatives":153},[81,88],{"value":82,"source":67,"evidence":83},"Nice and useful",[84],{"id":85,"by":86,"text":87},"18200728","v01d4lph4","Nice!",{"value":89,"source":67,"evidence":90},"Polar archive tool is a related idea",[91],{"id":92,"by":93,"text":94},"18202170","burtonator","Polar has a similar feature if you're just wanting an archive of web pages: https:\u002F\u002Fgetpolarized.io\u002F We support 'captured' HTML pages. Basically what we do is we fetch the full…",[96,103,114],{"value":97,"source":67,"evidence":98},"Default font is huge and page tiny; hard to read",[99],{"id":100,"by":101,"text":102},"18200859","heinrichhartman","Just tried it on their GitHub page: percollate pdf --output p.pdf https:\u002F\u002Fgithub.com\u002Fdanburzo\u002Fpercollate The font is gigantic and the page tiny. Barely get to the second headline…",{"value":104,"source":67,"evidence":105},"Lacks examples and screenshots in the README",[106,110],{"id":107,"by":108,"text":109},"18200004","anonytrary","You might want to include some actual pictures of the input and output in the readme. The current examples are just one-line command snippets which aren't as useful to someone…",{"id":111,"by":112,"text":113},"18193367","dustingetz","Examples please, and can you show me the differences made by the enhancements?",{"value":115,"source":67,"evidence":116},"Chrome --print-to-pdf is simpler for basic cases",[117],{"id":118,"by":119,"text":120},"18200122","dananjaya86","How is it different from, let's say: chrome --headless --disable-gpu --print-to-pdf https:\u002F\u002Fwww.google.com\u002F",[122,127,134],{"value":123,"source":67,"evidence":124},"Add README examples with before and after output",[125,126],{"id":107,"by":108,"text":109},{"id":111,"by":112,"text":113},{"value":128,"source":67,"evidence":129},"Make page size and font size customizable",[130,131],{"id":100,"by":101,"text":102},{"id":132,"by":101,"text":133},"18201002","Yes. This would work. It's probably a good idea to not introduce flags like `--font-size 12p` or `--page A4` since it leads down a rabbit hole. (Where do you stop?). Directly…",{"value":135,"source":67,"evidence":136},"Implement HTML output",[137],{"id":138,"by":139,"text":140},"18200223","dvfjsdhgfv","This made me smile: > percollate html Not implemented yet",[142,146],{"value":143,"source":67,"evidence":144},"How does it differ from Chrome headless print-to-pdf?",[145],{"id":118,"by":119,"text":120},{"value":147,"source":67,"evidence":148},"Could it serve as a backend for Wikipedia's book creator?",[149],{"id":150,"by":151,"text":152},"18203971","Ninjaneered","Speaking of Wikipedia articles, have you checked out their \"book creator\" [0], it's a link on the left of every page? It has some significant issues [1] and as of now can't be…",[154,158],{"value":155,"source":67,"evidence":156},"Chrome headless --print-to-pdf",[157],{"id":118,"by":119,"text":120},{"value":159,"source":67,"evidence":160},"Polar",[161],{"id":92,"by":93,"text":94},{"comments":163,"answered":42,"key":164},10,[165,168,169],{"id":166,"text":167},"18200942","You're totally right. I will add some examples to the README so it's clearer what it does (passing the article through Readability, et cetera)",{"id":51,"text":52},{"id":54,"text":55},{"commenters":171,"max_depth":32,"maker_replies":163,"first_comment_mins":37,"lifespan_hours":172},12,58,[174,176,178,180,181,183,187,188,190,193,197,199,201,202,205,207,210,212,215,217,219,222],[107,33,37,175,108,33],"project\u002Fcritical\u002Fdocs",[166,33,33,177,11,37],"maker\u002Fneutral\u002Fdocs",[51,37,33,179,11,37],"project\u002Fneutral\u002Fidea",[118,31,42,179,119,33],[70,31,42,182,71,33],"project\u002Fneutral\u002Fexecution",[184,31,33,185,186,33],"18200356","commenter\u002Fneutral\u002Fidea","cronopios",[54,31,33,182,11,37],[92,42,33,189,93,33],"other\u002Fneutral\u002Fidea",[191,42,33,192,11,37],"18202208","maker\u002Fpositive\u002Fnone",[194,42,33,195,196,33],"18202514","other\u002Fneutral\u002Fdesign","webwanderings",[111,32,42,198,112,33],"project\u002Fneutral\u002Fdocs",[200,32,33,182,11,37],"18200958",[150,32,33,189,151,33],[203,32,33,204,11,37],"18204038","commenter\u002Fneutral\u002Fnone",[100,43,37,206,101,33],"project\u002Fcritical\u002Fdesign",[208,43,33,209,11,37],"18200934","project\u002Fneutral\u002Fdesign",[132,43,43,211,101,33],"project\u002Fpositive\u002Fdesign",[213,43,33,214,11,37],"18204163","maker\u002Fpositive\u002Fdesign",[138,216,42,182,139,33],6,[218,216,33,182,11,37],"18200971",[85,220,43,221,86,33],7,"project\u002Fpositive\u002Fnone",[223,220,33,192,11,37],"18200959",[],[226,230,235,239,244,249],{"id":227,"name":228,"points":229,"category":20},"18166538","Alan",413,{"id":231,"name":232,"points":233,"category":234},"18166753","aiortc",216,"languages",{"id":236,"name":237,"points":238,"category":20},"18154825","Markdown page",169,{"id":240,"name":241,"points":242,"category":243},"18154427","Trigonoparty",144,"learning_science",{"id":245,"name":246,"points":247,"category":248},"18166090","Firebase2graphql",114,"infrastructure",{"id":250,"name":251,"points":172,"category":234},"18155262","Fork",false,"v2",{"id":255,"name":5,"line":6,"ai":252,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":256,"top":18,"kw":257,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":258,"url":9,"mix":259,"praise":82,"objection":97,"sub":21},18183334,-0.04,[24,25,26,27],"1003300000300010503050",[31,32,33,31],1793990980545]