https://github.com/kanadshee-18/saaransh
"Saaransh πβ‘ An AI-powered PDF summarizer built with Next.js 15, Langchain, and GPT-4. Upload PDFs, get structured summaries, and manage them with ease. Secure, fast, and intuitive! ππ"
https://github.com/kanadshee-18/saaransh
framer-motion gemini-flash-2 langchain motion next15 nextjs openai pdf-summarizer-ai react-19 typescript uploadthing zod
Last synced: 7 months ago
JSON representation
"Saaransh πβ‘ An AI-powered PDF summarizer built with Next.js 15, Langchain, and GPT-4. Upload PDFs, get structured summaries, and manage them with ease. Secure, fast, and intuitive! ππ"
- Host: GitHub
- URL: https://github.com/kanadshee-18/saaransh
- Owner: KanadShee-18
- License: mit
- Created: 2025-03-14T04:05:46.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-20T20:12:53.000Z (7 months ago)
- Last Synced: 2025-03-20T21:47:35.367Z (7 months ago)
- Topics: framer-motion, gemini-flash-2, langchain, motion, next15, nextjs, openai, pdf-summarizer-ai, react-19, typescript, uploadthing, zod
- Language: TypeScript
- Homepage: https://saaransh-ai.vercel.app
- Size: 3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Saaransh - Transform PDFs into an easy-to-read breautiful reel of impactful summaries with the power of AI!
- [πVisit to Saaransh](https://saaransh-ai.vercel.app/)
### Built with Next.js 15 App Router, Clerk for Authentication, React 19, OpenAI GPT-4, Langchain, ShadcN UI Components, Tailwind CSS 4, NeonDB, UploadThing, Cashfree for payments, Typescript, TailwindCSS and more.

---
## Table Of Contents:
- [Features](#-features)
- [Core technologies I used](#-core-technologies)
- [Application Features](#-application-features)
- [Visual Captures](#-screenshots)
- [Getting Started](#-getting-started)
- [Fork & Clone Repo](#-how-to-fork-and-clone)
- [Acknowledgements](#-acknowledgements)
- [License](#-license)---
## β‘ Features:
### πͺ’ Core Technologies:
- π **Next.js 15 App Router** - Server-side rendering, routing, and API endpoints with Server Components.
- βοΈ **React** - Interactive user interfaces with reusable components.
- π **Clerk** - Secure authentication with Passkeys, GitHub, and Google Sign-in.
- π€ **GPT-4** - AI-powered summarization with contextual understanding and emoji-enhanced output.
- π **Langchain** - PDF parsing, text extraction, and document chunking.
- π¨ **ShadCN UI** - Accessible, customizable React components.
- ποΈ **NeonDB (PostgreSQL)** - Serverless database for summaries and user data.
- π€ **UploadThing** - Secure PDF uploads (up to 32MB) and file management.
- π³ **Cashfree** - Secure and ease payment processing.
- π **TypeScript** - Static typing for enhanced development experience.
- π¨ **TailwindCSS 4** - Utility-first, responsive styling.### π« Application Features
- π **Clear, structured summaries** with key points and insights.
- π¨ **Beautiful, interactive summary viewer** with progress tracking.
- π **Secure file handling** and processing.
- π **Protected routes and API endpoints** for authentication and security.
- π² **Flexible pricing plans** (Basic and Pro).
- π© **Webhook implementation** to store the clerk user to our own database.
- π₯οΈ **User dashboard** for managing summaries.
- π± **Responsive design** for mobile and desktop.
- π **Real-time updates** and path revalidation.
- π **Production-ready deployment**.
- π **Toast notifications** for upload status, processing updates, and error handling.
- β‘ **Performance optimizations**.
- π **SEO-friendly** summary generation.---
## πΈ Screenshots
Here are some previews of the application:
- A beautiful minimalistic landing page

- Cool looking pricing cards to buy plans

- A simple UI to upload PDFs

- Beautiful dashboard to view all of the summaries

- A single summary id page to read AI generated summary

---
## π Getting Started
To get started with this project:
1. **Fork the repository**.
2. **Add .env file to your project**:> Take reference from **env_example.txt**
3. **Create the required credentials**:
- OpenAI API key
- Clerk authentication setup
- UploadThing configuration
- Cashfree payment setup
- NeonDB database connection---
## π± How to Fork and Clone
1. Click the "Fork" button in the top right corner of this repository to create your own copy
2. Clone your forked repository to your local machine
3. Install dependencies with `npm install`
- If not work for some dependencies, use `npm install --force` or `npm install --legacy-peer-deps`
4. Set up your environment variables
5. Run the development server with `npm run dev`---
## π Acknowledgements
- [Clerk](https://go.clerk.com/5q0WrFA) for authentication
- [OpenAI](https://openai.com) for GPT-4 API
- [Langchain](https://js.langchain.com) for document processing
- [ShadCN UI](https://ui.shadcn.com/) for components---
## π License
[MIT LICENSE](LICENSE)