How nexmoe/vidbee works
VidBee is a media library centered on downloading or importing audio/video, then transcribing, searching, and working with transcripts. Its desktop app is the primary product; the repository also provides a self-hosted API/web client, CLI, and browser extension. The README documents the user-facing workflow and major capabilities. Source excerpts clarify API startup and transcription execution; several connections among unsampled subsystems are therefore omitted rather than inferred.
Main entry points: pipeline-sherpa.ts Local ASR pipeline · download-service.ts Download and import · model-manager.ts Model management · App.tsx Desktop interface
Components 27
Desktop app
- Desktop interface
apps/desktop/src/renderer/src/App.tsx - Desktop IPC services
apps/desktop/src/main/ipc/services
Media workflow
- Download and import
apps/desktop/src/main/ipc/services/download-service.ts - Download engine
packages/downloader-core/src/downloader-core.ts - Task queue
packages/task-queue/src/api/index.ts - Media library
apps/desktop/src/main/lib/database.ts - RSS subscriptions
packages/subscriptions-core/src/api.ts
Transcription
- Transcript service
apps/desktop/src/main/ipc/services/transcript-service.ts - Local ASR pipeline
packages/transcription/src/pipeline-sherpa.ts - Model management
packages/transcription/src/model-manager.ts - ASR model catalog
packages/transcription/src/model-catalog.ts - Speaker processing
packages/transcription/src/speaker-assign.ts - Speaker count options
packages/transcription/src/speaker-count.ts - ASR tiers
packages/transcription/src/asr-tiers.ts - Chinese script handling
packages/transcription/src/chinese-script.ts - Speaker chunks
packages/transcription/src/speaker-chunks.ts - Speaker embeddings
packages/transcription/src/speaker-embed.ts - Speaker refinement
packages/transcription/src/speaker-refine.ts - Qwen tokenizer
packages/transcription/src/qwen3-tokenizer.ts
AI and exports
- AI prompts and providers
apps/desktop/src/main/lib/ai-prompt-runner.ts - Transcript exports
apps/desktop/src/main/lib/markdown-export.ts
Services and clients
- API server
apps/api/src/server.ts - API RPC routes
apps/api/src/lib/rpc-router.ts - Web client
apps/web/src/lib/orpc-client.ts - CLI client
apps/cli/src/subcommands/index.ts - Browser extension
apps/extension/entrypoints/popup/App.tsx
Other components
- User
Connections 26
- User → Desktop interface: uses
README.md - Desktop interface → Desktop IPC services: requests actions
- Desktop IPC services → Download and import: handles downloads
- Download and import → Download engine: downloads media
README.md - Download and import → Task queue: queues tasks
README.md - User → Download and import: imports local media
README.md - RSS subscriptions → Task queue: queues feed items
README.md - User → Transcript service: starts transcription
README.md - Transcript service → Local ASR pipeline: runs recognition
README.md - Local ASR pipeline → Model management: resolves models
packages/transcription/src/pipeline-sherpa.ts - Model management → ASR model catalog: uses catalog
packages/transcription/src/model-manager.ts - ASR model catalog → ASR tiers: uses tier data
packages/transcription/src/model-catalog.ts - Model management → Qwen tokenizer: uses tokenizer
packages/transcription/src/model-manager.ts - Local ASR pipeline → Speaker count options: parses speaker count
packages/transcription/src/pipeline-sherpa.ts - Local ASR pipeline → Speaker processing: assigns speakers
packages/transcription/src/pipeline-sherpa.ts - Local ASR pipeline → Speaker chunks: uses chunks
packages/transcription/src/pipeline-sherpa.ts - Local ASR pipeline → Speaker embeddings: uses embeddings
packages/transcription/src/pipeline-sherpa.ts - Local ASR pipeline → Speaker refinement: refines speakers
packages/transcription/src/pipeline-sherpa.ts - User → AI prompts and providers: runs prompts
README.md - User → Transcript exports: exports transcript
README.md - API server → API RPC routes: registers routes
apps/api/src/server.ts - User → Web client: uses web client
README.md - Web client → API RPC routes: calls API
README.md - User → CLI client: uses CLI
- User → Browser extension: uses extension
- Local ASR pipeline → Chinese script handling: handles script
packages/transcription/src/pipeline-sherpa.ts