Inspiration
I always wanted to master speed reading technique, force myself to make notes and thought about what I read. But dreamed about tools that done this automatically. Now it's possible with generative AI.
You could open books and:
- Compress: Combine multiple pages into one, excluding less important information!
- Translate: Translate from any supported language, even offline!
- Quiz: remember the knowledge you have gained!
- Chat with book with RAG: get every page of a book in context!
- Cloud support: Sync books and progress across devices. Check our app on mobile!
The future of reading is closer than you think...
How we built it
- App build with Next.js.
- Serwist for PWA(Progressive Web Application) support.
- Supabase for authentication, database, book storage and edge embedding generation.
- AI SDK for quiz object generation and chat functionality.
chrome-ai sdk provider - shadcn and tailwind for styling. Took month of hard work
Challenges we ran into
Rewriter and Summarizer APIs were not good enough. It was earthier too short, earthier the same. "Compression" didn't work well. Using Prompt API, there's still a big field for further improvement, but it's usable now.
Translation API output was not formatted at all, so we put text to rewriter after translation. Exacting PDF pages was also quite problematic, because of page endings.
What we learned
A lot about how to make a pretty frontend and use browser API. Thanks to hackathon organizers!
What's next for KonspecterAI
Open-sourcing the project, getting community feedback to implement these ideas:
- Offline available app. Now you could not reload page or switch book.
- Local quiz and chat
- Other book formats like epub
- Even better mobile support
- Fiction book character analysis
- Illustration generation
- social functions?
Built With
- aisdk
- chromeai
- gemini
- next.js
- pwa
- shadcn
- supabase
- tailwindcss
Log in or sign up for Devpost to join the conversation.