| Crates.io | RuStream |
| lib.rs | RuStream |
| version | 1.4.0 |
| created_at | 2024-02-09 23:46:36.095167+00 |
| updated_at | 2024-08-31 13:03:35.607166+00 |
| 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
falsetrue127.0.0.1 / localhost80003600[mp4, mov, jpg, jpeg]3100 MB
Input should be in the format,
10 MB,3 GB- inputs are case insensitive
NoneNonesession_token. Defaults to false
If
secure_sessionis to set totrue, the cookiesession_tokenwill only be sent via HTTPS
This means that the server can ONLY be hosted viaHTTPSorlocalhost
Checkout GitHub Wiki for more information about environment variables and
dotenvusage.
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