GitHunt
SR

Srijan-D/pdf.ai

Edge compatible PDF.ai Chat with any PDF document You can ask questions, get summaries, find information, and more. Built with Pinecone, OpenAI, Langchain, Nextjs13, TypeScript, Clerk Auth, Drizzle ORM for edge runtime environment, Shadcn UI.

๐Ÿ“„ pdf.ai

AI-powered PDF Assistant built with cutting-edge web technologies and deployed using Vercel Edge Functions.

Easily query, summarize, and interact with PDFs in real time using AI.


๐Ÿš€ Features

  • โœจ Chat with your PDF using AI
  • โšก Fast responses via Edge Functions (Vercel)
  • ๐Ÿง  Embedding + context retrieval for smarter answers
  • ๐Ÿ”’ Local development runs smoothly

๐Ÿ›  Tech Stack

  • Next.js
  • Vercel Edge Functions
  • OpenAI GPT
  • LangChain
  • Pinecone Vector DB

โš  Known Issue

โš ๏ธ Currently facing a deployment issue with Vercel Edge Functions.
The app works perfectly in local development, but the deployed version is experiencing issues.

If you're looking to contribute:

  • Clone the repository
  • Try running it locally bun dev/ (npm run dev / yarn dev)
  • Attempt to replicate the issue on Vercel

๐Ÿ‘ท All contributions are welcome!


๐Ÿง‘โ€๐Ÿ’ป Getting Started

# 1. Clone the repository
git clone https://github.com/Srijan-D/pdf.ai
cd pdf.ai

# 2. Install dependencies
npm install
# or
yarn

# 3. Set up environment variables
cp .env.example .env.local .env
Add your API keys (OpenAI, etc.)

npm run dev
# or
yarn dev

Languages

TypeScript95.8%CSS3.8%JavaScript0.4%

Contributors

Created September 22, 2023
Updated October 8, 2025
Srijan-D/pdf.ai | GitHunt