What would it cost?
Ask HN: Has anybody built search on top of Anna's Archive?
1–10 of 156 posts
Re: Ask HN: Has anybody built search on top of Anna's Archive?
#2The thing is AA doesn't hold the texts. They're disputable IPR and even a derived work would be a legal target.
Re: Ask HN: Has anybody built search on top of Anna's Archive?
#3The main barriers are going to be reliably extracting plaintext from the myriad of formats in the archive, cleaning up the data, and selecting a decent full text search database (god help you if you pick wrong and decide you want to switch and re-index everything later).
Re: Ask HN: Has anybody built search on top of Anna's Archive?
#4It's a bit smaller than Anna's Archive, as they do host their own collections. From some locations, it's only easy to access through Tor.
Re: Ask HN: Has anybody built search on top of Anna's Archive?
#5Re: Ask HN: Has anybody built search on top of Anna's Archive?
#6site:annas-archive.org avacado
Re: Ask HN: Has anybody built search on top of Anna's Archive?
#7Honestly I don't think it would be that costly, but it would take a pretty long time to put together. I have a (few years old) copy of Library Genesis converted to plaintext and it's around 1TB. I think libgen proper was 50-100TB at the time, so we can probably assume that AA (~1PB) would be around 10-20TB when converted to plaintext. You'd probably spend several weeks torrenting a chunk of the archive, converting ev…
1. There’s a lot of variants of the same book. We only need one for the index. Perhaps for each ISBN, select the format easiest to parse.
2. We can download, convert and index top 100K books first, launch with these, and then continue indexing and adding other books.
Re: Ask HN: Has anybody built search on top of Anna's Archive?
#8 Converting all documents (PDFs, EPUBs, etc.) to clean plaintext.
Indexing at scale efficiently.
Managing potential legal issues.
Z-Library does something similar, but it’s smaller in scope and doesn't integrate AA’s full catalog.Re: Ask HN: Has anybody built search on top of Anna's Archive?
#9Every book has an ISBN 10 or 13 digit ISBN number to identify them. Unless it's some self-pub/amateur-hour situation by some paranoid prepper living in a faraday-cage-protected cage in Arkansas or Florida it's likely a publication with a title, an author and an ISBN number.
Re: Ask HN: Has anybody built search on top of Anna's Archive?
#10As far as I know, no one has fully implemented full-text search directly over Anna's Archive. Technically it’s feasible with tools like Meilisearch, Elasticsearch, or Lucene, but the main challenges are: Converting all documents (PDFs, EPUBs, etc.) to clean plaintext. Indexing at scale efficiently. Managing potential legal issues. Z-Library does something similar, but it’s smaller in scope and doesn't integrate AA’s…
In my experience only Tantivy can index this much data. Check out Lnx.