MediaGo Player - A hybrid Go+React video player server
npm install @mediago/playerMediaGo Player is a hybrid Go+React video player server that combines a powerful Go backend with a responsive React frontend.
``bash`
npm install @mediago/playeror
pnpm add @mediago/playeror
yarn add @mediago/player
`bash`
npx @mediago/player
`bash`
npx @mediago/player -host 0.0.0.0 -port 8080
- -host - Server host address (default: 0.0.0.0)-port
- - Server port (default: 8080)-video-root
- - Path to video directory-enable-docs
- - Enable Swagger API documentation at /docs
You can also configure the server using environment variables:
- HTTP_ADDR - Server address in host:port formatGIN_MODE
- - Gin mode: debug, release, or testVIDEO_ROOT_PATH` - Local folder for video files
-
This package automatically installs the correct binary for your platform:
- macOS (x64 and ARM64)
- Linux (x64 and ARM64)
- Windows (x64)
- Hybrid Go backend with embedded React frontend
- RESTful API with Swagger documentation
- Responsive UI that adapts to desktop and mobile
- Built-in video player with XGPlayer
- Modern UI with shadcn/ui components
ISC
https://github.com/mediago/mediago-player