gurl is a curl-like utility written in pure GO (GOLang), with embedded SSL support and no external libraries.
/usr/local/bin/gurl --help
Usage of /usr/local/bin/gurl:
-head
Perform HEAD request.
-lang string
Set Accept-Language header, for example: -lang en-US
-proxy string
Set http/https/socks5 proxy 'type://host:port', example: -proxy 'socks5://127.0.0.1:3128' -proxy 'http://127.0.0.1:8080'
-timeout duration
Set connect and operation timeout. Valid time units are: ns, us or µs, ms, s, m, h. (default 30s)
-unsafe
Disable strict TLS certificate checking.
-useragent string
Set user agent. (default "GURL (https://github.com/matveynator/gurl)")
-version
Output version information.
- Supported OS: Linux, Windows, Android, Mac, IOS, FreeBSD, DragonflyBSD, OpenBSD, NetBSD, Plan9, AIX, Solaris, Illumos.
- Supported architectures: x86-32, x86-64, ARM, ARM64, MIPS64, MIPS64le, MIPS, MIPSLE, PPC64, PPC64le, RISCv64, s390x.
GOLANG version 1.11 or later is required.
git clone https://github.com/matveynator/gurl.git
cd gurl
go build
./gurl https://google.com
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Added some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
curl -L 'http://files.matveynator.ru/gurl/latest/linux/amd64/gurl' > /usr/local/bin/gurl; chmod +x /usr/local/bin/gurl;
curl -L 'http://files.matveynator.ru/gurl/latest/linux/386/gurl' > /usr/local/bin/gurl; chmod +x /usr/local/bin/gurl;
curl -L 'http://files.matveynator.ru/gurl/latest/mac/amd64/gurl' > /usr/local/bin/gurl; chmod +x /usr/local/bin/gurl;
curl -L 'http://files.matveynator.ru/gurl/latest/mac/386/gurl' > /usr/local/bin/gurl; chmod +x /usr/local/bin/gurl;