#open #proxy #checker #validation #free-proxies

bin+lib open_proxies

Simple and fast proxy checker that include protocol validation

2 releases

0.1.1 Nov 15, 2022
0.1.0 Nov 3, 2022

#17 in #validator

Download history 27/week @ 2024-02-14 21/week @ 2024-02-21 15/week @ 2024-02-28 2/week @ 2024-03-06 3/week @ 2024-03-13

68 downloads per month

Apache-2.0

39KB
706 lines

Open Proxies

⭐️ Leave me a start please ⭐️

it will motivate me to continue maintaining and adding futures

Github top language Github language count Repository size License Crates.io

About   |   Technologies   |   Requirements   |   Starting   |   lib Usage   |   exec Usage   |   License   |   Author


🎯 About

Simple and fast proxy checker that include protocol validation;

🚀 Technologies

The following tools were used in this project:

✅ Requirements

Before starting 🏁, you need to have Git and Rust installed.

🏁 Starting

# install using cargo:
$ cargo install open_proxies
# install manualy:
$ curl https://github.com/KM8Oz/open_proxies/archive/refs/tags/[binary]

✅ lib_Usage

   use open_proxies::{compute_proxy, readfile}
   #[tokio::main]
   async fn main(){
    let proxies = readfile("./socks5.txt".into(), ).await;
    if proxies.is_some() {
        println!("🔥 start computing! 🔥");
        for proxie in proxies.unwrap() {
            let is_valid = compute_proxy(proxie.clone(), 1, 2).await;
            println!("{:?}", is_valid);
        }
    }
   }

✅ exec_Usage

Usage: open_proxies [OPTIONS] --input <FILENAME>

Options:
  -i, --input <FILENAME>  TXT file path where proxies ready to be parsed
  -o, --out <FILENAME>    file path where live proxies will be saved [default: live.txt]
  -t, --timeout <NUMBER>  single proxy compute iteration timeout in seconds [default: 2]
  -n, --threads <NUMBER>  threads number used for proxies computing [default: 10]
  -r, --retrys <NUMBER>   how many time a single proxy will be tested (>=1) [default: 2]
  -h, --help              Print help information
  -V, --version           Print version information

USAGE:
  -a <example1>      open_proxies -i ./socks.txt -o ./live.txt -t 2 -r 2 -n 10
  -b <example2>      open_proxies -i ./socks.txt -o ./live.txt

 

📝 License

This project is under license from MIT. For more details, see the LICENSE file.

Made with ❤️ by @KM8Oz

  Back to top

Dependencies

~20–35MB
~607K SLoC