How bugkingg/videomind works
VideoMind accepts video links, builds transcript-backed video knowledge, and provides AI summaries and conversational Q&A, with login and conversation history as supporting workflows. The documented web client calls the Java service, which coordinates asynchronous work and streaming updates; the Python agent handles AI processing. Agent internals and frontend calls are supported by sampled source, while Java, queue, and deployment details rely on the README because their source files are not in the supplied tree. The README also documents user authentication, cookie support, and multi-instance SSE routing.
Main entry points: service.py Agent orchestration · video-mind-java Spring API · Home.vue Home workflow · graph.py Intent routing
Components 27
Web client
- Vue application
video-mind-web/src/App.vue - Home workflow
video-mind-web/src/views/Home.vue - Summary streaming
video-mind-web/src/composables/useSummary.ts - Chat streaming
video-mind-web/src/composables/useChat.ts - History lookup
video-mind-web/src/composables/useHistory.ts - Authentication
video-mind-web/src/composables/useAuth.ts - SSE parsing
video-mind-web/src/utils/sseParser.ts
Backend coordination
- Spring API
video-mind-java - Async task queue
video-mind-java - SSE routing
video-mind-java - Business database
video-mind-java - Redis
video-mind-java
Video AI
- Agent HTTP service
video-mind-agent/web_server.py - Video parser
video-mind-agent/fetch_video.py - Agent orchestration
video-mind-agent/app/agent/service.py - Intent routing
video-mind-agent/app/agent/graph.py - Summary generation
video-mind-agent/app/services/video_summarizer.py - Video Q&A
video-mind-agent/app/services/video_qa.py - Intent classification
video-mind-agent/app/services/intent_classifier.py - Result reranking
video-mind-agent/app/services/reranker.py
Data and retrieval
- Video and transcript store
video-mind-agent/app/repositories/video_repository.py - Vector retrieval
video-mind-agent/app/repositories/vector_store.py - Transcript chunking
video-mind-agent/app/transcripts/store.py - Conversation memory
video-mind-agent/app/repositories/conversation_repository.py
Other components
- VideoMind user
- LLM provider
- Embedding provider
Connections 35
- VideoMind user → Vue application: uses
- Vue application → Home workflow: opens
- Home workflow → Summary streaming: requests summary
- Home workflow → Chat streaming: asks questions
- Home workflow → History lookup: views history
- Vue application → Authentication: signs in
- Summary streaming → Spring API: submits and streams
- Chat streaming → Spring API: submits and streams
- History lookup → Spring API: requests records
- Authentication → Spring API: authenticates
- Summary streaming → SSE parsing: parses events
- Chat streaming → SSE parsing: parses events
- Spring API → Business database: reads and writes
- Spring API → Redis: locks and routes
- Spring API → Async task queue: dispatches tasks
- Async task queue → Agent HTTP service: delivers work
- Agent HTTP service → Agent orchestration: invokes
- Agent orchestration → Video parser: requests parsing
- Agent orchestration → Video and transcript store: saves and loads
- Agent orchestration → Transcript chunking: chunks transcript
- Agent orchestration → Vector retrieval: indexes and retrieves
- Agent orchestration → Intent routing: routes requests
- Intent routing → Intent classification: classifies intent
- Intent routing → Summary generation: selects summary
- Intent routing → Video Q&A: selects Q&A
- Agent orchestration → Result reranking: reranks retrieval
- Agent orchestration → Conversation memory: loads and saves memory
- Summary generation → LLM provider: generates summary
- Video Q&A → LLM provider: generates answer
- Agent orchestration → LLM provider: updates memory
- Agent orchestration → Embedding provider: requests embeddings
- Spring API → SSE routing: streams results
- SSE routing → Summary streaming: delivers summary events
- SSE routing → Chat streaming: delivers answer events
- Video parser → Video and transcript store: provides transcript