Skip to content

Easy to use PDF summarizer, using map-reduce like approach from LangChain. Built using OpenAI's models.

Notifications You must be signed in to change notification settings

acomarcho/pdf-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Summarizer

A full-stack application that generates concise summaries from PDF documents using AI, with support for both English and Bahasa Indonesia.

Features

  • 📄 PDF upload and preview
  • 🔍 Selective page range summarization
  • 🌐 Bilingual support (English and Bahasa Indonesia)
  • ⚡ Real-time PDF preview
  • 📝 Customizable summary length (minimum paragraphs)
  • 🎯 Precise summarization using GPT-4
  • 🔄 Multi-step summarization process for better coherence

Demo

Summary in English

image

Summary in Bahasa Indonesia

image

Tech Stack

Frontend

  • React 18 with TypeScript
  • Vite for build tooling
  • CSS Modules for styling
  • Modern ES2020+ features

Backend

  • Node.js with Express
  • TypeScript for type safety
  • OpenAI API for GPT-4 integration
  • PDF processing libraries (pdf-lib, pdf-parse)
  • Multer for file uploads

Getting Started

Prerequisites

  • Node.js 18 or higher
  • OpenAI API key
  • npm or yarn

Installation

  1. Clone the repository
  2. Install dependencies by running npm i at both frontend and backend directory
  3. Create a .env file in the backend directory, follow the contents of .env.example
  4. Start the development servers by running npm run dev at both frontend and backend directory

About

Easy to use PDF summarizer, using map-reduce like approach from LangChain. Built using OpenAI's models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published