Transform passive consumption into active intelligence.
Decode the subtext, emotional flux, and factual integrity of social media content.
Sentira is a high-performance, AI-driven analysis platform that leverages Google's Gemini multimodal capabilities to provide deep insights into video, audio, and text content. It doesn't just "see" video β it understands the emotional narrative, identifies characters, detects bias, and verifies claims in real-time.
| Feature | Description |
|---|---|
| π Sentiment Analysis | Real-time emotional tracking with 1-second granularity using parallel LLM streams |
| β Fact-Checking | Claim verification engine with Google Search grounding |
| βοΈ Bias Detection | Neural risk vectors, policy conflict analysis, and regional heatmaps |
| π Trend Analysis | Virality scoring, audience segmentation, and engagement prediction |
| π€ AI Detection | Content authenticity verification |
| π Report Generation | Exportable PDF intelligence briefings |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SENTIRA β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β βββββββββββββββ βββββββββββββββ ββββββββββββββββββββ β
β β Frontend β β Backend β β Insta-Downloader β β
β β (Next.js) βββββΊβ (FastAPI) βββββΊβ (Next.js) β β
β β Port 3001 β β Port 8000 β β Port 3333 β β
β βββββββββββββββ ββββββββ¬βββββββ ββββββββββββββββββββ β
β β β
β βΌ β
β ββββββββββββββββββ β
β β Gemini AI β β
β β (Multimodal) β β
β ββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Layer | Technology |
|---|---|
| Frontend | Next.js 16, React 19, TypeScript, Tailwind CSS, Framer Motion |
| Backend | FastAPI, Python, Google Gemini AI |
| Authentication | Clerk |
| Database | PostgreSQL |
| Video Sources | Instagram (custom downloader), YouTube (pytubefix) |
- Node.js 18+
- Python 3.10+
- PostgreSQL (optional, for persistence)
- Gemini API Key from Google AI Studio
- Clerk Account for authentication
Create a .env file in the project root:
# Gemini AI Configuration
GEMINI_API_KEY=your_gemini_api_key
GEMINI_MODEL=gemini-3-flash-preview
GEMINI_BIAS_MODEL=gemini-3-pro-preview
# Service URLs
DOWNLOADER_BASE_URL=http://localhost:3333
# Frontend (.env.local in /frontend)
NEXT_PUBLIC_API_URL=http://localhost:8000
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_keygit clone https://github.com/yourusername/sentira.git
cd sentiracd backend
# Create virtual environment
python -m venv venv
# Activate (Windows)
.\venv\Scripts\activate
# Activate (macOS/Linux)
source venv/bin/activate
# Install dependencies
pip install -r requirements.txtcd frontend
# Install dependencies
npm install
# Or using pnpm
pnpm installcd insta-downloader
# Install dependencies
npm installOpen three terminal windows:
Terminal 1 - Backend:
cd backend
uvicorn main:app --reload --port 8000Terminal 2 - Frontend:
cd frontend
npm run devTerminal 3 - Instagram Downloader (Optional):
cd insta-downloader
npm run devAccess the application at http://localhost:3001
Sentira/
βββ backend/ # FastAPI Backend
β βββ main.py # Application entry point
β βββ config.py # Configuration & Gemini client
β βββ cache.py # Caching utilities
β βββ models/ # Pydantic data models
β β βββ video.py
β βββ prompts/ # LLM prompt templates
β β βββ video.py
β βββ services/ # Business logic
β β βββ video_service.py
β β βββ fact_checker.py
β β βββ youtube_downloader.py
β βββ routes/ # API endpoints
β βββ video.py
β βββ videos.py
β βββ fact_check.py
β βββ root.py
β
βββ frontend/ # Next.js Frontend
β βββ src/
β βββ app/ # App router pages
β β βββ dashboard/ # Main input hub
β β βββ analyze/ # Video analysis
β β βββ sentiment-analysis/
β β βββ detecting-bias/
β β βββ fact-checking/
β β βββ trend-analysis/
β β βββ ai-detection/
β β βββ browse/
β β βββ reports/
β β βββ history/
β βββ components/ # Reusable UI components
β βββ context/ # React context (AnalysisContext)
β βββ lib/ # Utilities & API client
β βββ types/ # TypeScript definitions
β
βββ insta-downloader/ # Instagram video downloader service
βββ src/
βββ app/
βββ features/
βββ services/
| Method | Endpoint | Description |
|---|---|---|
POST |
/analyze-video/reel |
Analyze Instagram reel from URL |
POST |
/analyze-video/youtube |
Analyze YouTube video from URL |
POST |
/analyze-video/sentiment |
Get sentiment analysis with emotion timeline |
POST |
/analyze-video/reel/upload |
Analyze uploaded video file |
| Method | Endpoint | Description |
|---|---|---|
POST |
/fact-check |
Verify claims in content |
| Method | Endpoint | Description |
|---|---|---|
GET |
/videos |
List analyzed videos |
GET |
/videos/{id} |
Get specific video analysis |
| Name | Hex | Usage |
|---|---|---|
| Aurora Cyan | #00f2fe |
Positive signals, CTAs |
| Aurora Rose | #ff0080 |
Warnings, concerning signals |
| Aurora Blue | #00d4ff |
Neutral highlights |
| Background | #020617 |
Primary dark background |
- Clarity over Clutter β High-density data with breathable UI
- Motion as Meaning β Transitions reflect emotional content flux
- Cyber-Industrial Aesthetic β Glass morphism with aurora accents
- Core UI with Pulse dashboard
- Clerk authentication integration
- Instagram & YouTube video ingestion
- Fact-checking verification engine
- Sentiment analysis with parallel LLM streams
- Bias detection with regional heatmaps
- PDF report generation
- Cross-video character recognition
- Advanced bias detection (strawman, cherry-picking)
- Multilingual support (20+ languages)
- Sentira Chat (interactive Q&A about videos)
- Batch processing for channels/profiles
- TikTok integration
- Twitter/X Spaces analysis
- Browser extension overlay
Contributions are welcome! Please read our contributing guidelines before submitting PRs.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Built with β€οΈ for truth, transparency, and multimodal intelligence.