newser
go-wkhtmltopdf
newser | go-wkhtmltopdf | |
---|---|---|
2 | 2 | |
83 | 1,006 | |
- | - | |
3.2 | 4.0 | |
about 2 years ago | 3 months ago | |
Go | Go | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
newser
-
Is there a tool to save websites as pdf in optimized A5X/A6X format?
https://github.com/lnenad/newser is an open source project made specifically for this use case by an A5X user.
-
Show HN: Newser, utility written in go to generate a pdf with news content
I've gotten myself a Supernote A5X (awesome device btw) and since it doesn't have a web browser or anything I've wanted to have a way to read news on it. I've hacked together this utility in a couple of days and it works wonders for me personally so I thought it might be interesting to others. It can also be used as a noise free newspaper generator as it removes images/ads/links and other noisy stuff.
https://github.com/lnenad/newser
(there is a screenshot of the first page of the generated pdf)
It scrapes (news) websites for content and puts it into a pdf. For me the pdf location is my dropbox supernote directory so my setup is to run this thing daily and have a fresh pdf with news whenever I want it.
It's rough around the edges probably (currently added crawl support for verge, ars, engadget) but I think it's a good base so if anyone wants to contribute feel free. Some of the stuff I want to add is pictures (maybe), maybe parse the text html to include font styling and other stuff.
I've tried to generalize it as much as possible so the crawling is pretty much automatic and is controlled by a config file where you define "rules" on how to parse the website.
go-wkhtmltopdf
- How to create a PDF?
-
[Advice] Generating PDFs in Golang.
Simplest way is to use a Go package: https://github.com/SebastiaanKlippert/go-wkhtmltopdf
What are some alternatives?
rss2kindle - Convert RSS feed to a PDF for reading on Kindle
resumeio2pdf - Convert resume.io to pdf
ftr-site-config - Site-specific article extraction rules to aid content extractors, feed readers, and 'read later' applications.
fpdf - A PDF document generator with high level support for text, drawing and images
pdfinverter - darken (or lighten) a PDF
gofpdf - A PDF document generator with high level support for text, drawing and images
unipdf - Golang PDF library for creating and processing PDF files (pure go)
DinkToPdf - C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.
one-file-pdf - A minimalist Go PDF writer in 1982 lines. Draws text, images and shapes. Helps understand the PDF format. Used in production for reports.
gotenberg - A developer-friendly API for converting numerous document formats into PDF files, and more!
fay - Stateless, Fast and Reliable PDF rendering service.