Production-ready Next.js 15 PWA starter for universal legal book/resource discovery.
- Global search with text, voice input (Web Speech API), and image OCR (Tesseract.js)
- Aggregates legal-first sources: OpenLibrary, Google Books preview, Internet Archive
- Ranked cards with legality score, metadata, preview/download links
- API route with rate-limiting + cache (Upstash Redis or in-memory fallback)
- Optional OpenAI summarization and related-read hinting
- PWA manifest + service worker offline caching
- Tailwind-based accessible UI, dark mode, multilingual i18next (EN/HI)
npm install
npm run devOPENAI_API_KEY=
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=This project intentionally prioritizes legal open-access/public-domain sources and warns users when results are incomplete.