How whyboris/video-hub-app works
Video Hub App is an Angular/Electron desktop catalog for browsing, searching, and organizing local videos. The main workflow is to choose source folders, extract video metadata and preview assets, then browse and manage the resulting hub in the Angular UI. The README also documents an optional phone/tablet remote server. Relationships below rely on the README and SOURCE INDEX references; unsampled implementation details are not assumed.
Main entry points: home.component.ts Hub browsing · main.ts Electron main · main-extract-async.ts Folder scanning · main-ipc.ts IPC handlers
Components 23
Desktop runtime
- Electron main
main.ts - Runtime state
node/main-globals.ts - IPC handlers
node/main-ipc.ts - Remote server
node/server.ts - Touch Bar
node/main-touch-bar.ts
Hub creation
- Folder scanning
node/main-extract-async.ts - Video metadata
node/main-extract.ts - Filename handling
node/main-filenames.ts - Hub utilities
node/main-support.ts
Browsing and organization
- Angular application
src/app/app.module.ts - Hub browsing
src/app/components/home.component.ts - Video views
src/app/components/views - Search and filters
src/app/components/search-boxes/search-boxes.component.ts - Manual tags
src/app/components/tags-manual/manual-tags.service.ts - Automatic tags
src/app/components/tags-auto/autotags.service.ts - Statistics
src/app/components/statistics/statistics.component.ts - Media paths
src/app/components/views/file-path.service.ts - Video state
src/app/services/image-element.service.ts - Settings actions
src/app/common/settings-buttons.ts
Shared data and settings
- Video record model
interfaces/final-object.interface.ts - Settings model
interfaces/settings-object.interface.ts - Shared UI types
interfaces/shared-interfaces.ts
Other components
- Desktop user
Connections 30
- Desktop user → Electron main: operates
README.md - Electron main → Runtime state: initializes
main.ts - Electron main → IPC handlers: configures
main.ts - Electron main → Folder scanning: starts extraction
main.ts - Electron main → Hub utilities: uses utilities
main.ts - Electron main → Remote server: starts server
main.ts - Electron main → Touch Bar: configures
main.ts - Folder scanning → Video metadata: extracts metadata
node/main-extract-async.ts - Folder scanning → Filename handling: uses filenames
node/main-extract-async.ts - Folder scanning → Hub utilities: uses utilities
node/main-extract-async.ts - Hub utilities → Folder scanning: resets watchers
node/main-support.ts - IPC handlers → Folder scanning: dispatches extraction
node/main-ipc.ts - IPC handlers → Video metadata: requests extraction
node/main-ipc.ts - Angular application → Hub browsing: declares
src/app/app.module.ts - Hub browsing → IPC handlers: requests hub actions
src/app/components/home.component.ts - Hub browsing → Search and filters: uses search controls
src/app/components/home.component.ts - Hub browsing → Video views: selects views
src/app/components/home.component.ts - Hub browsing → Manual tags: manages tags
src/app/components/home.component.ts - Hub browsing → Automatic tags: uses auto tags
src/app/components/home.component.ts - Hub browsing → Statistics: shows statistics
src/app/components/home.component.ts - Hub browsing → Media paths: uses file paths
src/app/components/home.component.ts - Hub browsing → Video state: updates video state
src/app/components/home.component.ts - Hub browsing → Settings actions: uses settings actions
src/app/components/home.component.ts - Media paths → Statistics: reads source folders
src/app/components/views/file-path.service.ts - Automatic tags → Video record model: uses video records
src/app/components/tags-auto/autotags.service.ts - Manual tags → Video record model: uses video records
src/app/components/tags-manual/manual-tags.service.ts - Video state → Video record model: stores video records
src/app/services/image-element.service.ts - Hub browsing → Video record model: uses video records
src/app/components/home.component.ts - Electron main → Settings model: uses saved settings
main.ts - Hub browsing → Shared UI types: uses shared types
src/app/components/home.component.ts