Skip to content
/ Squid Public

🦑 An http getter & speed tester CLI

Notifications You must be signed in to change notification settings

mtxrii/Squid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Squid CLI

A little utility to grab content from the web, as well as profile websites.

HTTP GET (url command)

Sends a GET request to specified link. In this case, a request was sent to linktree.edavalos.com/links

Ping (profile command)

Sends a specified ammount of requests to a website, returning the delay for each one and packet sizes. Below are some example results.

Results from a small website: linktree.edavalos.com
Results from a medium website: google.com
Results from a large website: github.com/mtxrii
Results from an invalid url

Usage & Compilation

To compile this yourself, you'll need Go.

Once installed, navigate to the root directory and run

go build

Alternatively you can use the makefile. If you have GNU/Make or are on Unix, simply run

make

Help

There are three commands:

  • squid url <full url> - sends a get request and prints the results
  • squid profile <ammount> <full url> - sends specified number of requests to specified url and profiles speeds
  • squid help (cmd) - pulls up help menu

About

🦑 An http getter & speed tester CLI

Resources

Stars

Watchers

Forks