Skip to content

Latest commit

Β 

History

History
58 lines (47 loc) Β· 1.65 KB

File metadata and controls

58 lines (47 loc) Β· 1.65 KB

LightPad πŸ“βœ¨

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.

Features

  • 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

Tech Stack

  • 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

Project Structure

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

Getting Started

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Set up environment variables:
    OPENAI_API_KEY=
    DATABASE_URL=
    STRIPE_SECRET_KEY=
    
  4. Run the development server:
    npm run dev

License

MIT License