ScribeAI ✍️
AI-Powered PDF Notes Maker
ScribeAI is a cutting-edge web application built with Next.js, designed to revolutionize how users create and manage notes from PDF documents. The app empowers users to upload PDF files and interactively generate comprehensive notes using a state-of-the-art text editor integrated with AI capabilities.
- Ask Questions: Users can ask questions about the uploaded PDF content directly in the text editor.
- Smart Answers: ScribeAI employs advanced AI models to analyze the PDF context and provide accurate, insightful answers.
- Save AI Notes: Answers can be saved as notes for future reference.
- Rich Toolbar: Features include bold, italics, headings, code blocks, and more for seamless note-making.
- Auto-Save: Notes are auto-saved and can be revisited anytime.
- File Management: Securely upload, save, manage, or delete PDFs and notes.
- Downloadable Content: Download notes or PDFs in DOCX or PDF format.
- Authentication: Robust user authentication using Clerk ensures data security.
- Data Privacy: User PDFs and notes remain private and accessible only to them.
- Real-Time Updates: Powered by Convex DB, ensuring real-time synchronization.
- Responsive Design: Styled with Tailwind CSS and animations by Framer Motion for an intuitive experience.
-
Frontend & Backend:
- Built with Next.js ⚛️ for a seamless full-stack experience.
- Uses react-pdf-viewer 📄 for rendering PDFs across all devices.
- Integrated with Tiptap ✍️ for a powerful and versatile text editor.
- JSPDF 📤 enables downloading notes as PDFs.
-
Database:
- Powered by Convex DB 🔗 for real-time updates and scalability.
-
Artificial Intelligence:
- Implements LangChain 🧠 for advanced AI functionalities.
- Leverages Google Gemini Model Flash 1.5 🌐 for precise context analysis.
- Uses Google’s Text Embedding 004 ✍️ for embedding-based searches.
-
Styling:
- Designed with Tailwind CSS 🎨 for a modern, responsive UI.
- Enhanced with Framer Motion 🎥 for smooth animations.
-
Hosting:
- Deployed on Vercel 🌍 for optimal performance and reliability.
- Node.js installed on your system.
- An account on Google AI Studio and Convex DB.
- Clerk credentials for authentication configuration.
- Clone the repository:
git clone https://github.com/aakashdixit22/scribeai cd scribeai
- Install dependencies:
npm install
- Configure environment variables:
Create a.env
file in the project root and add:CONVEX_DEPLOYMENT= NEXT_PUBLIC_CONVEX_URL= NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY= CLERK_SECRET_KEY= NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up NEXT_PUBLIC_GEMINI_API_KEY= NEXT_PUBLIC_CLERK_SIGN_IN_FORCE_REDIRECT_URL="/dashboard" NEXT_PUBLIC_CLERK_SIGN_UP_FORCE_REDIRECT_URL="/dashboard" NEXT_PUBLIC_CLERK_SIGN_OUT_FORCE_REDIRECT_URL="/" EMAIL_USER= // for contact us EMAIL_USER2= // optional, make code changes if not using. EMAIL_PASS=
- Start the development server:
npm run dev
- Start the Convex DB server in another terminal:
npm convex dev
- Open the app at:
http://localhost:3000
For production deployment using Vercel and Convex DB, follow the Convex DB Hosting Guide.
For issues or queries, feel use the Contact Us section on the website.
This project is licensed under the MIT License.