Skip to content

Nitinshukla88/DocDuce

Repository files navigation

DocDuce - Transform PDFs into a beautiful reel of impactful summaries with the power of AI!

Built with Next.js 15 Router, Clerk for Auth, React, OpenAI GPT-4, Langchain, shadcN UI components, Tailwind CSS v4, NeonDB, UploadThing, Stripe for payments, Typescript, TailwindCSS and more.

Screenshot (90)

About the project

DocDuce is an innovative, AI-powered application that transforms dense PDF documents into a beautiful and interactive "reel" of impactful summaries. Users can securely upload their files and receive clear, structured insights generated by DeepInfra's Powerful API, making complex information easy to digest. Built as a full-stack application using the latest Next.js 15, DocDuce leverages a powerful, modern tech stack. It uses Langchain for efficient document processing, Clerk for secure authentication, and a complete subscription model powered by Stripe. The responsive and accessible interface is crafted with shadcN UI and Tailwind CSS, providing a seamless experience for managing files and viewing summaries.

Features

Core Technologies:

  • 🚀 Next.js 15 App Router for server-side rendering, routing, and API endpoints with Server Components
  • 🌐 React for building interactive user interfaces with reusable components
  • 🔑 Clerk for secure authentication with Passkeys, Github and Google Sign-in
  • 🤖 GPT-4 powered summarization with contextual understanding and emoji-enhanced output
  • 🧠 Langchain for PDF parsing, text extraction, document chunking
  • 🤝 ShadcN UI for accessible, customizable React components
  • 🏚️ NeonDB (PostgreSQL) for serverless database storage of summaries and user data
  • 👉 UploadThing for secure PDF uploads (up to 32MB) and file management
  • 💳 Stripe for subscription management and secure payment processing
  • 💫 TypeScript for static typing and enhanced development experience
  • 🖋️ TailwindCSS for 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
  • 💰 Flexible pricing plans (Basic and Pro)
  • 🪝 WebHook implementation for Stripe events
  • 📌 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

Getting Started

To get started with this project:

  1. Fork the repo
  2. Copy the .env.example varibles into a .env file
  3. Create the required credentials:
    • OpenAI API key
    • DeepInfra API key
    • Clerk authentication
    • UploadThing configuration
    • Stripe 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
  4. Set up your enviroment variables
  5. Run the development server with npm run dev

Acknowledgements

License

MIT

About

DocDuce is an AI-powered SaaS tool that intelligently transforms lengthy PDFs into clear, concise summaries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors