CourseGPT is a powerful AI-driven platform for creating and managing educational courses. Leverage the power of AI to generate complete course structures, modules, and lessons, saving hours of content creation time.
- Create Courses: Generate full courses with AI or create them manually with customizable titles, descriptions, and difficulty levels
- Course Dashboard: View and manage all your courses in one place
- Publish/Draft Toggle: Easily switch courses between published and draft status
- AI Module Generation: Automatically create comprehensive modules with a single prompt
- Custom Modules: Create your own modules with tailored titles and descriptions
- Module Organization: Arrange modules in a logical teaching sequence
- Multiple Lesson Types: Create lectures, quizzes, and lab exercises
- AI-Generated Lessons: Generate complete lessons with AI, including:
- Detailed content
- Learning outcomes
- Activities
- Lesson Editor: Edit and refine lesson content with a rich text editor
- Markdown Support: Format lesson content with Markdown, with live preview
- Learning Outcomes Generation: Automatically create measurable learning outcomes for any lesson
- Content Enhancement: Use AI to improve and expand existing content
- Thumbnails: Upload or auto-generate course thumbnails
- Dashboard: Navigate to the main dashboard to see all your courses
- Create a Course: Click "Create New Course" and enter basic course details
- Add Modules: Within a course, create modules using AI or add them manually
- Add Lessons: For each module, add lessons using the "Add Lesson" button
- Edit Content: Use the module editor to refine and enhance your lesson content
- Click "Create New Course"
- Enter a course title
- Add an AI generation prompt
- Click "Continue" to generate a full course structure
- Navigate to your course
- Click "Add Module"
- Enter a topic or concept in the AI prompt field
- Click "Generate Module"
- Navigate to a module
- Click "Add Lesson"
- Select the "AI Generation" tab
- Enter a topic and (optional) details
- Click "Generate Lesson"
- Select a lesson
- In the content editor, click "Enhance with AI"
- The AI will improve and expand your existing content
- Select a lesson
- In the content editor, go to outcomes tab and click on "Generate Outcomes"
- The AI will improve and expand your existing content
- Node.js
- pnpm
- Hono
- MongoDB (local instance or cloud connection)
- Google API credentials (for Gemini AI integration)
-
Clone the repository
git clone https://github.com/tanmayagrwl/coursegpt.git cd coursegpt -
Install dependencies
pnpm install
-
Environment setup
- Create a
.envfile in the root directory - Add the following variables:
MONGODB_URI=your_mongodb_connection_string GOOGLE_API_KEY=your_gemini_api_key
- Create a
-
Development mode
pnpm run dev
-
Production build
pnpm run build pnpm start
-
Access the application
- Open your browser and navigate to
http://localhost:3000
- Open your browser and navigate to
CourseGPT is built with modern web technologies to provide a robust, scalable, and user-friendly experience:
- Next.js - React framework for server-side rendering and static site generation
- TypeScript - For type-safe code
- Tailwind CSS - Utility-first CSS framework
- Shadcn UI - Component library for consistent design
- React Markdown - Markdown rendering for lesson content
- React Hook Form - Form handling with validation
- Sonner - Toast notifications
- Embla Carousel - For interactive content sliders
- Hono - Lightweight, high-performance web framework
- MongoDB - NoSQL database for flexible data storage
- Mongoose - MongoDB object modeling
- Zod - Schema validation
- Gemini 2.0 Flash - Google's generative AI model
- Vercel - Optimized for Next.js deployment with serverless functions
MIT License
Transform your course creation process with CourseGPT - the AI-powered solution for educators and content creators.
