Skip to content

An interactive AI-powered learning experience generator that creates comprehensive, multimedia educational content on any topic.

License

Notifications You must be signed in to change notification settings

echohive42/o1-Auto-Teacher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

o1 Auto Teacher πŸŽ“

An interactive AI-powered learning experience generator that creates easy adn simple, multimedia educational content on any topic.

Features ✨

  • Dynamic Content Generation: Uses AI to create structured, easy-to-understand chapters about any topic
  • Rich Multimedia Experience:
    • 🎨 AI-generated images for visual learning
    • 🎧 Text-to-speech narration for auditory learning
    • πŸ“± Responsive web interface with dark mode
    • ✨ Smooth animations and transitions

πŸŽ₯ Watch How It's Built!

Watch the complete build process on Patreon

Dive deep into the development process with:

  • 🎯 Step-by-step video walkthrough of the entire build
  • πŸ’‘ Expert insights and best practices

Plus, get access to my exclusive 30-Chapter Cursor Mastery Course:

  • πŸ“š 20+ hours of hands-on content
  • πŸ› οΈ Build full applications from scratch in each chapter
  • ⚑ Quick, independent chapters for rapid learning
  • πŸŽ“ From basics to advanced Cursor techniques

❀️ Support & Get 400+ AI Projects

This is one of 400+ fascinating projects in my collection! Support me on Patreon to get:

  • 🎯 Access to 400+ AI projects (and growing daily!)
  • πŸ“₯ Full source code & detailed explanations
  • πŸ“š 1000x Cursor Course
  • πŸŽ“ Live coding sessions & AMAs
  • πŸ’¬ 1-on-1 consultations (higher tiers)
  • 🎁 Exclusive discounts on AI tools & platforms (up to $180 value)

Prerequisites πŸ“‹

  • Python 3.7+
  • OpenAI API key (set as system environment variable)

Installation πŸš€

  1. Clone the repository:
  2. Install required packages:
pip install -r requirements.txt
  1. Set up your OpenAI API key as a system environment variable:
# For Windows
set OPENAI_API_KEY=your-api-key-here

# For Unix/Linux/MacOS
export OPENAI_API_KEY=your-api-key-here

Usage πŸ’‘

  1. Run the script:
python auto_teacher.py
  1. Enter any topic you want to learn about when prompted
  2. Wait while the AI generates your personalized learning experience:
    • Creates structured chapters
    • Generates relevant images
    • Converts text to speech
    • Builds an interactive HTML interface
  3. Open the generated HTML file in your browser (located in topics/[your-topic]/index.html)

Project Structure πŸ“

auto_teacher/
β”œβ”€β”€ topics/                 # Generated content directory
β”‚   └── [topic-name]/      # Topic-specific directory
β”‚       β”œβ”€β”€ index.html     # Interactive learning interface
β”‚       └── static/        # Static assets directory
β”‚           β”œβ”€β”€ images/    # Generated images
β”‚           └── audio/     # Generated audio files
└── auto_teacher.py        # Main script

Technical Details πŸ”§

  • AI Models Used:

    • Text Generation: o1-mini
    • Image Generation: DALL-E 3
    • Text-to-Speech: TTS-1
  • Frontend Technologies:

    • DaisyUI for UI components
    • Tailwind CSS for styling
    • Anime.js for animations
    • Vanilla JavaScript for interactivity

Features in Detail 🎯

  1. Content Generation

    • AI-generated chapters with titles and descriptions
    • Each chapter includes custom image descriptions
  2. Interactive UI

    • Dark mode interface
    • Play all chapters sequentially
    • Individual chapter playback control
    • Smooth scrolling and animations
    • Responsive design for all devices
  3. Error Handling

    • Comprehensive error catching and reporting
    • Informative colored console output
    • Graceful failure handling

About

An interactive AI-powered learning experience generator that creates comprehensive, multimedia educational content on any topic.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages