@mediago/core
v0.0.13
Published
MediaGo Player - A hybrid Go+React video player server
Maintainers
Readme
@mediago/core
MediaGo Player is a hybrid Go+React video player server that combines a powerful Go backend with a responsive React frontend.
Current package version: 0.0.13
Installation
npm install @mediago/core
# or
pnpm add @mediago/core
# or
yarn add @mediago/coreUsage
As a CLI
npx @mediago/coreWith Custom Flags
npx @mediago/core -host 0.0.0.0 -port 8080Available Flags
-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
Environment Variables
You can also configure the server using environment variables:
HTTP_ADDR- Server address inhost:portformatGIN_MODE- Gin mode:debug,release, ortestVIDEO_ROOT_PATH- Local folder for video files
Supported Platforms
This package automatically installs the correct binary for your platform:
- macOS (x64 and ARM64)
- Linux (x64 and ARM64)
- Windows (x64 and ARM64)
Features
- 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
License
ISC
Repository
https://github.com/mediago/mediago-core
