7 ms·
Building an Open Source Decentralized E-Book Search Engine
- boredumb 3y agoMany moons ago I wanted to do something similar for AI data sets and models over IPFS. I don't know the future for IPFS but I do hope the essence of a p2p data sharing infrastructure becomes more accessible to help individuals tackle some of the issues with large datasets with less hardware on hand. https://github.com/JakeKalstad/IPFSPytorchDataset https://github.com/JakeKalstad/IPFSPytorchDataset https://github.com/JakeKalstad/load_ipfs_pytorch_model https://github.com/JakeKalstad/load_ipfs_pytorch_model
- Mortiffer 3y agoCould you detail how you populate the search index and what you expect the memory limits to be?
- MrThoughtful 3y agoWhat on earth is this about? "I was recommended ... Liber3 ..., which uses ENS domain names ... running on ENS and IPFS ... they appear to be using Glitter ... a ... service built with Tendermint." This sounds like a signal from outer space to me. In a language used in a different galaxy. I tried that Liber3 thing, but whatever I do, I get "Oops! Something went wrong. Please refresh or try again later". What is this all about?
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- droopyEyelids 3y ago[flagged]
- pvg 3y agohttps://hn.algolia.com/?dateRange=all&page=0&prefix=true&query=by%3Adang%20%22generated%20comments%22&sort=byDate&type=comment https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
- WolfeReader 3y agoThe title is the de-jargonized version. It's a set of instructions to build an open-source ebook search engine. (Admittedly there is still some jargon in that description, but not to the level of naming specific libraries.) The bulk of the article is implementation details, helpfully hyperlinked.
- deleted 3y ago[deleted]
- inhumantsar 3y ago* ENS -> Ethernet Name Service. DNS but for blockchains. * IPFS -> Interplanetary File System. Distributed object store, think immutable P2P S3. * Glitter -> Sounds familiar but it's not coming to mind * Tendermint -> Consensus engine for blockchains, forms part of a toolchain meant to enable interop between blockchains alongside the Inter-Blockchain Communication (IBC) Protocol and the Cosmos SDK The blockchain ecosystems really are their own little world unto themselves. It's all pretty cliquey, not in an exclusionary way but if you're not actively seeking it out then there's very little chance of you hearing about any of it. Side note: IPFS is well worth checking out if you're interested in databases or decentralized zero-trust systems, and even if you're a blockchain skeptic. They're doing some really interesting work under the hood. The team hasn't latched on to the gold rush mentality the way so nearly all blockchain projects have.
- deleted 3y ago[deleted]
- v010101 3y agolibstc.cc
- deleted 3y ago[deleted]
- droopyEyelids 3y agoThe title got me really excited that they were doing full text search. Boy that would be an awesome project. Zlib and Google Books do it, but it would be great to have a open source version that everyone could contribute to, and provided access to full texts
- raybb 3y agoOpenLibrary does provide search access to full texts. For example: https://openlibrary.org/search/inside?q=%22institutional+thickness%22&mode=everything https://openlibrary.org/search/inside?q=%22institutional+thi... It is open source and they're always looking for contributors. I think they'd especially welcome help improving search! https://github.com/internetarchive/openlibrary/ https://github.com/internetarchive/openlibrary/
- mellutussa 3y agoI think a distributed OCR project is needed. Problem is that a lot of books are PDF scans and missing raw text. OcrMyPdf does a pretty good job of is but it's cpu intensive.
- greggsy 3y agoI'd wager that there are several players in the AI market who have already scraped and OCR'd every book and magazine on zlib and libgen to feed into training models. Google are almost certainly piped everything they have in Google Books into their models, before some future legal case says they can't. Won't take long before the open community starts doing the same.
- devops000 3y agoCool! Could be used for torrent searching? Like running web torrent with video streaming and a decentralized search engine.
- j2qk3b 2y agohttps://news.ycombinator.com/item?id=39815170 https://news.ycombinator.com/item?id=39815170 There is an open sourced version for torrent searching here, using the same tech.
- deleted 3y ago[deleted]
- j2qk3b 3y agoYes! Try this one: https://anybt.eth.limo/ https://anybt.eth.limo/ I will build an open sourced version too!
- hanniabu 3y agoNice to find eth.limo being used in the wild
- throwawayyyyyy2 3y agoAnd then realize it has existed for almost 15 years and it's called libgen.rs
- spondylosaurus 3y agoAnna's Archive is even better!
- deleted 3y ago[deleted]
- ValleZ 3y agoIs this an actual search engine or just a front end which builds “select from” queries?
- carlosjobim 3y agoThere's 13 search engines in a dozen if you only want book title or author. What's lacking is a search index of the content of e-books. Something that will soon be incredibly important in the face of generative AI. Somebody here on HN told me it only takes a laptop to index the content of millions of books, while other people say the scope is almost impossible. Is there any project working on this?
- bt1a 3y agoPerhaps the initial creation of the index is indeed something that an average laptop could accomplish, but I'd imagine that frequently updating the index and serving requests against it would be compute-intensive. I have nothing to back this up but speculation. Would love to learn more!
- CWuestefeld 3y agoI believe that Calibre, the popular and free ebook management tool, now supports indexing the content all books in your library.
- myco_logic 3y agoDepends on how beefy that laptop is... I've been doing some local LLM stuff at work recently, and even with the amazing advances in quantization lately, doing that kind of stuff on a ThinkPad is feasible, but still strongly inferior to just renting out a VPS with a couple 4090/H100s for several hours. The biggest thing with summarizing stuff is that most local LLM models often don't have very big context-windows, so they have trouble with larger texts like even a short Vonnegut novel (I was just testing em' with summarizing GitHub issues, and even with a 16k token context window they still sometimes struggle if there are a lot of comments). There are probably smarter people than I who could get this working on a Raspberry Pi though... ;)
- dmotz 3y agoI have a side project that aims to organize your ebook highlight collections with on-device semantic search. [1] Right now it only indexes your own content but I'd like to add a mode that allows you to share your collection and let others find relevant ideas via semantic search -- a discovery platform for ideas found in books. It's open source if you want a sense of how it works now. [2] [1] https://emdash.ai/ https://emdash.ai/ [2] https://github.com/dmotz/emdash https://github.com/dmotz/emdash
- neilv 3y agoThis seems to be intended for IP piracy. Clarifying that in the title would help. I'm trying to encourage publishers and authors to offer legitimate sales of DRM-free ebooks, so would prefer we try not to have the term "ebook" associated with piracy.
- RamblingCTO 3y ago[flagged]
- neilv 3y agoTitle is "Building an Open Source Decentralized E-Book Search Engine", and screenshot seems to suggest piracy.
- WolfeReader 3y agoPlease be specific about how the screenshot advocates piracy. (Also, a personal preference: never use the phrase "seems to suggest" again; if you're going to make an accusation, be honest enough to actually make it.)
- t-3 3y agoNothing about the title suggests piracy, and the screenshot doesn't show download links - hell, there aren't any actual Harry Potter books in a search for "Harry Potter". Even if it were searching for files, free and legal ebooks are ubiquitous, no copyright infringement necessary to make it a worthwhile endeavor.
- deleted 3y ago[deleted]
- sureglymop 3y agoIt's a search engine... What about it makes it specific to IP piracy? I actually understand your point well but I think it's even more important not to group in any legitimate use of technology with illegitimate use of it. Especially considering recent events (lawsuits over Yuzu and Dolphin emulators).
- Dudhbbh3343 3y ago[flagged]
- bastawhiz 3y agoSounds like they're on ipfs with a metadata database on some web3 system.
- deleted 3y ago[deleted]
- fddrdplktrew 3y ago[flagged]
- deleted 3y ago[deleted]