How mifada2543/meel-hub works
MEeL-HUB is a self-hosted media platform for browsing and streaming video and music, reading books, and managing files in a cloud drive. A typical video-viewing flow reaches the watch controller, which obtains media and interaction data through MediaViewer and prepares playback details, including HLS and subtitles. The README also describes social, account-security, administration, and media-processing capabilities. Some of those subsystems are represented at their exact enclosing directory because their implementation was not sampled; their internal wiring is not inferred.
Main entry points: WatchController.php Watch controller · watch.php Video watch · read.php Book reader · index.php Drive browser
Components 24
Media library
- Video library
video/index.php - Video watch
video/watch.php - Watch controller
controllers/api/WatchController.php - Media viewer
modules/media/MediaViewer.php - Media search
modules/media/SearchEngine.php - Music library
music/index.php - Music watch
music/watch.php - Media files
modules/core/helpers/storage.php - Transcoding
modules/transcoder
Book reading
- Book library
books/index.php - Book reader
books/read.php - Book delivery
books/file.php
Cloud drive
- Drive browser
drive/index.php - Drive service
drive/DriveService.php - Drive operations
drive
Identity and community
- Authentication and MFA
auth - Comments and interactions
controllers/api - User profiles
profile/index.php
Administration and processing
- Admin console
admin/index.php - Admin actions
controllers/admin - Application data
- URL downloader
modules/transcoder/DownloadService.php
Other components
- Visitor / member
- yt-dlp and FFmpeg
Connections 22
- Visitor / member → Video library: browse
- Visitor / member → Video watch: watch
- Video watch → Watch controller: prepare view
- Watch controller → Media viewer: fetch media
- Watch controller → Media viewer: load interactions
- Visitor / member → Music library: browse
- Visitor / member → Music watch: listen
- Visitor / member → Media search: search
- Visitor / member → Book library: browse
- Visitor / member → Book reader: read
- Book reader → Book delivery: request pages
- Visitor / member → Drive browser: manage files
- Drive browser → Drive service: use storage
- Visitor / member → Authentication and MFA: sign in
- Visitor / member → User profiles: view profile
- Visitor / member → Comments and interactions: interact
- Visitor / member → Admin console: administer
- Admin console → Admin actions: dispatch actions
- Admin actions → Application data: read and write
- Visitor / member → URL downloader: submit URL
- URL downloader → yt-dlp and FFmpeg: invoke
- Transcoding → yt-dlp and FFmpeg: encode media