TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Athena, drop-in replacement for wkhtmltopdf using Docker, Electron and Go

58 pointsby dbuxtonabout 9 years ago

5 comments

ashkulzabout 9 years ago
Hello, current maintainer of wkhtmltopdf here. This looks like an interesting approach, as Qt&#x2F;WebKit is effectively unsupported. wkhtmltopdf is further hampered by the fact that a lot of the functionality requires a patched Qt version, which hasn&#x27;t been ported to Qt 5.x.<p>Switching to Blink is obvious, but which wrapper to use (CEF, Electron, etc) is hard to decide. Because they all use a multi process architecture, supporting the API around which the tools are built is not really possible. Time to work on it has also been in short supply in recent times.<p>So, good work by the authors. Wish we could get something better, but as long as browsers move at the pace they do, it&#x27;s going to be tough.
评论 #11453538 未加载
mrweaselabout 9 years ago
Cool project, but firing up docker to convert a website to a PDF is just silly.
评论 #11448441 未加载
评论 #11448849 未加载
评论 #11448676 未加载
评论 #11447572 未加载
评论 #11450708 未加载
brbsixabout 9 years ago
wkhtmltopdf frustrates me to no end. I&#x27;ve even got a wrapper script to help iterate through it&#x27;s various major versions and option flags in an attempt to get usable PDFs. I really hope this is a significant improvement.
评论 #11447812 未加载
评论 #11448081 未加载
评论 #11447943 未加载
评论 #11447861 未加载
dsr_about 9 years ago
If I&#x27;ve followed all the trails correctly, this is essentially a docker image of a wrapper around Chromium in order to print HTML to PDF.<p>wkhtmltopdf uses a WebKit browser to print HTML to PDF.
web007about 9 years ago
This isn&#x27;t a package replacement, it&#x27;s a microservice in a Docker container.<p>Replacing one package with three is nothing to be proud of. Replacing one with 13 plus wrapper code [1] is utterly ridiculous.<p>I don&#x27;t know the background of this project, so there may be some important detail I&#x27;m missing, but it seems they would have done better to set up a stable wkhtmltopdf Dockerfile microservice instead, and avoid all of the wrapper code entirely. Cool as a demo of what&#x27;s possible with tech today; less cool as a demo of how many hoops you can jump through to reproduce existing functionality.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;arachnys&#x2F;athenapdf&#x2F;blob&#x2F;master&#x2F;cli&#x2F;Dockerfile" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;arachnys&#x2F;athenapdf&#x2F;blob&#x2F;master&#x2F;cli&#x2F;Docker...</a>