How shantanum91/r-stream works
R-Stream is a LAN video streamer: a browser loads the Angular client, which requests a video listing and lets a user select a file for playback. The Express server serves the client and mounts the video API; its routes enumerate local media and stream selected files, including byte ranges for playback seeking. The graph distinguishes client startup, API hosting, and media access. The fixed media directory is configured in the route source. The excerpts show these relationships; other UI details are not inferred from unsampled templates.
Main entry points: main.ts Angular bootstrap · videos.js Video API and streaming · app.module.ts App module · app.component.ts Video UI
Components 7
Browser client
- Angular bootstrap
src/main.ts - App module
src/app/app.module.ts - Video UI
src/app/app.component.ts
API hosting
- Express server
server.js
Media access
- Video API and streaming
routes/videos.js - Local media files
Other components
- LAN browser
Connections 8
- LAN browser → Angular bootstrap: opens
README.md - Angular bootstrap → App module: bootstraps
src/main.ts - Angular bootstrap → App module: imports
src/main.ts - App module → Video UI: declares
src/app/app.module.ts - Video UI → Express server: requests video API
src/app/app.component.ts - Express server → Video API and streaming: mounts routes
server.js - Video API and streaming → Local media files: lists and reads
routes/videos.js - Video API and streaming → LAN browser: streams video
routes/videos.js