esgtools

This is an old revision of the document!


Difficulty
Very easy

esgtools

Goals

esgtools is a cli multi tool used internally by eSG but will work on any standard environment. Please note that some functions will work best on the eSG Standard Image 2014 & 2017 based in centos 6.8 and 7 respectively.

Options

  • profiles - Install esg profiles for selected apps
  • build - Build current Go project using the eSG Build script
  • web - Web Tools
  • update - Update esgtools to the latest version
  • hash - Create fast SHA256 hash of file
  • install - Install supported applications
  • disk - TBA
  • debug - Show debug information
  • minify - Minify CSS, HTML, JS, JSON, SVG, XML
profiles options
  • vim - Install the eSG vim profile
  • tmux - Install the eSG tmux profile
web Options
  • size - Will calculate website size
  • headers - Will dump all http headers from a url
  • tags - Will detect tags like Google Analytics and AdSense
  • http - Detect http protocol
build Options
  • arch - Reports all available architectures
  • env - Will build the standardized esg environment TBA
  • filename.go - if you pass it a go project it will build it and optimize it TBA
install Options
  • tools - Will install esgtools to /usr/local/bin (v0.6.3+)
  • go - Will install Go and setup paths TBA

Installation

The tool doesn't require any installation just use the following to download it.

Linux x86
wget http://tools.eservices-greece.net/esgtools; chmod +x esgtools
Linux x64
wget http://tools.eservices-greece.net/esgtools_64; chmod +x esgtools_64

esgtools has its own page https://tools.eservices-greece.net/

Usage Examples

Install profiles

./esgtools profiles vim
./esgtools profiles tmux

File hash

./esgtools hash filename.ext

Webpage Size

./esgtools web size https://eservices-greece.com

Webpage Headers

./esgtools web headers https://eservices-greece.com

Webpage Tags (analytics etc)

./esgtools web tags https://eservices-greece.com

Webpage protocol

./esgtools web http https://eservices-greece.com

Update esgtools

./esgtools update

/home/www/sites/esgr.in/wiki/data/attic/software/esgtools.1501078105.txt.gz · Last modified: 2017/07/26 14:08 by eServices Greece