Show HN: PDF Assembler – client-side PDF editing Here's a neat hack I made recently to do basic PDF editing directly in a browser—without having to upload anything to a server. I was initially looking for a way to do simple PDF modification (extracting pages, merging, and adding page numbers). There are some good server-side tools for this (QPDF, PDFTk, PDFBox, iText, Hummus), but for better speed and privacy I really wanted a 100% client-side solution. There are a few good JavaScript PDF libraries for reading and displaying PDFs (pdf.js) and creating PDFs from scratch (jsPDF, PDFKit), but I couldn't find any for editing existing PDFs. So, I did what any self-respecting hacker would do, and rolled my own. :-) Actually, I found out that Mozilla's pdf.js solved half the problem, as it does an excellent job disassembling PDF files. So all I had to do was figure out a way to put them back together again. The result is PDF Assembler, now available on GitHub and NPM. I also put together a demonstration site ( https://ift.tt/2vi9f7s ) which shows some examples of what it can do. I know PDF Assembler still needs some tweaking, but I think the basic idea is sound, and so far I've been pretty happy with how it works. Please take a look and let me know what you think. Thanks! PDF Assembler Links: Demonstration Site - https://ift.tt/2vi9f7s GitHub - https://ift.tt/2JHxDTi NPM - https://ift.tt/2vi9v6q April 14, 2018 at 01:20AM
Bloomberg Android One never really got anywhere, but Google isn’t giving up. Since its launch back at Google I/O 2014 , the low-cost Android One initiative was never the saving grace we had all once hoped it would be. The program promised solid Android-powered hardware, timely software updates straight from Google, a simple and easy to use software experience, and even more ways to save on high data costs . As it turns out, not many people were interested in these One devices, as the lower-cost competition began heating up in these countries, often offering users better devices for the money. Now that it’s been awhile since we’ve seen any new Android One hardware, what’s next for the program? According to The Wall Street Journal , Google is taking another crack at it. Sourcing “people familiar with the matter”, this new report claims that Google plans to relax its rules and give Android One partners more options when it comes to choosing features and price. Google is being ...
Comments
Post a Comment