{"id":20204278,"url":"https://github.com/mayankdiwate/pdfgpt","last_synced_at":"2026-04-10T14:39:22.389Z","repository":{"id":262455161,"uuid":"887268961","full_name":"MayankDiwate/PDFgpt","owner":"MayankDiwate","description":"PDFgpt is a document analysis app that allows users to upload PDFs and interact with them through natural language queries. Built with React, TypeScript, and Vite on the frontend, and FastAPI, LangChain, and PostgreSQL on the backend.","archived":false,"fork":false,"pushed_at":"2024-11-13T10:34:18.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T20:38:15.443Z","etag":null,"topics":["fastapi","langchain","openai","postgresql","python","reactjs","tailwindcss","typescript","vite"],"latest_commit_sha":null,"homepage":"https://pdf-gpt-client.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/MayankDiwate.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}},"created_at":"2024-11-12T13:06:53.000Z","updated_at":"2024-11-13T10:34:21.000Z","dependencies_parsed_at":"2025-01-13T20:33:48.041Z","dependency_job_id":null,"html_url":"https://github.com/MayankDiwate/PDFgpt","commit_stats":null,"previous_names":["mayankdiwate/pdfgpt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayankDiwate%2FPDFgpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayankDiwate%2FPDFgpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayankDiwate%2FPDFgpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayankDiwate%2FPDFgpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MayankDiwate","download_url":"https://codeload.github.com/MayankDiwate/PDFgpt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241637832,"owners_count":19995044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["fastapi","langchain","openai","postgresql","python","reactjs","tailwindcss","typescript","vite"],"created_at":"2024-11-14T05:12:03.628Z","updated_at":"2025-12-30T19:51:24.403Z","avatar_url":"https://github.com/MayankDiwate.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" style=\"font-size: 2em;\"\u003ePDFgpt\u003c/h1\u003e\n\n**Description**:  \nPDFGPT is a web application that allows users to upload PDF documents and interact with them using natural language queries. Leveraging a combination of AI and language processing, the app can analyze the content of uploaded PDFs and provide users with detailed responses, summaries, or insights from the document. This application uses a React-based frontend, powered by TypeScript and Vite, and a FastAPI backend that integrates LangChain for natural language processing and PostgreSQL for data storage.\n\n---\n\n### Features\n\n- **PDF Upload \u0026 Processing**: Users can upload PDFs for analysis.\n- **Natural Language Querying**: Query the document with natural language for insights, summaries, or answers.\n- **Interactive Chat Interface**: An easy-to-use interface for seamless interactions.\n- **Efficient \u0026 Scalable**: Built with FastAPI and PostgreSQL to ensure speed and scalability.\n\n### Tech Stack\n\n- **Client**: React, TypeScript, Vite\n- **Server**: FastAPI, LangChain\n- **Database**: PostgreSQL\n\n---\n\n### Setup and Installation\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone \u003crepository_url\u003e\n   cd pdfgpt\n   ```\n\n2. **Client Setup**:\n\n   - Navigate to the client folder:\n     ```bash\n     cd client\n     ```\n   - Install dependencies:\n     ```bash\n     npm install\n     ```\n   - Start the development server:\n     ```bash\n     npm run dev\n     ```\n\n3. **Server Setup**:\n\n   - Navigate to the server folder:\n     ```bash\n     cd ../server\n     ```\n   - Create a virtual environment and install dependencies:\n     ```bash\n     python -m venv env\n     source env/bin/activate  # For MacOS/Linux\n     env\\Scripts\\activate  # For Windows\n     pip install -r requirements.txt\n     ```\n   - Start the FastAPI server:\n     ```bash\n     uvicorn main:app --reload\n     ```\n\n4. **Database Setup**:\n\n   - Ensure PostgreSQL is installed and running.\n   - Create a new PostgreSQL database and update the connection details in the server configuration.\n\n5. **Run the Application**:\n   - The client should now be running at `http://localhost:5173` and the server at `http://localhost:8000`.\n\n---\n\n### Usage\n\n1. Open the frontend application and upload a PDF document.\n2. Use the chat interface to ask questions or request summaries of the document.\n\n### Future Enhancements\n\n- Add support for multiple document formats.\n- Implement user authentication.\n- Add analytics for user queries.\n\n---\n\n### Contributing\n\nFeel free to open issues or submit pull requests with improvements or bug fixes.\n\n---\n\n### License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayankdiwate%2Fpdfgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayankdiwate%2Fpdfgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayankdiwate%2Fpdfgpt/lists"}