WKHTMLToPDF
url2epub
WKHTMLToPDF | url2epub | |
---|---|---|
56 | 8 | |
12,952 | 62 | |
- | - | |
4.3 | 7.8 | |
over 1 year ago | about 2 months ago | |
C++ | Go | |
GNU Lesser General Public License v3.0 only | BSD 3-clause "New" or "Revised" 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.
WKHTMLToPDF
- Show HN: CLI for generating beautiful PDF for offline reading
-
Working with PDFs in Ruby
We’ll start with the WickedPDF gem, which is powered by the wkhtmltopdf command-line library.
-
Any good tutorials for working with pdfs in Rust?
The only “sane” way I’ve found to be able to deal with pdfs is through this tool https://wkhtmltopdf.org/
-
Batch saving webpages to PDFs? (Sub wiki page deleted)
wget + https://wkhtmltopdf.org/
-
Get attributes from another session without loading that session
Thanks for the suggestion! KnpSnappyBundle was my initial way to go as well, but my pages use quite some Javascript (chartJs) to render and I couldn’t get wkhtmltopdf to work with it. As it seems wkhtmltopdf does not support ES6 https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3596 so I was forced to find another way.
-
Open Source Tool to create a PDF structure via coding?
wkhtmltopdf — Generates PDFs from HTML documents.
-
Fixed width tables in PDFs
Of the HTML-based pdf-engines pandoc supports, prince would have the best typography, but I don't like recommending Prince because it's proprietary and costs money. (I try to stick to open source when I can.) wkhtmltopdf is the fastest, but uses a pretty old codebase, and doesn't even support paged/print css. weasyprint is a little better in my experience, but still has a ways to go typographically. pagedjs-cli is just a wrapper around headless Chrome/Chromium, and while Chrome has made improvements with regard to typography, Google turns off some of those features (e.g., hyphens) in headless mode, which is annoying.
-
Is there a command line program to convert web pages into readable markdown/htm/pdf format? preferably markdown
Concerning pdf there is the well known wkhtmltopdf , but let me say that I love the not so well known percollate
-
LaTex alternative/replacement written in Rust?
Did you try wkhtmltopdf and WeasyPrint, by any chance?
-
Is there any program that helps you build your own bestiary for homebrew settings?
Since the srd uses standardized links (base/creature type/creature name) you could make a list of urls based on your selected monsters in a spreadsheet, then use a program like https://wkhtmltopdf.org/, https://www.weenysoft.com/free-html-to-pdf-converter.html, or the url conversion feature in Adobe Acrobat Pro if you combine all the urls into an htm for Acrobat to pull from.
url2epub
-
Show HN: CLI for generating beautiful PDF for offline reading
Somewhat similarly, I wrote a web app to generate epub (instead of pdf) out of urls and send to eink reader(s) directly (via a telegram bot) so I can read them. Currently it supports sending epub by email (for kindle) or uploading epub to dropbox (for kobo, etc.). It originally also supports reMarkable cloud but we can no longer make reMarkable cloud actually work. There's also a REST api to generate epub to be downloaded directly: https://github.com/fishy/url2epub/blob/main/REST.md
For e-ink readers epubs are generally better than PDFs for urls anyways, as epubs are basically packed htmls, and also the flow text works better on smaller screens.
- Omnivore – free, open source, read-it-later App
-
Ask HN: Tell us about your project that's not done yet but you want feedback on
I wrote a service (Google Cloud Run as the backend, with Telegram bot as the frontend) to generate readable ePub from URLs and send directly to e-ink readers. It was originally wrote for reMarkable 2 (using reMarkable cloud), I recently added support for Kindle (by using the send-to-kindle emails). The code is at https://github.com/fishy/url2epub and I blogged about the recently added kindle support at https://b.yuxuan.org/url2epub-kindle.
I'm open to suggestions on what other e-ink platforms to add, as long as they have a reasonable cloud API. I'm also looking for a good e-ink platform to move to personally, as it becomes apparent that reMarkable really doesn't want third parties to use their proprietary cloud "API".
-
ReMarkable 2
2. It's a relatively open system (compared to other e-ink readers), so it's pretty fun in terms of hackability.
I did get the forever free subscription which helps, but I also totally understand why they would want to charge for that, and I think the new $3/month is a pretty reasonable price for it.
Regarding instapaper use case and also hackability, shameless plug: I wrote https://github.com/fishy/url2epub for my own use case, so instead of relying on a third party service and manually sync stuff to reMarkable 2, I just send the link to the telegram bot (I picked telegram bot so that I can easily send links from my phone, not only desktops), and the epub will be auto synced to my reMarkable cloud account (they did made some changes to the cloud api causing I have to manually open their official mobile or desktop app to sync once before the reMarkable 2 itself would accept the new epub I uploaded through url2epub, haven't figured out how to avoid that yet, but it's still mostly automated).
- Instructions on how to send articles from your iPhone to reMarkable
-
Zenreader: A 4.7 Inches E-Ink RSS Reader Powered by ESP32
For reMarkable, I also wrote a Telegram bot to convert http url into ePub and send to reMarkable directly: https://github.com/fishy/url2epub
(if you don't like telegram or don't use reMarkable, it also comes with a public rest API to generate epub out of urls)
-
Show HN: Epub.to – ePub to pdf, ePub to mobi, ePub to kindle, and an ePub API
Shameless plug and this is only loosely related: Over the last holiday season I wrote a backend (written in Go and running on App Engine) to convert http url into epub. The frontend is a telegram bot that sends the epub to your reMarkable account directly, but it also has rest api to download the epub file: https://github.com/fishy/url2epub/blob/main/REST.md
-
Show HN: Create ePub Out of URL
With the purchase of reMarkable 2, I have this need to easily send web articles to my reMarkable 2 from my phone, while officially they only provided a Chrome extension, which can only be used on desktops.
As a result I wrote some go code (https://github.com/fishy/url2epub) for the past 2 days, to generate ePub from URL. I also implemented reMarkable API to send them to reMarkable tablets directly.
The current UI for it is implemented as a Telegram bot (https://t.me/url2rM_bot?start=1), running on AppEngine (code: https://github.com/fishy/url2epub/tree/main/appengine). I initially considered making an Android app for the UI, but decided that Telegram bot is less work for me, and works good enough for this use case (sorry for people who don't use Telegram, but this also means that people on iOS, desktop, etc. will be able to use it).
For the future, I might do:
- Expand the URLs supported (currently it only supports URLs with an AMP version provided, and the AMP version does have article tag inside)
What are some alternatives?
Dompdf - HTML to PDF converter for PHP
M5Paper_FactoryTest
DinkToPdf - C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.
lines-are-beautiful - C++ File API for the reMarkable tablet
TCPDF - Official clone of PHP library to generate PDF documents and barcodes
KindleUnpack - python based software to unpack Amazon / Kindlegen generated ebooks
mPDF - PHP library generating PDF files from UTF-8 encoded HTML
seleneCMSBundle - Add CMS functionality to your Symfony Apps
WeasyPrint - The awesome document factory
is - an inspector for your environment
puppeteer - Node.js API for Chrome
golang-samples - Sample apps and code written for Google Cloud in the Go programming language.