A media viewer for web browsers written in Rust.
Images and videos are supported.
Screenshot of Rattice running with MIT-67 Indoor Scene Recognition Dataset images.
sh
cargo install rattice
or download prebuilt binary from Releases.
rattice
in arbitrary directory.```shellsession $ rattice --help Rattice 0.0.5
USAGE: rattice [OPTIONS] [PORT]
ARGS:
OPTIONS: -b, --bind-address
Bind address [env: RATTICEBINDADDR=] [default: ::]-d, --docroot <DOCROOT>
Specify document root directory [env: RATTICE_DOCROOT=]
-u, --username <USERNAME>
Username for Basic Authentication [env: RATTICE_USER]
-p, --password <PASSWORD>
Password for Basic Authentication [env: RATTICE_PASS]
-r, --random-credencial <LENGTH>
Generate random username and/or password with given length
-s, --server-cert <SERVER_CERT>
Server certificate for HTTPS [env: RATTICE_SERVER_CERT=]
-k, --server-key <SERVER_KEY>
Server key for HTTPS [env: RATTICE_SERVER_KEY=]
-t, --title-prefix <TITLE_PREFIX>
Prefix for HTML title tag [env: RATTICE_TITLE_PREFIX=] [default: Rattice]
FLAGS: -e, --eager Disable lazy image loading [env: RATTICEEAGER=] -x, --use-real-ip Use X-Real-IP as client address in logs [env: RATTICEUSEREALIP=] -v, --verbose Increase log level (-v, -vv, -vvv, -vvvv) -h, --help Print help information -V, --version Print version information ```