Live data from Hacker News

Show HN: Pocket Stream Archive – A personal Way-Back Machine

github.com

61–70 of 70 posts

Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine

#62

Use zotero and you have your own personal Pocket with snapshots. In addition, you can add tags, organize stuff into folders, etc. https://www.zotero.org/

Zotero is awesome! It doesn't provide a publishable stream of recently added articles though afaik.

You can, if you faff a little bit [0]. Unless you mean something else by publishable?

[0] https://www.zotero.org/support/groups#public_open_membership

Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine

#63
post #4

Earlier quoted context omitted.

Can one automate extensions through headless chrome ? then you might be able to trigger WarCreate instead (It will be more efficient to run the pocket export urls through WAIL though - this should give you the warcs you want)

Yeah, you can use the remote debugger protocol to make JS calls in the context of the page. https://chromedevtools.github.io/devtools-protocol/ Not sure if it's worth including in my script though, since WARCs aren't easily browseable (correct me if I'm wrong).

I didn't try myself, but I did a quick search and found this: http://www.archiveteam.org/index.php?title=The_WARC_Ecosyste...

Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine

#65

If it would be connected to Pinboard.in as an alternative to Pocket I would be screaming with joy. :-)

If you can get me a sample pinboard export to look at, I'll whip up a regex that makes it work.

Here's what the XML files look like:

https://gist.github.com/anonymous/316b9fd1108b026e116e91f134...

Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine

#68
Highly recommend switching to wpull (https://github.com/chfoo/wpull), which was built as a wget replacement. It's what grab-site uses, which is a successor to ArchiveTeam's ArchiveBot.

"grab-site is made possible only because of wpull, written by Christopher Foo who spent a year making something much better than wget. ArchiveTeam's most pressing issue with wget at the time was that it kept the entire URL queue in memory instead of on disk. wpull has many other advantages over wget, including better link extraction and Python hooks."

Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine

#69

Earlier quoted context omitted.

PDFs are really not suitable for archiving websites since they're designed around pages and the web does not have pages. A better option is to render a page with JS turned on and save the resulting HTML.

I was doing this before with the chrome --dump-dom flag but the output I was getting was garbage, and no more useful than the simpler wget download. PDF turned out to produce really nice, readable archives about 75% of the time, so I kept it in. Text-based sites tend to do a good job of having PDF-friendly styling.

I've been trying to do something like this in this project: https://github.com/ianb/pagearchive

It came out of a screenshot/archiver I've been working at at Mozilla, but I've split it up as the screenshotting is shipping and DOM archiving is still way outside Mozilla's comfort zone.

Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine

#70

Highly recommend switching to wpull ( https://github.com/chfoo/wpull ), which was built as a wget replacement. It's what grab-site uses, which is a successor to ArchiveTeam's ArchiveBot. "grab-site is made possible only because of wpull, written by Christopher Foo who spent a year making something much better than wget. ArchiveTeam's most pressing issue with wget at the time was that it kept the entire URL queue in m…

This looks awesome, thanks for the suggestion! It'll help with WARC support as well, looks like it can output WARCs with just a cli flag.
Post reply on HN