TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

58 点作者 dbuxton大约 9 年前

5 条评论

ashkulz大约 9 年前
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 未加载
mrweasel大约 9 年前
Cool project, but firing up docker to convert a website to a PDF is just silly.
评论 #11448441 未加载
评论 #11448849 未加载
评论 #11448676 未加载
评论 #11447572 未加载
评论 #11450708 未加载
brbsix大约 9 年前
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_大约 9 年前
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.
web007大约 9 年前
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>