{"id":34966806,"url":"https://github.com/arjunprabhulal/gemma3_pdf_summarizer","last_synced_at":"2026-04-15T13:31:25.721Z","repository":{"id":287628355,"uuid":"960756022","full_name":"arjunprabhulal/gemma3_pdf_summarizer","owner":"arjunprabhulal","description":"A high-performance PDF summarization tool powered by Google's Gemma 3 LLM. Features parallel processing, async operations, and intelligent chunking for technical paper analysis. Built with FastAPI, Streamlit, and Ollama.","archived":false,"fork":false,"pushed_at":"2025-04-12T22:25:42.000Z","size":164,"stargazers_count":20,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-28T11:26:35.753Z","etag":null,"topics":["fastapi","gemma3","google-cloud-platform","ollama","pdf-summarizer","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","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/arjunprabhulal.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-04-05T02:14:32.000Z","updated_at":"2025-11-05T00:19:08.000Z","dependencies_parsed_at":"2025-04-12T23:25:30.953Z","dependency_job_id":"64375801-4dbe-4902-96bb-3c88847d1984","html_url":"https://github.com/arjunprabhulal/gemma3_pdf_summarizer","commit_stats":null,"previous_names":["arjunprabhulal/gemma3_pdf_summarizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arjunprabhulal/gemma3_pdf_summarizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunprabhulal%2Fgemma3_pdf_summarizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunprabhulal%2Fgemma3_pdf_summarizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunprabhulal%2Fgemma3_pdf_summarizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunprabhulal%2Fgemma3_pdf_summarizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arjunprabhulal","download_url":"https://codeload.github.com/arjunprabhulal/gemma3_pdf_summarizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunprabhulal%2Fgemma3_pdf_summarizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31842842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T13:28:40.153Z","status":"ssl_error","status_checked_at":"2026-04-15T13:28:29.396Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fastapi","gemma3","google-cloud-platform","ollama","pdf-summarizer","streamlit"],"created_at":"2025-12-26T23:12:55.046Z","updated_at":"2026-04-15T13:31:25.714Z","avatar_url":"https://github.com/arjunprabhulal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📄 AI-Powered PDF Summarizer\n\n🚀 **AI-Powered PDF Summarizer** is a tool that extracts and summarizes **research papers** from **ArXiv PDFs** using **Ollama (Gemma 3 LLM)**. The system provides structured, downloadable summaries to help researchers and professionals quickly grasp key findings.\n\n![PDF Summarizer UI](https://github.com/arjunprabhulal/gemma3_pdf_summarizer/raw/main/PDF_Summarizer.png)\n\n---\n\n## 🛠 Features\n\n- 🌐 **Input an ArXiv PDF URL** to fetch and summarize papers.\n- 📑 **Extracts technical content** (architecture, implementation, results).\n- 🔍 **Optimized for large text processing** with **parallel summarization**.\n- 🎨 **Modern UI** built with **Streamlit**.\n- 📥 **Download summary as a Markdown file**.\n\n---\n\n## 🚀 Tech Stack\n\n| Component         | Technology |\n|------------------|------------|\n| **Frontend**     | [Streamlit](https://streamlit.io/) |\n| **Backend**      | [FastAPI](https://fastapi.tiangolo.com/) |\n| **LLM Platform** | [Ollama](https://ollama.com/) |\n| **LLM Model**    | [Google Gemma 3](https://developers.googleblog.com/en/introducing-gemma3/) |\n| **PDF Processing** | [PyMuPDF (fitz)](https://pymupdf.readthedocs.io/) |\n| **Text Chunking** | [LangChain RecursiveCharacterTextSplitter](https://python.langchain.com/docs/modules/data_connection/document_transformers/text_splitters/) |\n---\n\n## 🎬 Demo\n\n1️⃣ **Enter an ArXiv PDF URL**  \n2️⃣ **Click \"Summarize PDF\"** 🚀  \n3️⃣ **Get a structured summary** with **technical insights** 📝  \n4️⃣ **Download as Markdown** 📥  \n\n---\n\n## 🔧 Installation \u0026 Setup\n\n### 1️⃣ Clone the Repository\n\n```bash\ngit clone https://github.com/arjunprahulal/gemma3_pdf_summarizer.git\ncd gemma3_pdf_summarizer\n\n```\n\n### 2️⃣ Install Dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n### 3️⃣ Install Ollama and Gemma 3 LLM\n\n\nInstall Ollama - MacOS/Linux\n\n```bash\ncurl -fsSL https://ollama.com/install.sh | sh\n\n```\n\nDownload Gemma 3 Model\n\n```bash\nollama pull gemma3:27b\n```\n\n### 3️⃣ Start the Backend (FastAPI)\n\n```bash\nuvicorn main:app --host 0.0.0.0 --port 8000 --reload\n```\n\n### 4️⃣ Start the Frontend (Streamlit)\n\n```bash\nstreamlit run frontend.py\n```\n\n---\n\n## 📜 API Endpoints\n\n### 🔹 Health Check\n\n```http\nGET /health\n```\n\nResponse:\n```json\n{\"status\": \"ok\", \"message\": \"FastAPI backend is running!\"}\n```\n\n### 🔹 Summarize\nSummarize an ArXiv Paper\n```\nPOST /summarize_arxiv/\n```\nRequest Body:\n```\n{\n  \"url\": \"https://arxiv.org/pdf/2401.02385.pdf\"\n}\n```\nResponse:\n```\n{\n  \"summary\": \"Structured summary of the research paper...\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjunprabhulal%2Fgemma3_pdf_summarizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farjunprabhulal%2Fgemma3_pdf_summarizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjunprabhulal%2Fgemma3_pdf_summarizer/lists"}