Transform conversations into organized knowledge with AI-powered insights
- Automatically detects when ElevenLabs conversations end
- Real-time conversation monitoring and event handling
- Smart popup notifications for completed sessions
- Organized story categorization system
- AI-powered content analysis and insights
- Interactive knowledge gap identification
- Advanced search and filtering capabilities
- Seamless ElevenLabs integration with API wrapper
- Transcript capture and processing
- Conversation metadata extraction
- Real-time sync with knowledge base
- Intelligent conversation summarization
- Key topic extraction
- Knowledge gap analysis
- Smart content suggestions
- Beautiful shadcn/ui component library
- Responsive design with Tailwind CSS
- Dark/light theme support
- Intuitive navigation and user experience
- React 18 - Modern UI library with hooks
- TypeScript - Type-safe development
- Vite - Lightning-fast build tool
- Tailwind CSS - Utility-first CSS framework
- shadcn/ui - Beautiful component library
- React Router - Client-side routing
- React Query - Server state management
- Vercel - Serverless deployment platform
- Supabase - Backend-as-a-Service database
- ElevenLabs API - AI conversation platform
- OpenAI API - AI text processing and embeddings
- ESLint - Code linting and quality
- Concurrently - Run multiple scripts
- React Hook Form - Form state management
- Zod - Schema validation
- Node.js 18+ and npm
- ElevenLabs API account
- Supabase project (optional)
- OpenAI API key (optional, for embeddings)
git clone https://github.com/Susmithareddya/Chronicles.git
cd Chronicles
npm install# Copy environment template
cp .env.example .env
# Edit .env with your API keys
VITE_ELEVEN_LABS_API_KEY=your-elevenlabs-api-key
VITE_OPENAI_API_KEY=your-openai-api-key
VITE_SUPABASE_URL=your-supabase-url
VITE_SUPABASE_ANON_KEY=your-supabase-key# Start development server
npm run dev
# Or start with API routes (recommended)
npm run dev:api
# Or start both frontend and API
npm run dev:fullFor enhanced ElevenLabs integration:
cd server
npm install
npm startVisit http://localhost:5173 to start using Chronicles!
Chronicles/
βββ π src/
β βββ π components/ # Reusable UI components
β β βββ ConversationSync*.tsx # Conversation management
β β βββ KnowledgeBase*.tsx # Knowledge base UI
β β βββ ui/ # shadcn/ui components
β βββ π pages/ # Route components
β β βββ Index.tsx # Main dashboard
β β βββ ConversationSync.tsx # Sync interface
β β βββ KnowledgeGaps.tsx # Gap analysis
β βββ π services/ # API and business logic
β β βββ conversationDetectionService.ts
β β βββ elevenlabsService.ts
β β βββ supabaseClient.ts
β βββ π lib/ # Utilities and configurations
βββ π server/ # Proxy server (optional)
βββ π api/ # Vercel serverless functions
βββ π public/ # Static assets
Real-time monitoring of ElevenLabs conversations with automatic event handling:
const detectionService = new ConversationDetectionService();
const unsubscribe = detectionService.addEventListener((event) => {
if (event.status === 'ended') {
// Handle conversation completion
processConversation(event.conversationId);
}
});Interactive dashboard for managing and exploring your knowledge:
- Story Cards: Visual representation of conversations
- Category Filtering: Organize by topics and themes
- Search: Find specific conversations quickly
- Analytics: Insights into conversation patterns
Comprehensive API wrapper for ElevenLabs services:
- Conversation retrieval and management
- Transcript processing and analysis
- Real-time status monitoring
- Error handling and retry logic
| Variable | Description | Required |
|---|---|---|
VITE_ELEVEN_LABS_API_KEY |
ElevenLabs API authentication | β |
VITE_OPENAI_API_KEY |
OpenAI API for embeddings | π‘ |
VITE_SUPABASE_URL |
Supabase project URL | π‘ |
VITE_SUPABASE_ANON_KEY |
Supabase anonymous key | π‘ |
VITE_USE_PROXY |
Use proxy server mode | β |
VITE_PROXY_URL |
Proxy server URL | β |
npm run dev # Start Vite development server
npm run dev:api # Start Vercel dev server with API routes
npm run dev:full # Start both frontend and API concurrently
npm run build # Production build
npm run build:dev # Development build
npm run lint # Run ESLint
npm run preview # Preview production buildChronicles is optimized for Vercel deployment:
# Install Vercel CLI
npm i -g vercel
# Deploy to production
vercel --prodAdd these environment variables in your Vercel dashboard:
VITE_ELEVEN_LABS_API_KEYVITE_OPENAI_API_KEY(optional)VITE_SUPABASE_URL(optional)VITE_SUPABASE_ANON_KEY(optional)
- Conversation Sync Tester: Test ElevenLabs integration
- WebSocket Bypass: Direct API testing
- Webhook Tester: Test event handling
- Quick Test Button: Rapid development testing
// Test conversation popup (dev only)
window.testConversationPopup();/api/elevenlabs/conversations- Fetch conversations/api/elevenlabs/agents- List available agents/api/elevenlabs/conversation/[id]- Get specific conversation
/api/health- Service status and connectivity
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
- Follow TypeScript best practices
- Use existing component patterns
- Maintain consistent code style with ESLint
- Test your changes thoroughly
- Update documentation as needed
This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: Contact
- shadcn/ui for the beautiful component library
- ElevenLabs for the powerful conversation AI platform
- Vercel for seamless deployment
- Supabase for backend infrastructure
Built with β€οΈ by the Chronicles team
β Star this repo if you find it helpful!

