How itssubroto/reelvault works
ReelVault lets users save Instagram reels and YouTube Shorts, organize them into collections, and search their captions, transcripts, summaries, and tags. The main path runs from the web app or browser extension through the REST API to reel storage; saved reels can then be enriched by the AI service and searched. The graph includes authentication, collection management, metadata extraction, and AI processing. Backend-to-AI dispatch details are not shown in the sampled code, so that relationship is marked unverified.
Main entry points: ReelService.java Reel management · BackendApplication.java REST API application · ai_pipeline.py Transcription and summaries · AuthService.java Authentication logic
Components 25
User Clients
- Web application
frontend/src/App.jsx - API client
frontend/src/api/client.js - Browser extension
extension/content.js - Extension service worker
extension/background.js - Authentication UI
frontend/src/components/AuthModal.jsx
REST API
- REST API application
backend/src/main/java/com/reelvault/BackendApplication.java - Reel endpoints
backend/src/main/java/com/reelvault/controller/ReelController.java - Collection endpoints
backend/src/main/java/com/reelvault/controller/CollectionController.java - Authentication endpoints
backend/src/main/java/com/reelvault/controller/AuthController.java
Reel Domain
- Reel management
backend/src/main/java/com/reelvault/service/ReelService.java - Collection management
backend/src/main/java/com/reelvault/service/CollectionService.java - Authentication logic
backend/src/main/java/com/reelvault/service/AuthService.java - Search logic
backend/src/main/java/com/reelvault/service/SearchService.java - Platform metadata fetcher
backend/src/main/java/com/reelvault/service/InstagramService.java - User, collection and reel models
backend/src/main/java/com/reelvault/entity/Reel.java - Reel repository
backend/src/main/java/com/reelvault/repository/ReelRepository.java - Collection repository
backend/src/main/java/com/reelvault/repository/CollectionRepository.java - User repository
backend/src/main/java/com/reelvault/repository/UserRepository.java
AI Enrichment
- AI processing API
ai-service/main.py - Video metadata extraction
ai-service/services/metadata.py - Transcription and summaries
ai-service/services/ai_pipeline.py
Other components
- ReelVault user
- PostgreSQL
- Video platform sources
- AI model providers
Connections 31
- ReelVault user → Web application: uses
- Web application → API client: requests data
frontend/src/App.jsx - Authentication UI → API client: authenticates via
frontend/src/components/AuthModal.jsx - API client → REST API application: calls REST API
frontend/src/api/client.js - ReelVault user → Browser extension: saves reels
- Browser extension → Extension service worker: requests API proxy
- Extension service worker → REST API application: proxies API requests
- REST API application → Reel endpoints: serves endpoints
- REST API application → Collection endpoints: serves endpoints
- REST API application → Authentication endpoints: serves endpoints
- Reel endpoints → Reel management: delegates reel operations
backend/src/main/java/com/reelvault/controller/ReelController.java - Collection endpoints → Collection management: delegates collection operations
backend/src/main/java/com/reelvault/controller/CollectionController.java - Authentication endpoints → Authentication logic: delegates authentication
backend/src/main/java/com/reelvault/controller/AuthController.java - Reel management → Reel repository: reads and writes reels
backend/src/main/java/com/reelvault/service/ReelService.java - Collection management → Collection repository: reads and writes collections
backend/src/main/java/com/reelvault/service/CollectionService.java - Authentication logic → User repository: looks up and saves users
backend/src/main/java/com/reelvault/service/AuthService.java - Authentication logic → Collection repository: creates default collection
backend/src/main/java/com/reelvault/service/AuthService.java - Reel management → Collection management: resolves collections
backend/src/main/java/com/reelvault/service/ReelService.java - Reel management → Platform metadata fetcher: fetches platform metadata
backend/src/main/java/com/reelvault/service/ReelService.java - Search logic → Reel repository: searches indexed fields
backend/src/main/java/com/reelvault/service/SearchService.java - Search logic → Reel management: formats results
backend/src/main/java/com/reelvault/service/SearchService.java - Reel repository → PostgreSQL: persists reel data
- Collection repository → PostgreSQL: persists collections
- User repository → PostgreSQL: persists users
- Reel management → AI processing API: requests processing
- AI processing API → Video metadata extraction: extracts metadata
ai-service/main.py - AI processing API → Transcription and summaries: runs AI pipeline
ai-service/main.py - Video metadata extraction → Video platform sources: extracts video details
ai-service/services/metadata.py - Transcription and summaries → Video metadata extraction: uses metadata service
ai-service/services/ai_pipeline.py - Transcription and summaries → AI model providers: generates summaries
ai-service/services/ai_pipeline.py - Transcription and summaries → REST API application: patches reel results
ai-service/services/ai_pipeline.py