bertiqwerty / rvimage

Remote image viewer in Rust
MIT License
2 stars 1 forks source link

Add http reader #1

Closed bertiqwerty closed 1 year ago

bertiqwerty commented 2 years ago

Currently, we can load images in local folders and via ssh/scp. To load images via http, we need to add a http_reader.rs to the module reader and extend the cfg::Cfg as well as reader::ReaderFromCfg accordingly.

bertiqwerty commented 1 year ago

The current http reader is works with the server spawned by python -m http.server.