Live data from Hacker News

Show HN: Kage – Shadow any website to a single binary for offline viewing

github.com

101–110 of 152 posts

Re: Show HN: Kage – Shadow any website to a single binary for offline viewing

#101
post #14
post #10

One use I'd have for this is company wikis that you want to give folks easy offline access to (maybe the wiki has documentation that's useful at sites that don't have cellular coverage). Cool! It would be especially cool to have a version that didn't require the separate serving process - even though it's nifty you can package up a whole site as a single binary. Maybe a single HTML entrypoint shim with a bit of javas…

Submitting this to Hacker News is the right place! Thanks for your idea. I will consider implementing that :) Also, in my mind, I already have a script/program to convert HTML to Markdown, so it could actually store everything on disk as a folder of Markdown files, and then commit them to a Git repo.

Not to load you up with too many ideas, but a markdown folder sounds a lot like obsidian, which has a plugin system now.

Epub would also be a great target.

Re: Show HN: Kage – Shadow any website to a single binary for offline viewing

#105

It seems like https://github.com/tw93/pake is better.

Both of these projects have completely different purposes and use cases.

Have you even read the first line of the readme of the project you're commenting on?

Re: Show HN: Kage – Shadow any website to a single binary for offline viewing

#106
post #72
post #38

I 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…

You can also do an animated svg which is way smaller than a gif because it's just text keyframes ( https://github.com/vytskalt/pseudoc/blob/main/assets/factori... )

How can you do it? I don't see an SVG output from ascii-gif.

Re: Show HN: Kage – Shadow any website to a single binary for offline viewing

#107
Amazing stuff!

I would recommend an add-on or new feature to detect and remove cookie banners / annoying popups that open on load (eg. sign up to my mailing list).

listing a few examples form fastText could help you.

You might also have the opposite problem though: some websites have content in the base html (so it's searchable by Google and they get views) and remove it on load (so you have to pay).

Capturing the initial html and comparing it to the final version could give you some hints and allow you to repair the removed content.

Best of luck with the project!

Re: Show HN: Kage – Shadow any website to a single binary for offline viewing

#108

Cool project! I know it's written in go, but it would be cool to see something like this which uses Cosmopolitan Libc + redbean or something similar to create a binary which runs anywhere. Would be fun to be able to pass around self-executable website archives. https://github.com/jart/cosmopolitan https://justine.lol/cosmopolitan/index.html https://redbean.dev (Certificates just expired for justine's website, just ig…

I never understood the appeal for cosmopolitan.

I'd rather have platform specific minimal binaries than a single binary with hacks.

Installing packages is a solved problem

Post reply on HN