Pak Books
Free Digital Library for Pakistani Students
A free, ad-free, sign-up-free digital library of non-copyrighted Pakistani educational resources — textbooks, notes, past papers, and lectures — for every student, everywhere.
Knowledge Without Barriers
Millions of Pakistani students lack access to quality educational materials. Textbooks are expensive, past papers are scattered, and digital access is limited. Pak Books exists to change that.
A free, ad-free, sign-up-free digital library aggregating openly-licensed and public-domain educational materials — textbooks, past papers, vocational curricula, and classical literature — served on zero-cost infrastructure so every student in Pakistan can learn without barriers.
What It Does
Four pillars. One mission.
Free Digital Library
- Federal & provincial textbooks (Punjab, Sindh, KPK, Balochistan, AJK, GB)
- Cambridge O/A Level past papers and resources
- Test prep: MDCAT, ECAT, NTS, CSS
- Vocational: NAVTTC, DigiSkills, SMIT free IT courses
- University lecture notes & classical Urdu literature
Telegram Bot (@pak_books_bot)
- In-chat search, browse, download without leaving Telegram
- Inline mode: @pak_books_bot <query> in any chat
- /search, /latest, /stats, /subjects, /book <id>
- GDPR-compliant /delete-my-data with 2-tap confirmation
- Fuzzy search (Levenshtein) across title/author/subject
Student-First Features
- In-browser PDF reader (pdfjs-dist, lazy-loaded)
- Smart catalog: filter by subject, level, class, board, language
- Personal bookshelf (localStorage, no account needed)
- Surprise me button, tip of the day, recently viewed
- Bilingual UI (English/Urdu) with native RTL support
Security & Quality
- 7-step auto-validation on every public submission
- Turnstile captcha + honeypot fallback
- Admin review queue with cover/book reports
- VDP program with Hall of Fame at /hall-of-fame
- Token-based admin auth, audit logging, rate limiting
Zero-Cost Infrastructure
Production-grade, zero hosting bill
Frontend
Next.js 16 (App Router) + React 19 + TypeScript 5 (strict)
Styling
Tailwind CSS 4 + shadcn/ui (New York) + Radix UI
State
Zustand (client) + TanStack Query 5 (server)
Hosting
Cloudflare Pages (via @opennextjs/cloudflare adapter)
Database
Cloudflare D1 (SQLite at edge, 28 models) + Workers KV
Storage
Internet Archive S3 (permanent) + Cloudflare R2 (temp)
Automation
Kaggle Notebooks (3 notebooks: ia-mirror, daily-maintenance, site-server)
Bot
Custom Telegram Bot API implementation (no telegraf dep)
Build
Bun + esbuild + wrangler (single-file Worker ~1.6 MiB gzip)
Built with Security First
VDP at /vdp · Hall of Fame at /hall-of-fame
Pak Books is built by a security researcher with EC-Council Hall of Fame recognition. Student data security is the foundation, not an afterthought.
VDP: pak-books.pages.dev/vdp · Hall of Fame: pak-books.pages.dev/hall-of-fame
360 Muslim Experts
Pak Books is a project of 360 Muslim Experts — a global network of Muslim experts committed to positive change through Islam, education, and research.