Crates.io | RuStream |
lib.rs | RuStream |
version | 1.4.0 |
source | src |
created_at | 2024-02-09 23:46:36.095167 |
updated_at | 2024-08-31 13:03:35.607166 |
description | Self-hosted Streaming Engine, that can render media files via authenticated sessions. |
homepage | https://github.com/thevickypedia/RuStream |
repository | https://github.com/thevickypedia/RuStream |
max_upload_size | |
id | 1134443 |
size | 251,442 |
RuStream
is a self-hosted streaming engine, that can render media files via authenticated sessions.
cargo add RuStream
use rustream;
#[actix_rt::main]
async fn main() {
match rustream::start().await {
Ok(_) => {
println!("RuStream session has ended")
}
Err(err) => {
eprintln!("Error starting RuStream: {}", err)
}
}
}
curl -o RuStream-Darwin-x86_64.tar.gz -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/RuStream/releases/latest/download/RuStream-Darwin-x86_64.tar.gz"
curl -o RuStream-Linux-x86_64.tar.gz -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/RuStream/releases/latest/download/RuStream-Linux-x86_64.tar.gz"
curl -o RuStream-RaspberryPi.tar.gz -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/RuStream/releases/latest/download/RuStream-RaspberryPi.tar.gz"
curl -o RuStream-Windows-x86_64.zip -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/RuStream/releases/latest/download/RuStream-Windows-x86_64.zip"
Mandatory
username
as key and password
as value.Files starting/ending with
_
(underscore) and.
(dot) will be ignored
Optional
false
true
127.0.0.1
/ localhost
8000
3600
[mp4, mov, jpg, jpeg]
3
100 MB
Input should be in the format,
10 MB
,3 GB
- inputs are case insensitive
None
None
session_token
. Defaults to false
If
secure_session
is to set totrue
, the cookiesession_token
will only be sent via HTTPS
This means that the server can ONLY be hosted viaHTTPS
orlocalhost
Checkout GitHub Wiki for more information about environment variables and
dotenv
usage.
https://crates.io/crates/RuStream
https://docs.rs/RuStream/latest/rustream/
Generator
cargo doc --document-private-items --no-deps
rustup component add clippy
cargo clippy --no-deps --fix
https://github.com/thevickypedia/RuStream/wiki
© Vignesh Rao
Licensed under the MIT License