Readit News logoReadit News
Posted by u/takigon 17 days ago
Show HN: An open-source e-book reader for conversational reading with an LLMgithub.com/shutootaki/boo...
Hi HN! I've been working on BookWith, an open-source e-book reader that integrates AI as your reading companion.

The problem: Traditional e-readers are passive. When you encounter something unclear, you have to context-switch to search for it. Your highlights and notes remain isolated, and you can't easily connect ideas across different books.

My solution: BookWith embeds an AI that maintains full context of what you're reading. It features:

- Context-aware AI chat: Ask questions about the current page/chapter and get instant answers

- AI podcast generation: Automatically converts book content into conversational podcasts using Google Cloud TTS

- Multi-layer memory system: Short-term (last 5 conversations), mid-term (summarized every 20), and long-term (vector search) memory that maintains continuity across reading sessions

- Smart annotations: 5-color highlighting system that AI can reference and analyze

Technical stack: Built as a fork of Flow (epub reader), with added LLM integration and vector database for semantic search. Supports multiple LLMs and languages (EN/JA/ZH).

nerdjon · 17 days ago
If we are purely talking about textbooks, I can see the value in a tool like this... assuming we still have yet to actually solve the problem of AI being able to tell the truth and could just lead to more issues if we can't even read a textbook without it and then learn the wrong thing.

Not to necessarily diss the work that was done on this, but the idea of actually wanting this for reading feels like it is a continuation of the lack of attention span that has seemed to get worse and worse. We already saw this with the oversimplification of television shows and movies. Many of them leaning more towards slapping you in the face with something instead of subtly.

I know way too many people that struggle to sit still for a half hour episode of some show now (like my partner, frustratingly) and have to be doing something else.

If you are struggling with absorbing the information you are reading that is likely a sign you should put down the book and come back to it later, obviously your mind wants to be doing something else. If it is a continued issue than practice reading something that you know you would like. Personally my "in" for my love of reading was reading video game books that expanded the lore and it grew from there, but I was already invested in the story so the book was easier to read.

Using this for a book feels more like a crutch than anything else. That is obviously before you get into whether or not the LLM is actually going to tell you the truth.

There is however one possible use case I could get into, but this is something that could be solved by just finding a video or something online. A refresher when it has been a long time between books coming out in a series.

takigon · 17 days ago
Thank you very much for your thought-provoking comments.

I actually sympathize with you very much.

As you say, there is a non-zero chance that this app will contribute to a lack of concentration, but I cannot dismiss the possibility that the opposite will happen.

In my case, I have often found myself wanting the crutch of LLM due to lack of prerequisite knowledge when reading technical or philosophical books.

Also, I am an Asian whose English is not that good, and there are times when I have to read a book in its original language because there is no translation in my native language.

This application was created on an experimental basis to remove these panes, and the chat function with LLM is only one function. It should be used at the appropriate time depending on the user's use case.

stonecharioteer · 16 days ago
I don't agree with the OP, AI assisted reading is the future, especially when you're trying to read a tome like War and Peace and don't know all the Napoleonic references or thst the Russian aristocracy spoke French and tried to emulate the French, or why that matters a lot to the plot and your perception of them.

Good job, OP. I wanted to build this myself.

Do you have plans for android and iOS support and syncing across devices?

eunos · 17 days ago
Some of the books I read are really hard to understand to the point I think the author is deliberately rambling (looking at you Mark Fisher). LLM really help me understand it.
patcon · 17 days ago
It's interesting that, if this became commonplace, it could be much easier to get value out of poorly written books...

Some people have deep knowledge, but don't have the skills to untangle context and lay out the right learning path for a reader. These people likely bell-curve around certain neurotypes, which perhaps know certain sorts of knowledge more strongly.

Right now, those people shouldn't publish. But if LLMs could augment poorly structured content (not incorrect content, just poorly structured), that perhaps open up more people to share their wisdom.

Anyhow, just thinking out loud here. I'm sure there are some massive downsides that are coming to mind for ppl reading :)

