A modern web application that transforms static PDFs into interactive conversations using AI. Built with Next.js, Firebase, and OpenAI.
- PDF Document Management
- Upload and store PDF documents
- Interactive PDF viewer with zoom and rotation controls
- Document organization with size and upload date tracking
- Cloud storage integration with Firebase
- Intelligent Conversations
- Chat with your PDF documents using natural language
- Context-aware responses based on document content
- Chat history memorization
- Powered by OpenAI's GPT-4
-
Free Tier
- Store up to 2 documents
- 3 messages per document
- Basic AI chat functionality
-
Pro Plan ($5.99/month)
- Store up to 20 documents
- 100 messages per document
- Advanced AI chat with memory recall
- Document deletion capability
- Advanced analytics
- Priority support
- Frontend: Next.js 15, React 18, TailwindCSS
- Backend: Firebase (Firestore & Storage)
- Authentication: Clerk
- Gen AI: OpenAI GPT-4, LangChain
- Payment: Stripe
- Styling: Tailwind CSS, shadcn/ui
- Clone the repository:
git clone https://github.com/mujtabamohamed/Chat-PDF.git
cd Chat-PDF
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Open http://localhost:3000 with your browser.
The easiest way to deploy this application is using Vercel:
- Push your code to a GitHub repository
- Import your project into Vercel
- Add your environment variables
- Deploy!
/app
- Next.js app router pages and layouts/components
- Reusable React components/actions
- Server actions for data mutations/lib
- Utility functions and configurations/hooks
- Custom React hooks/public
- Static assets
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request