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