https://github.com/aalekhpatel07/static-video-server
Host videos from a static directory.
https://github.com/aalekhpatel07/static-video-server
axum-server static-file-server video-server
Last synced: about 1 year ago
JSON representation
Host videos from a static directory.
- Host: GitHub
- URL: https://github.com/aalekhpatel07/static-video-server
- Owner: aalekhpatel07
- License: gpl-3.0
- Created: 2022-12-30T01:23:08.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-31T05:12:39.000Z (over 3 years ago)
- Last Synced: 2025-06-10T12:58:34.445Z (about 1 year ago)
- Topics: axum-server, static-file-server, video-server
- Language: Rust
- Homepage:
- Size: 53.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Static Video Server
Host a collection of static video files nested arbitrarily deep in a root directory.
## Usage
The most common usage would be to provide an index of all available videos inside a root directory.
For example, host all the videos present (arbitrarily deep) inside `~/Videos` via a static file server
available at `localhost:9092`.
### Natively:
```sh
$ cargo install static-video-server
```
```sh
$ RUST_LOG="info" static-video-server --assets-root "~/Videos" --port 9092 --host "0.0.0.0"
```
### Docker
```sh
# Map your content root directory to container's /assets and bind ports 9092
# to access the web UI from host.
$ docker run -d --rm -v ~/Videos:/assets -p 9092:80 static-video-server:latest
```