Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
software:esgtools [2020/01/15 08:52] eServices Greece |
software:esgtools [2021/11/16 21:26] (current) eServices Greece |
====== esgtools ====== | ====== esgtools ====== |
| |
==== Goals ==== | ===== Goals ===== |
esgt is a cli multi tool used internally by eSGR but will work on any standard environment. Please note that some functions (profiles for example) will work best on the eSGR Standard Image 2014 & 2017 & 2020 based in centos 6.9, 7.7 and 8.0 respectively. | esgt is a cli multi tool used internally by eSGR but will work on any standard environment. Please note that some functions (profiles for example) will work best on the eSGR Standard Image 2014 & 2017 & 2020 based in centos 6.9, 7.7 and 8.0 respectively. |
| |
=== Options === | ==== Options ==== |
* compress - Compress/Uncompress between, Snappy, S2, ZStandard, gzip, zlib, zip, Brotli | * compress - Compress/Uncompress between, Snappy, S2, ZStandard, gzip, zlib, zip, Brotli |
* filetype - Will try to identify a file type | * filetype - Will try to identify a file type |
* maintenance - Update esgtools to the latest version | * maintenance - Update esgtools to the latest version |
* minify - Minify CSS, HTML, JS, JSON, SVG, XML | * minify - Minify CSS, HTML, JS, JSON, SVG, XML |
* network - Network Related Tools (Check Internet Access, Monitor DHCP Leases) | * network - Network Related Tools |
* profiles - Install esg profiles for selected apps (vim, tmux) | * Check Internet Access |
* versions - Retrieve version & download link for applications (go, php, nginx, rust) | * Monitor DHCP Leases |
* web - Web Tools (advertising tags, headers, max protocol, site size(experimental)) | * ARP Scan |
| * NTP Client |
| * Download Files |
| * profiles - Install esg profiles for selected apps |
| * vim |
| * tmux |
| * versions - Retrieve version, download link and download any of |
| * go |
| * php |
| * nginx |
| * rust |
| * web - Web Tools |
| * advertising tags |
| * headers |
| * max protocol |
| * site size(experimental) |
| |
== profiles options == | === profiles options === |
* vim - Install the eSG vim profile | * vim - Install the eSG vim profile |
* tmux - Install the eSG tmux profile | * tmux - Install the eSG tmux profile |
| |
== web Options == | === web Options === |
* size - Will calculate website size | * size - Will calculate website size |
* headers - Will dump all http headers from a url | * headers - Will dump all http headers from a url |
* http - Detect http protocol | * http - Detect http protocol |
| |
== install Options == | === install Options === |
* tools - Will install esgtools to /usr/local/bin (v0.6.3+) | * tools - Will install esgtools to /usr/local/bin (v0.6.3+) |
| |
=== Download & Installation === | ==== Download & Installation ==== |
The tool doesn't require any installation just use the following to download it. | The tool doesn't require any installation just use the following to download it. |
| |
| Since **2020-10-31** we only offer windows and linux amd64 builds on each release. All other downloads are older versions of the app. |
| |
| All downloads were last updated on: **2021-11-16** excluding some that are not possible to build anymore (ex darwin/386). |
| |
<sortable> | <sortable> |
^ OS ^ x64 ^ x86 ^ arm ^ arm64 ^ ppc64 ^ ppc64le ^ mips ^ mips64 ^ mipsle ^ mips64le ^ s390x ^ | ^ OS ^ x64 ^ x86 ^ arm ^ arm64 ^ ppc64 ^ ppc64le ^ mips ^ mips64 ^ mipsle ^ mips64le ^ s390x ^ riscv ^ riscv64 ^ |
| Linux | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_amd64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_386|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_arm|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_arm64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_ppc64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_ppc64le|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_mips|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_mips64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_mipsle|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_mips64le|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_s390x|Download]] | | | Linux | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_amd64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_386|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_arm|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_arm64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_ppc64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_ppc64le|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_mips|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_mips64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_mipsle|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_mips64le|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_s390x|Download]] | | [[https://tools.eservices-greece.net/download.php?f=esgt_linux_riscv64|Download]] | |
| Windows | [[https://tools.eservices-greece.net/download.php?f=esgt_windows_amd64.exe|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_windows_386.exe|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_windows_arm.exe|Download]] | | | Windows | [[https://tools.eservices-greece.net/download.php?f=esgt_windows_amd64.exe|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_windows_386.exe|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_windows_arm.exe|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_windows_arm64.exe|Download]] | |
| OS X | [[https://tools.eservices-greece.net/download.php?f=esgt_darwin_amd64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_darwin_386|Download]] | | | OS X | [[https://tools.eservices-greece.net/download.php?f=esgt_darwin_amd64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_darwin_386|Download]] | | [[https://tools.eservices-greece.net/download.php?f=esgt_darwin_arm64|Download]] | |
| FreeBSD | [[https://tools.eservices-greece.net/download.php?f=esgt_freebsd_amd64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_freebsd_386|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_freebsd_arm|Download]] | | | FreeBSD | [[https://tools.eservices-greece.net/download.php?f=esgt_freebsd_amd64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_freebsd_386|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_freebsd_arm|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_freebsd_arm64|Download]] | |
| Dragonfly | | | Dragonfly | |
| NetBSD | | | NetBSD | |
| openBSD | [[https://tools.eservices-greece.net/download.php?f=esgt_openbsd_amd64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_openbsd_386|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_openbsd_arm|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_openbsd_arm64|Download]] | | | openBSD | [[https://tools.eservices-greece.net/download.php?f=esgt_openbsd_amd64|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_openbsd_386|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_openbsd_arm|Download]] | [[https://tools.eservices-greece.net/download.php?f=esgt_openbsd_arm64|Download]] | | | | [[https://tools.eservices-greece.net/download.php?f=esgt_openbsd_mips64|Download]] | |
| Android | | | Android | | | | [[https://tools.eservices-greece.net/download.php?f=esgt_android_arm64|Download]] | |
| Plan 9 | | | Plan 9 | |
| Solaris | | | Solaris | |
<sxh>curl -L https://tools.eservices-greece.net/download.php?f=esgt_linux_amd64 -o esgt;chmod +x esgt</sxh> | <sxh>curl -L https://tools.eservices-greece.net/download.php?f=esgt_linux_amd64 -o esgt;chmod +x esgt</sxh> |
| |
=== Usage Examples === | ==== Usage Examples ==== |
| |
== Install profiles == | === Install profiles === |
<sxh>./esgt profiles vim</sxh> | <sxh>./esgt profiles vim</sxh> |
<sxh>./esgt profiles tmux</sxh> | <sxh>./esgt profiles tmux</sxh> |
| |
== hash == | === hash === |
<sxh>./esgt hash filename</sxh> | <sxh>./esgt hash filename</sxh> |
| |
== web == | === web === |
= size = | == size == |
<sxh>./esgt web size https://eservices-greece.com</sxh> | <sxh>./esgt web size https://eservices-greece.com</sxh> |
| |
= headers = | == headers == |
<sxh>./esgt web headers https://eservices-greece.com</sxh> | <sxh>./esgt web headers https://eservices-greece.com</sxh> |
| |
= tags (analytics etc) = | == tags (analytics etc) == |
<sxh>./esgt web tags https://eservices-greece.com</sxh> | <sxh>./esgt web tags https://eservices-greece.com</sxh> |
| |
= protocol = | == protocol == |
<sxh>./esgt web http https://eservices-greece.com</sxh> | <sxh>./esgt web http https://eservices-greece.com</sxh> |
| |
= minify = | == minify == |
<sxh>./esgt minify inputfilename outputfilename</sxh> | <sxh>./esgt minify inputfilename outputfilename</sxh> |
| |
== Update esgtools == | == Update esgtools == |
<sxh>./esgt maintenance -u</sxh> | <sxh>./esgt maintenance -u</sxh> |