Skip to content

Venomen/ttfb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ttfb

tool in golang for testing website speed and body & headers search

Description

After using over and over "while curl" loops, I made simple equivalent in go. You don't have to use Web Browser with Debug, curl or some other networking stuff. Just for fun and making life easier ;-)

Instalation

  • go version: 1.14.5
  • get it: go get github.com/Venomen/ttfb
  • install it: go install github.com/Venomen/ttfb
  • link it: ln -s ~/go/bin/ttfb /usr/local/bin/ttfb

Usage

  • run from your ~/go/bin/ttfb or after symlink just ttfb
  • remember to edit your ~/.ttfbEnv file (1st install will copy default conf)
  • config options:

"url" - provide url for testing, with http:// or https://
"search" - you can grep some data in Header & Body from your request (wildcards available)

Functions

  • http client
  • dot .env configuration
  • cli for config options
  • measuring connection speed; time to first byte

About

go tool for testing website speed and body&headers search

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages