About

🤖 About AI Textbook Generator

📖 Documentation and Guide

🔍 Overview

The AI Textbook Generator is a powerful tool that leverages artificial intelligence to create comprehensive educational content on any topic you can imagine. 🚀 Built with modern web technologies and powered by advanced language models, it provides an interactive way to generate structured learning materials.

⚙️ How It Works

  • 💡 Enter a Topic

    Simply type in any subject you want to learn about in the sidebar input field.

  • 📋 Generate Table of Contents

    Our AI analyzes your topic and creates a structured outline with comprehensive chapters.

  • ✨ Generate Content

    Click on any section in the table of contents to generate detailed, educational content.

🎯 Features

📚

Comprehensive Coverage

Get detailed textbooks on any topic with structured chapters and sections.

Interactive Learning

Generate content on-demand as you explore different sections of your textbook.

🤖

AI-Powered

Uses advanced language models via OpenRouter for high-quality educational content.

📱

Modern Interface

Built with SvelteKit and DaisyUI for a smooth, responsive user experience.

🛠️ Technology Stack

⚡ SvelteKit + TypeScript
🤖 OpenRouter API
🎨 Tailwind CSS + DaisyUI
🚀 Static Site Generation

🚀 Getting Started

  1. Go to the 🏠 home page
  2. 💡 Enter your desired topic in the sidebar input field
  3. 📋 Click "Generate TOC" to create a table of contents
  4. 📖 Click on any section to generate detailed content
  5. 🔍 Explore different chapters to build your complete textbook

🔧 API Configuration

⚙️ To run this project locally, you'll need to configure the OpenRouter API
🔑 Step 1: Get API Key

Get an API key from 🌐 OpenRouter.

🔧 Step 2: Environment Setup
cp .env.example .env
echo "OPENROUTER_API_KEY=your_key_here" >> .env
🚀 Step 3: Install and Run
npm install
npm run dev

🎉 Ready to Start Learning?

✨ Enjoy creating AI-generated textbooks tailored to your learning needs!

🚀 Get Started