Skip to main content
A cartoon depiction of the author, wearing a hoodie and smiling motd.co

Archive Stumbler

[now mirrored on my actual blog: https://motd.co/2023/05/archive-stumbler/]

I like to browse the Internet Archive late at night. A lot of the internet is really boring now but the Archive is super refreshing but it lacks a key discovery feature: serendipity.

the archive.org collection listing sort bar, featuring the ability to sort by: views, title, date reviewed, creator

These are the only options you have in how you sort a collection when viewing it, so if you're faced with, say, the full archive of Western Hills Access Television because you want to know what was going on in Western Maine 1-4 years ago, the only way to embrace any kind of serendipity is to kinda scroll for a little while while unfocusing your eyes and then click somewhere on the page. Very unsatisfying!

Luckily the Archive can return data on a few of its main endpoints in JSON format, so you can chain a few HTTP calls together and make it possible to make a computer use a PRNG to pick for you. So I did!


screenshot of the interface for Archive Stumbler

Archive Stumbler will accept any Internet Archive collection URL and provide a hyperlink that you can click on (or, if you're settling in for some real crate digging, ctrl-click a bunch to open in new tabs) to send you to a random item in that collection. If you don't know where to start, there's a button you can click that'll pre-fill the field with some sample collections.

Hope you enjoy! It's pretty slapdash, so if you do anything wrong it will probably fall over in bad and confusing ways. EDIT: I think I know what the main failure is and might try to put a workaround in place! In the meantime, if you keep refreshing the tab it'll keep trying again with the same collection.

The one enhancement I'll probably add to it soon is encoding the value of the URL input box into the page URL so that you can make bookmarks/share links that will pre-fill with a specific collection. EDIT: I did do this one! The URL should auto-update any time you have a valid a.o collection URL in the box, you can copy that and share it with someone or make a bookmark/shortcut/etc.