Speeedy is a SpeedTest Telegram bot. Speedtest only runs on the machine it is installed on. Speedtest can also be run routinely with Job.
I developed this bot because I was curious about the performance of the my ISP.
- Go 1.13+
- Vgo (Go Module)
- Telegram
- SpeedTest Cli
- Create a telegram bot with BotFather and get token of created bot.
- Download SpeedTest CLI and moves to the project directory.
- Set required environment variables and path
$ cd $GOPATH/src
$ mkdir github.com
$ cd github.com
$ git clone [email protected]:faoztas/speeedy.git
$ cd speeedy # config.toml template is filled. Moves to the project directory.
$ export GO111MODULE=on # manually active module mode
$ go mod init # manually e.g., $ go mod init github.com/my/repo
$ go mod tidy # This command allows you to fetch all the dependencies that you need for testing in your module.
$ go build -o speeedy # Or $ go run .
$ ./speeedy
If you want to Speed Test please write /test.
/test # default basic test
/test details # speed test with extras argument
/test image # send image with speed test
/test server 1234 # speed test with specific server
If you want to learn Server List please write /servers.
/servers # nearly 10 speedtest server
If you want to learn Past test results please write /last.
/last # last result
/last 5 # last 5 results
/best # best result
/worst # worst result