MCPcopy Index your code
hub / github.com/Abhi1992002/course-gpt

github.com/Abhi1992002/course-gpt @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
87 symbols 387 edges 92 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

AI Course Generator

course-gpt 🤖 combines OpenAI API, YouTube API, and Unsplash API to enable easy course creation. Transform ideas into educational content with AI assistance and rich media integration.

AI Course Generator

With this application, you can easily create and customize AI courses, making it a valuable tool for both educators and AI enthusiasts.

Problem and Solution

The biggest problem while creating this application was AI uncertainity means not able to get desired output.

I used the output parser provided by langchain but still its creating issue.

But still,I only got desired result in 8 out of 10 tries.

Technologies Used

  • Next.js: A popular React framework for building fast and efficient web applications.
  • Prisma: A database toolkit and ORM for Node.js and TypeScript.
  • Docker: Containerization for easy deployment and scalability.
  • Tailwind CSS: A utility-first CSS framework for designing responsive and modern UIs.
  • Stripe AI: For secure payment processing.
  • Digital Ocean: A cloud infrastructure provider for hosting and scaling the application.
  • Nginx: A web server used for reverse proxy and serving the application.
  • Recoil: A state management library for React applications.
  • TypeScript: A statically typed superset of JavaScript for enhanced code quality.
  • Shadcn UI: A UI component library.
  • Next UI: UI components and utilities for Next.js applications.

Features

  • Generate AI courses based on your preferences and inputs.
  • Access a vast library of AI-related content from YouTube and Unsplash.
  • Customize and organize course content as per your requirements.
  • Secure and easy payment processing with Stripe AI.
  • Scalable and deployable on Digital Ocean with Docker and Nginx.

Getting Started

Follow these steps to get the AI Course Generator up and running:

  1. Clone the repository: git clone https://github.com/Abhi1992002/course-gpt.git
  2. Install dependencies: npm install or yarn install
  3. Configure environment variables for API keys and other sensitive information.
  4. Start the application: npm run dev or yarn dev
  5. Open your browser and navigate to http://localhost:3000

Extension points exported contracts — how you extend this code

InputProps (Interface)
(no doc)
src/components/ui/input.tsx
Session (Interface)
(no doc)
src/lib/auth.ts
State (Interface)
(no doc)
src/components/ui/use-toast.ts
JWT (Interface)
(no doc)
src/lib/auth.ts
ButtonProps (Interface)
(no doc)
src/components/ui/button.tsx

Core symbols most depended-on inside this repo

cn
called by 39
src/lib/utils.ts
getAuthSession
called by 6
src/lib/auth.ts
dispatch
called by 5
src/components/ui/use-toast.ts
createQuestion
called by 4
action/create-questions.ts
toast
called by 4
src/components/ui/use-toast.ts
useFormField
called by 4
src/components/ui/form.tsx
useToast
called by 3
src/components/ui/use-toast.ts
checkSubscription
called by 3
src/lib/subscription.ts

Shape

Function 82
Interface 5

Languages

TypeScript100%

Modules by API surface

src/components/ui/use-toast.ts9 symbols
src/lib/auth.ts3 symbols
src/lib/youtube.ts2 symbols
src/components/ui/form.tsx2 symbols
src/components/SubscriptionButton.tsx2 symbols
src/components/SubscriptionAction.tsx2 symbols
src/components/SelectorCourse.tsx2 symbols
src/components/GallerySearch.tsx2 symbols
src/components/CreateCourseForm.tsx2 symbols
src/app/api/course/createChapters/route.ts2 symbols
src/lib/utils.ts1 symbols
src/lib/unsplash.ts1 symbols

For agents

$ claude mcp add course-gpt \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact