matveynator / gurl

CURL like utility written in pure GO (GOLANG).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

↓ Download latest version of gurl.

build gurl yourself

GOLANG version 1.11 or later is required.

git clone https://github.com/matveynator/gurl.git
cd gurl
go build
./gurl https://google.com

how to add new feature?

- 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

get gurl for LINUX/amd64:

curl -L 'http://files.matveynator.ru/gurl/latest/linux/amd64/gurl' > /usr/local/bin/gurl; chmod +x /usr/local/bin/gurl;

get gurl for LINUX/386:

curl -L 'http://files.matveynator.ru/gurl/latest/linux/386/gurl' > /usr/local/bin/gurl; chmod +x /usr/local/bin/gurl;

get gurl for MAC/amd64:

curl -L 'http://files.matveynator.ru/gurl/latest/mac/amd64/gurl' > /usr/local/bin/gurl; chmod +x /usr/local/bin/gurl;

get gurl for MAC/386:

curl -L 'http://files.matveynator.ru/gurl/latest/mac/386/gurl' > /usr/local/bin/gurl; chmod +x /usr/local/bin/gurl;

Check all precompiled versions here . There are a lot! :)

aix/ppc64/gurl

android/arm64/gurl

dragonfly/amd64/gurl

freebsd/386/gurl

freebsd/amd64/gurl

freebsd/arm/gurl

freebsd/arm64/gurl

illumos/amd64/gurl

ios/amd64/gurl

linux/386/gurl

linux/amd64/gurl

linux/arm/gurl

linux/arm64/gurl

linux/mips/gurl

linux/mips64/gurl

linux/mips64le/gurl

linux/mipsle/gurl

linux/ppc64/gurl

linux/ppc64le/gurl

linux/s390x/gurl

linux/riscv64/gurl

mac/amd64/gurl

mac/arm64/gurl

mac/386/gurl

netbsd/386/gurl

netbsd/amd64/gurl

netbsd/arm/gurl

netbsd/arm64/gurl

openbsd/386/gurl

openbsd/amd64/gurl

openbsd/arm/gurl

openbsd/arm64/gurl

openbsd/mips64/gurl

plan9/386/gurl

plan9/amd64/gurl

plan9/arm/gurl

solaris/amd64/gurl

windows/386/gurl.exe

windows/amd64/gurl.exe

windows/arm/gurl.exe

windows/arm64/gurl.exe

and some other versions...

About

CURL like utility written in pure GO (GOLANG).


Languages

Language:Go 71.9%Language:Shell 28.1%