Tired of manually forming a proxy string every time you use curl? CurlMate simplifies the process by converting your proxy string into a curl command and executing it with a single command.
I am so tired of manually forming a proxy string every time I use curl to make a request.
Instead of repeatedly crafting your proxy strings for curl, just pass your proxy details to CurlMate, and it does the rest!
Invoke-WebRequest -Uri "https://d2qy48d1h0e7ws.cloudfront.net/curlmate/windows/curlmate.exe" -OutFile "$env:USERPROFILE\curlmate.exe"; $env:PATH += ";$env:USERPROFILE"; [System.Environment]::SetEnvironmentVariable("Path", "$env:PATH;$env:USERPROFILE", [System.EnvironmentVariableTarget]::User)sudo curl -o /usr/local/bin/curlmate "https://d2qy48d1h0e7ws.cloudfront.net/curlmate/macos/curlmate" && sudo chmod +x /usr/local/bin/curlmate && echo 'export PATH=$PATH:/usr/local/bin' >> ~/.bash_profile && source ~/.bash_profilecurl -o /usr/local/bin/curlmate "https://d2qy48d1h0e7ws.cloudfront.net/curlmate/linux/curlmate" && chmod +x /usr/local/bin/curlmate && echo 'export PATH=$PATH:/usr/local/bin' >> ~/.bashrc && source ~/.bashrcCurlMate supports multiple proxy formats and types, making it flexible for different use cases.
curlmate <proxy-string>CurlMate automatically detects and parses various proxy string formats:
curlmate proxy.example.com:8080curlmate proxy.example.com:8080:username:passwordcurlmate username:password@proxy.example.com:8080curlmate http://proxy.example.com:8080
curlmate https://username:password@proxy.example.com:8443curlmate socks4://proxy.example.com:1080
curlmate socks5://username:password@proxy.example.com:1080- HTTP (default)
- HTTPS
- SOCKS4
- SOCKS5
When you run CurlMate, it will form and execute the curl command:
curl --proxy http://username:password@proxy.example.com:8080 https://ipinfo.ioThe command will display your IP information through the specified proxy.
This project is open-source and available under the MIT License. Feel free to use, modify, and share!