Live data from Hacker News

ArchiveBox: Open-source self-hosted web archive

github.com

61–63 of 63 posts

Re: ArchiveBox: Open-source self-hosted web archive

#61
post #39

I have spent the last hours reading up on everything-WARC that I could find but I still haven't been able to answer my main question: why only as external crawlers? There does not seem to be a tool to actually capture a warc directly in your own browser session. webrecorder ( http://webrecorder.io/ ) is the only example I could find that comes close in terms of user experience but it still requires a third party and…

When I initially coded up WARCreate, the webRequest API was still experimental. I believe there are more mature APIs that can be used from the extension context but some require DevTools to be visually open, which is not a common usage pattern of a typical web user. Per the ticket, we have worked on a few other JavaScript-driven web preservation project like https://github.com/N0taN3rd/node-warc and https://github.co…

Woah both these tools are awesome, thanks for sharing them!

I'm adding links to both from https://github.com/pirate/ArchiveBox/wiki/Web-Archiving-Comm...

Re: ArchiveBox: Open-source self-hosted web archive

#62
post #11
post #5

This sounds like a very good idea, but I'm having trouble making it work. For example, let's say I want to save a great website which will probably disappear soon ( https://launchaco.com ). I run `echo https://launchaco.com | ./archive` and then...? The generated index.html doesn't load css and js files. Or is this more for static content? Is there some tool that would allow one to make a copy of a modern SPA? Is tha…

> The generated index.html doesn't load css and js files. Or is this more for static content? Why doesn't it do that? I thought that was the point of using Chrome as a headless browser to load all the dynamic elements into a final DOM so they could then be captured & serialized out: "ArchiveBox works by rendering the pages in a headless browser, then saving all the requests and fully loaded pages in multiple redundan…

It does that, it's possible it just broke on the page he tried. It doesn't work perfectly on 100% of pages which is why it saves as PDF, screenshot, and other methods as a fallback.

Re: ArchiveBox: Open-source self-hosted web archive

#63
post #32
post #5

This sounds like a very good idea, but I'm having trouble making it work. For example, let's say I want to save a great website which will probably disappear soon ( https://launchaco.com ). I run `echo https://launchaco.com | ./archive` and then...? The generated index.html doesn't load css and js files. Or is this more for static content? Is there some tool that would allow one to make a copy of a modern SPA? Is tha…

Is there some tool that would allow one to make a copy of a modern SPA? If the interesting content is inside a database at the backend, copying the interface is not enough. You also want the database.

ArchiveBox is going to save all requests and responses with pywb in proxy mode, so it includes any data from the database that was needed to render the page.
Post reply on HN