Skip to content

mwa-codes/QPDF

Repository files navigation

QPDF – Queryable PDF Assistant

QPDF is a modern AI-powered web application that lets you chat with your PDF documents. Upload a PDF, ask questions, and get instant answers, summaries, and insights using natural language.


Features

  • Upload and chat with PDF documents using AI
  • Fast, modern React (Vite, TypeScript, Tailwind, shadcn/ui)
  • Feedback form, document info, and more
  • SEO-optimized, mobile-friendly, and easy to deploy
  • Python FastAPI backend for PDF processing and AI chat
  • Easily extensible for more file types (Word, TXT, etc.)

Demo

Live demo: https://qpdf.tech/


Getting Started

1. Clone the Repository

git clone <your-repo-url>
cd QPDF

2. Frontend Setup

npm install
npm run dev

3. Backend Setup

cd backend
pip install -r requirements.txt
  • Create a .env file in backend/ with your OpenAI API key:

    OPENAI_API_KEY=your_openai_api_key_here
    
  • Start the backend:

    python main.py
  • The API will be available at http://localhost:8000


Project Structure

QPDF/
  backend/         # FastAPI backend (Python)
  public/          # Static assets, favicon, robots.txt, sitemap.xml
  src/             # React frontend (TypeScript)
    components/    # UI components
    pages/         # App pages
    contexts/      # React context (chat, etc.)
    lib/           # API config, utilities
  index.html       # Main HTML file with meta tags
  package.json     # Frontend dependencies/scripts
  README.md        # This file

SEO & Deployment

  • SEO meta tags, Open Graph, Twitter cards, robots.txt, and sitemap.xml included
  • Easily deployable to Vercel, Netlify, or your own server

License

MIT (or specify your license here)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors