I've been using httrack ( https://www.httrack.com ) to download wikis to read on flights, which isn't perfect but better than I'd found previously. I'll try this out, I'd be delighted to have good results. Thanks for the post.
Specifically for wikis, is there a reason you wouldn't use Kiwix? For non "official" releases it's more complicated, but there are some services to generate the ZIM files. The desktop reader app is pretty good in my experience. https://wiki.openzim.org/wiki/Build_your_ZIM_file EDIT: https://get.kiwix.org/en/solutions/applications/kiwix-reader...
Show HN: Kage – Shadow any website to a single binary for offline viewing
71–80 of 152 posts
Re: Show HN: Kage – Shadow any website to a single binary for offline viewing
#72I was intrigued to see how the demo GIF in the README was generated: https://github.com/tamnd/kage/blob/01e75b87ecc893bbba7943c63... Turns out it's using another project by the same author: https://github.com/tamnd/ascii-gif The script used for the demo is at https://github.com/tamnd/kage/blob/01e75b87ecc893bbba7943c63... and has a comment showing how to run it: ascii-gif render docs/demo/kage.tape -o docs/static/dem…
Re: Show HN: Kage – Shadow any website to a single binary for offline viewing
#73Neat project, I like the idea. One thing from a quick read: you launch Chrome with --no-sandbox. Is there a good reason for that? Security wise it's probably not a good idea. If there is no reason, I'd suggest leaving the sandbox on! In any case, cool stuff :)
Re: Show HN: Kage – Shadow any website to a single binary for offline viewing
#74I've been using httrack ( https://www.httrack.com ) to download wikis to read on flights, which isn't perfect but better than I'd found previously. I'll try this out, I'd be delighted to have good results. Thanks for the post.
Re: Show HN: Kage – Shadow any website to a single binary for offline viewing
#75I was intrigued to see how the demo GIF in the README was generated: https://github.com/tamnd/kage/blob/01e75b87ecc893bbba7943c63... Turns out it's using another project by the same author: https://github.com/tamnd/ascii-gif The script used for the demo is at https://github.com/tamnd/kage/blob/01e75b87ecc893bbba7943c63... and has a comment showing how to run it: ascii-gif render docs/demo/kage.tape -o docs/static/dem…
Re: Show HN: Kage – Shadow any website to a single binary for offline viewing
#76> kage serve $HOME/data/kage/paulgraham.com If the result is static why does it need a server? Isn't it possible to make it so that it can simply be opened by the browser? Like: $ firefox $HOME/data/kage/paulgraham.com Then the result would be useable on machines without kage nstalled.
Actually, Kage has two parts: a crawler that crawls pages and converts them to clean HTML by capturing the DOM after rendering in Chrome/Chromium, and a pack/serve component that packages the result as either a ZIM file for Kiwix or an executable file.
Re: Show HN: Kage – Shadow any website to a single binary for offline viewing
#77I've been using httrack ( https://www.httrack.com ) to download wikis to read on flights, which isn't perfect but better than I'd found previously. I'll try this out, I'd be delighted to have good results. Thanks for the post.
Re: Show HN: Kage – Shadow any website to a single binary for offline viewing
#78I've been using httrack ( https://www.httrack.com ) to download wikis to read on flights, which isn't perfect but better than I'd found previously. I'll try this out, I'd be delighted to have good results. Thanks for the post.
Specifically for wikis, is there a reason you wouldn't use Kiwix? For non "official" releases it's more complicated, but there are some services to generate the ZIM files. The desktop reader app is pretty good in my experience. https://wiki.openzim.org/wiki/Build_your_ZIM_file EDIT: https://get.kiwix.org/en/solutions/applications/kiwix-reader...
The executable file is mostly for people who don't have Kiwix installed yet, or just want to run the archive directly.
Re: Show HN: Kage – Shadow any website to a single binary for offline viewing
#79Earlier quoted context omitted.
I tried to follow well-known formats first, such as WARC and ZIM from Kiwix, so we could benefit from existing tooling support. For my own custom data format, I have a lot of private code that I plan to release soon. It is optimized for compression, fast lookups, and more. I have been working on it for two years. This is part of a larger, ambitious umbrella project: I am building Google from scratch (all open source)…
OK, sounds fascinating; following! (your GH)
Re: Show HN: Kage – Shadow any website to a single binary for offline viewing
#80Does this work for the Apple Docs website? Really tricky to get those offline.
I previously downloaded the Snowflake docs, and it was something like tens or even hundreds of thousands of pages, I do not remember exactly. The output ended up being very large.
By the way, I forgot to add zstd compression support to my ZIM reader/writer. I will implement that in the next version.