takigon · 17 days ago
Thanks for your comment. I can see how it could be used successfully for those types of books.
spudlyo · 17 days ago
When I was trying to extract as much meaning out of George Eliot's Middlemarch as I could, I would read a chapter, and then upload that chapter's text file (thank you Gutenberg) to NotebookLM. I'd then have it extract unusual vocabulary words, Latin phrases, and cultural/historical references and compare that list to my handwritten notes from my close reading session. It was fun to have a dialog with the LLM about the chapter, and I felt like I got a lot out of it.

At some point I'll work on better integrating Emacs's nov.el EPUB reader with gptel to approximate something like this. Books are text, and I already have the ultimate text processing environment that I've invested quite a lot of time in.

Finnucane · 17 days ago
"By conversing with an AI that fully understands the book's content in real time,"

That seems like a maybe a wee bit of an overstatement of possibilities.

takigon · 17 days ago
You're right to call that out, that's a fair point. "Fully understands" is indeed a bit of an overstatement for the current state of AI.

What I meant from a technical perspective is that the system uses a Retrieval-Augmented Generation (RAG) approach. It has the entire book's content available in a vector database, and when you ask a question, it performs a semantic search to pull the most relevant passages in real-time to use as context for the LLM's answer.

So, from a user's perspective, the experience is designed to feel like you're conversing with an expert who can instantly recall any part of the book. I should have used more precise language. Thanks for keeping me honest!

geor9e · 17 days ago
If this looks hard to install (you need to host a server, supabase, docker, lots of python dependancies) - instead, you could just install this to Edge https://microsoftedge.microsoft.com/addons/detail/epubreader... to use it's built in Copilot sidebar to chat about the book. It would work identical to this project AFAICT, except the back end would be Microsoft.
takigon · 17 days ago
Thank you for sharing the information/comments. The extensions you have presented are indeed great, but they seem to lack features such as full text search, page count progress tracking, text highlighting, notes, etc. Also, regarding RAG, I find it a bit cumbersome as I have to import the epub every time I open the book. I am not familiar with this tool, so sorry if I am wrong.
ravenstine · 17 days ago
Sounds like a cool project. Not sure if it's one that I would personally use, but I think that LLMs can be used wisely.

What I've found interesting when doing similar experiments (feeding things like books to an LLM and asking questions) is that the output is almost always more bland than one would hope for. I suspect this may both be a result of LLMs being biased for the material they've been trained on and a reality I've suspected which is that the majority of books are mostly filler and aren't making points that are particularly profound. Most books, when you distill them down, fundamentally communicate ideas that are rather obvious, but the language around those points makes them sound a lot more profound than they really are. It's a kind of hypnosis, I think. In a sense, LLMs may be able to reveal how bereft a piece of written material is.

I disagree with the OP's statement that traditional e-readers being passive is actually a "problem". It's kind of like saying that cars are a problem because they can't fly. Maybe I'm being pedantic, but being alone with a book and one's own thoughts is hardly a problem; if anything, the problem is fewer and fewer people are comfortable without a constant barrage of thoughts other than their own.

pacha3000 · 17 days ago
Just seeing the introduction, I can see this tool hardly adds any value.

The introduction video shows how easy it is to import an epub, and then "asks the ebook" to give them the Table of Contents. While the ToC was already available... no real added value compared to RAG

takigon · 17 days ago
Thank you for your valuable input. As you say, generating a table of contents and summary alone will not be of value. Interacting with the LLM may be helpful when reading documents that are not easily understood, such as difficult technical or academic books.
yinser · 17 days ago
I saw the ToC request as a demo of the capabilities, not a statement on the full value proposition. There are a LOT of valuable features in here that are not offered in Kindle or other ebook readers.
moneywaters · 17 days ago
Haven’t tried the app and not to be disrespectful but I would prefer something like system wide app that can explain the highlighted text anywhere after pressing a shortcut in a tooltip. That way anywhere if you find any word or sentence you want explained you just highlight press shortcut and find out and continue reading, was looking for such app but didn’t find any lightweight single purpose app