A platform for converting PDFs into interactive podcasts and generating quizzes
- Transform any PDF document into natural-sounding conversations
- Custom voice speed and tone adjustments
- Smart Quiz Generation: Automatically create quizzes from your study materials
- Intelligent Summaries: Get concise summaries of complex documents
- Node.js 18+
- npm or yarn
- Supabase account
- OpenAI API key
- Google AI API key
- Playnote API key
- Clone the repository:
git clone https://github.com/yourusername/ai-learning-hub.git
cd ai-learning-hub- Install dependencies:
npm install
# or
yarn install- Set up environment variables:
Create a
.env.localfile with the following:
# API Configuration
NEXT_PUBLIC_API_URL=http://localhost:8001
# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
# AI Services
OPENAI_API_KEY=your_openai_api_key
GOOGLE_GENERATIVE_AI_API_KEY=your_google_ai_api_key
# Playnote (for PDF to Audio)
PLAYNOTE_USER_ID=your_playnote_user_id
PLAYNOTE_API_KEY=your_playnote_api_key- Start the development server:
npm run dev
# or
yarn dev- Open http://localhost:3000 in your browser
- Frontend: Next.js 14, TailwindCSS
- Backend: Supabase
- AI Services:
- Playnote API for audio generation
- Gemini API