LightPad is a modern AI-powered note-taking application built with Next.js that combines traditional note-taking with artificial intelligence to enhance your writing and organization experience.
- AI-Enhanced Writing: Use the AI-enhanced editor to improve your writing
- Smart Note Organization: Efficiently manage and organize your notes
- Real-time Chat Interface: Interact with AI to get answers from your notes
- Rich Text Editor: Full-featured editor with formatting options and slash commands
- Dark/Light Mode
- Authentication: Secure user authentication with Clerk
- Subscription System: Premium features with Stripe integration
- Frontend: Next.js, React, TypeScript, Tailwind CSS
- Backend: Next.js API Routes
- Database: Prisma, Pinecone
- AI Integration: OpenAI
- Authentication: Clerk
- Payments: Stripe
- UI Components: Custom components and shadcn/ui
lightpad/
├── src/
│ ├── app/ # Next.js app router and pages
│ ├── components/ # React components
│ │ ├── editor/ # Rich text editor components
│ │ └── ui/ # Reusable UI components
│ ├── hooks/ # Custom React hooks
│ └── lib/ # Utility functions and configurations
- Clone the repository
- Install dependencies:
npm install
- Set up environment variables:
OPENAI_API_KEY= DATABASE_URL= STRIPE_SECRET_KEY= - Run the development server:
npm run dev