An example file proxy server implementation with Axum and Rust
It proxy the files from the OpenBangla Keyboard's 2.0.0 version releases and provides the endpoint /file/{file_name}
to download the named file from it.
cargo run
wget http://0.0.0.0:3000/file/OpenBangla-Keyboard_2.0.0-ubuntu20.04.deb
which will proxy the download from https://github.com/OpenBangla/OpenBangla-Keyboard/releases/download/2.0.0/OpenBangla-Keyboard_2.0.0-ubuntu20.04.deb
- Axum
0.7
- Reqwest
0.12
- Tokio
1