Commit Graph

8 Commits

Author SHA1 Message Date
Rosario Moscato
e32f433c79 feat: implement intelligent language detection for podcast conversations
- Added robust language detection system that analyzes URL domains, content keywords, and special characters
- Supports automatic detection of English, Italian, Spanish, French, and German
- Generates podcast conversations in the same language as the website content
- Enhanced AI prompts with strong language-specific instructions
- Added comprehensive debug logging for language detection accuracy
- Improved detection thresholds to prevent false positives

The system now automatically detects the language of scraped website content and generates podcast conversations in that language, ensuring localization and improved user experience.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-23 20:02:04 +02:00
Rosario Moscato
30bb11d62a feat: switch from Mistral to OpenAI gpt-4o-mini model
- Replace @ai-sdk/mistral with @ai-sdk/openai dependency
- Update model from mistral-medium-latest to gpt-4o-mini
- Use OPENAI_API_KEY from environment for authentication
- Improve conversation generation quality with OpenAI model

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 22:38:18 +02:00
Rosario Moscato
7be782f0d0 feat: implement streaming conversation generation with real-time message display
- Replace generateObject with streamObject for real-time conversation streaming
- Add progressive message loading with scroll-to-load functionality
- Implement proper state reset when new URLs are submitted
- Add enhanced logging for debugging streaming issues
- Include structured data documentation for AI SDK streaming
- Update UI to show loading state and streaming progress
- Fix message visibility management with initial 10 message limit

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 22:21:06 +02:00
Rosario Moscato
1b4bfd44e2 feat: implement AI conversation generation with Mistral
- Install Mistral AI SDK and required dependencies
- Create API endpoint for generating podcast conversations using structured data
- Generate conversations between two hosts with distinct personalities:
  * Host 1: Bubbly, excited, and enthusiastic
  * Host 2: Skeptical, sarcastic, and thoughtful
- Include emotional expressions in brackets like [giggles], [sarcastically]
- Use same language as scraped content (English, Italian, etc.)
- Update frontend to automatically generate conversation after scraping
- Remove mock data and unused variables
- Add proper error handling and loading states

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 20:45:23 +02:00
Rosario Moscato
d380d68555 feat: implement Firecrawl web scraping integration
- Add Firecrawl SDK dependency for web scraping functionality
- Create /api/scrape endpoint to handle website content extraction
- Replace mock data with real Firecrawl API integration
- Add recent sources section showing scraped content excerpts
- Update UI to display scraping success/error messages
- Fix API response structure handling for Firecrawl integration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 20:01:58 +02:00
Rosario Moscato
f31780cbf5 feat: integrate shadcn components and enable dark mode by default
- Add shadcn/ui components (Button, Input, Card, Progress)
- Replace custom UI elements with shadcn components throughout the app
- Install required dependencies (@radix-ui, lucide-react, class-variance-authority)
- Create utils file for proper component styling
- Enable dark mode as default theme
- Update CSS with proper oklch color system and dark mode variables
- Remove media query for automatic color scheme detection
- Maintain all existing functionality with improved component consistency

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 20:08:43 +02:00
Rosario Moscato
8a50a03a2f feat: implement AI Podcast Generator UI with 3-column layout
- Add responsive 3-column design similar to NotebookLM
- Implement URL input form with loading states and validation
- Create conversation display between two hosts (Alex & Sarah)
- Build functional audio player with play/pause/restart controls
- Add progress bar, volume control, and episode information
- Include mock conversation data with 10 rounds of dialogue
- Implement hover effects and smooth transitions
- Add dark mode support and custom scrollbar styling
- Update metadata and application title

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 19:25:20 +02:00
Rosario Moscato
198fdb01ab Initial commit from Create Next App 2025-09-21 17:48:09 +02:00