2 releases

0.7.1 Mar 21, 2023
0.7.0 Mar 16, 2023
0.6.0 Mar 16, 2023
0.5.0 Mar 16, 2023
0.1.0 Mar 14, 2023

#34 in #internet

Download history 40/week @ 2024-02-25 2/week @ 2024-03-03 9/week @ 2024-03-10 59/week @ 2024-03-31

68 downloads per month

MIT license

15KB
125 lines

fkget

fkget download files from the internet and S3

To be Added support for GCS, Azure Blob Storage, and FTP

Usage

fkget is a simple library for downloading files using reqwest. It is designed to be used in a multithreaded environment.

Example

use fkget::fk_get;
#[tokio::main]
async fn main() {
    let url = "https://speed.hetzner.de/100MB.bin".to_string();
    fk_get::download_file(&url).await.unwrap();
    
    //Download S3 file 
    url =  "s3://bucket/key".to_string();
    fk_get::download_file(&url).await.unwrap();
}


Downloading a file

fkget https://speed.hetzner.de/100MB.bin

Downloading a file from S3 Endopoint

fkget  s3://bucket/jeykey

License

MIT

Contribution

https://8gwifi.org


lib.rs:

A simple library for downloading files using reqwest.

Dependencies

~13–28MB
~427K SLoC