{"id":28304695,"url":"https://github.com/mdkaifansari04/pdf-chat","last_synced_at":"2026-04-15T05:31:40.928Z","repository":{"id":292502377,"uuid":"980855107","full_name":"mdkaifansari04/pdf-chat","owner":"mdkaifansari04","description":"A seemless application to chat with any pdf. Supported by admin dashboard to track application state, user and pdf.","archived":false,"fork":false,"pushed_at":"2025-05-13T06:44:57.000Z","size":12534,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-01T07:00:10.071Z","etag":null,"topics":["expressjs","mongodb","nextjs","nodejs","openaiembeddings","render","uploadthing","vercel"],"latest_commit_sha":null,"homepage":"https://pdf-chat-navy.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdkaifansari04.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-09T20:45:34.000Z","updated_at":"2025-07-27T06:15:58.000Z","dependencies_parsed_at":"2025-05-10T11:41:52.535Z","dependency_job_id":null,"html_url":"https://github.com/mdkaifansari04/pdf-chat","commit_stats":null,"previous_names":["mdkaifansari04/pdf-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdkaifansari04/pdf-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdkaifansari04%2Fpdf-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdkaifansari04%2Fpdf-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdkaifansari04%2Fpdf-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdkaifansari04%2Fpdf-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdkaifansari04","download_url":"https://codeload.github.com/mdkaifansari04/pdf-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdkaifansari04%2Fpdf-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31828530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"online","status_checked_at":"2026-04-15T02:00:06.175Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expressjs","mongodb","nextjs","nodejs","openaiembeddings","render","uploadthing","vercel"],"created_at":"2025-05-24T01:11:26.626Z","updated_at":"2026-04-15T05:31:40.917Z","avatar_url":"https://github.com/mdkaifansari04.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📄 ChatPDF – AI-Powered PDF Q\u0026A System\n\nChatPDF is a fully functional, production-ready **full-stack application** that enables users to upload PDFs and interact with them using **AI-powered question answering**. This project is built with a modern stack and showcases my capability to architect, develop, and deploy an end-to-end system.\n\n---\n\n## 🚀 Live Demo\n\n👉 [Link to Live Application](#)\n\n---\n\n## 🔧 Tech Stack \u0026 Tools\n\n| Layer        | Technology Used                         |\n| ------------ | --------------------------------------- |\n| Frontend     | React (App), ShadCN Components          |\n| Backend      | Node.js, Express                        |\n| NLP \u0026 RAG    | OpenAI Embeddings + Pinecone Vector DB  |\n| File Parsing | pdf-parse                               |\n| Database     | MongoDB (for users, PDFs, queries)      |\n| Storage      | Uploadthing                             |\n| Deployment   | Vercel (Frontend), Render (Backend API) |\n\n---\n\n## 💡 Why This Stack?\n\nI've been using **Node.js** extensively and chose it here to demonstrate my expertise in building **scalable, production-level applications** using JavaScript/TypeScript across the stack.\n\nTo implement document Q\\\u0026A, I used **Retrieval-Augmented Generation (RAG)** — a modern architecture where PDF content is split, embedded using **OpenAI**, and stored in **Pinecone**, a vector database. This enabled:\n\n- Accurate **semantic similarity search**\n- Scalable, blazing fast response times\n- A structured way to retrieve relevant content per question\n\nThis project is more than a tech demo — it's a real-world architecture designed to be **deployable and extensible**.\n\n---\n\n## ✅ Features\n\n### 🧑‍💻 User-Facing Features:\n\n- Upload any PDF document\n- Ask natural-language questions about the document\n- Get smart AI answers using GPT + similarity search\n- Previous session history\n- Drag \u0026 Drop uploader\n- Responsive and intuitive chat interface\n\n### 🛠️ Admin Dashboard:\n\n- View all registered users\n- Monitor uploaded resources\n- Inspect user query sessions\n- View platform usage analytics (charts + KPIs)\n- Search/filter/sort data\n- Designed for future scalability\n\n🧪 **Admin Credentials:**\n\n| Credentials |                   |\n| ----------- | ----------------- |\n| username    | admin@chatpdf.com |\n| password    | admin1234         |\n\n---\n\n## 📊 Analytics Dashboard\n\n- User signups over time (line chart)\n- Resources uploaded per day (bar chart)\n- Queries generated daily (line chart)\n- Top active users by query volume (pie chart)\n- Resource upload breakdown per user\n\nThese insights help monitor platform growth and performance in real-time.\n\n---\n\n## 📁 Project Structure\n\n```\n/frontend      # Frontend (Landing page, Chat UI, Admin dashboard)\n/backend      # Backend (Node.js APIs, PDF parser, Pinecone integration)\n\n```\n\n---\n\n## 📈 Scope of Improvement\n\n- Add authentication and billing with Stripe for paid usage\n- Support DOCX/CSV in addition to PDFs\n- More granular analytics per document\n- Document summarization on upload\n- Real-time streaming response\n\n---\n\n## 🙋 About Me\n\nI'm a full-stack developer with strong proficiency in **Node.js**, **React**, **MongoDB**, and **AI integrations**. This project showcases my ability to:\n\n- Architect scalable systems\n- Write clean backend logic\n- Build engaging frontend interfaces\n- Integrate third-party AI \u0026 DB services\n- Deploy to modern cloud platforms (Vercel, Render)\n\n---\n\n## 📜 License\n\nThis project is open for evaluation purposes. All content and code belong to the developer unless otherwise stated.\n\n---\n\n## 🤝 Contact\n\nIf you'd like to discuss this project or collaborate:\n\n**Email**: [amdkaif843@gmail.com](mailto:amdkaif843@gmail.com)\n**LinkedIn**: \\[Your LinkedIn]\n**GitHub**: \\[Your GitHub]\n\nLet me know if you want a `README` badge section or an ASCII logo at the top — or if you want me to convert this into a downloadable file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdkaifansari04%2Fpdf-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdkaifansari04%2Fpdf-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdkaifansari04%2Fpdf-chat/lists"}