AI-powered analytics dashboard for Telegram data. Analyze conversations, track engagement metrics, and gain insights from your Telegram activity using OpenAI and Anthropic AI models.
- 📈 Conversation Analytics - Analyze message patterns and engagement
- 🤖 Multi-AI Support - Powered by OpenAI GPT-4 and Anthropic Claude
- 📊 Interactive Charts - Beautiful visualizations with Recharts
- 🔐 Secure Authentication - User accounts with Supabase Auth
- 💾 Cloud Storage - All data stored securely in Supabase
- 📱 Responsive Design - Works seamlessly on all devices
- 🎨 Modern UI - Built with shadcn/ui and Tailwind CSS
- Frontend: React 18, TypeScript, Vite
- UI Components: shadcn/ui, Radix UI
- Styling: Tailwind CSS
- AI Models: OpenAI GPT-4, Anthropic Claude
- Backend: Supabase (Auth, Database, Storage)
- Charts: Recharts
- State Management: TanStack Query
- Routing: React Router v6
- Node.js 18+ and npm
- Supabase account (free tier available)
- OpenAI API key
- Anthropic API key (optional)
- Clone the repository:
git clone https://github.com/magnusfroste/telelog-analytics.git
cd telelog-analytics- Install dependencies:
npm install- Set up environment variables:
cp .env.example .env- Configure your
.envfile:
VITE_OPENAI_API_KEY=your-openai-api-key-here
VITE_ANTHROPIC_API_KEY=your-anthropic-api-key-here- Create a new project at supabase.com
- Set up authentication (Email/Password or OAuth)
- Create the necessary database tables for storing analytics data
- Copy your project URL and anon key to
.env
OpenAI:
- Get an API key from OpenAI Platform
- Add the API key to
.env
Anthropic (Optional):
- Get an API key from Anthropic Console
- Add the API key to
.env
Start the development server:
npm run devOpen http://localhost:5173 in your browser.
Build for production:
npm run buildPreview production build:
npm run preview- Import Data - Upload your Telegram export data
- AI Analysis - AI models analyze conversation patterns and sentiment
- View Insights - Interactive dashboards show key metrics
- Track Trends - Monitor changes over time
telelog-analytics/
├── src/
│ ├── components/ # React components
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utilities and API clients
│ └── pages/ # Page components
└── public/ # Static assets
- Message frequency analysis
- Response time metrics
- Sentiment analysis
- User engagement tracking
- Conversation topic extraction
- Sentiment trends
- Key phrase identification
- Automated summaries
MIT License - feel free to use this for your own analytics projects!
Contributions are welcome! Please feel free to submit a Pull Request.
For issues or questions, please open an issue on GitHub.
This tool processes Telegram data locally and only sends anonymized data to AI APIs for analysis. No personal data is stored without your consent.