Check your internet speed right from your terminal. Built on GOlang using chromedp

Overview

adhocore/fast

A GO lang command line tool to check internet speed right from the terminal.

Uses fast.com through headless chrome.

Prerequistie

Chrome browser must be installed. chromedp will try to locate the chrome executable automatically from these paths.

If you get error regarding chrome availability, and you have chrome in custom path then check Troubleshooting.

Usage

Install fast:

go get github.com/adhocore/fast/cmd/fast

Finally, make sure $GOPATH or $HOME/go/bin is in your $PATH or %path%, then run:

fast

Wait a while or Ctrl+C if you can't. That's all.

Screen

FAST

Troubleshooting

In MacOS, you can do something like this:

echo '#!/bin/sh\n\n/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome $@' > /usr/local/bin/chrome

chmod +x /usr/local/bin/chrome

In other OS, you can do something equivalent to above. The idea is chrome command should point to Chrome Browser.

You might also like...
Prototype pollution scanner using headless chrome
Prototype pollution scanner using headless chrome

plution Prototype pollution scanner using headless chrome What this is Plution is a convenient way to scan at scale for pages that are vulnerable to c

siusiu (suite-suite harmonics) a suite used to manage the suite, designed to free penetration testing engineers from learning and using various security tools, reducing the time and effort spent by penetration testing engineers on installing tools, remembering how to use tools.
siusiu (suite-suite harmonics) a suite used to manage the suite, designed to free penetration testing engineers from learning and using various security tools, reducing the time and effort spent by penetration testing engineers on installing tools, remembering how to use tools.

siusiu (suite-suite harmonics) a suite used to manage the suite, designed to free penetration testing engineers from learning and using various security tools, reducing the time and effort spent by penetration testing engineers on installing tools, remembering how to use tools.

Snapshot - snapshot provides a set of utility functions for creating and loading snapshot files for using snapshot tests.

Snapshot - snapshot provides a set of utility functions for creating and loading snapshot files for using snapshot tests.

Test your command line interfaces on windows, linux and osx and nodes viá ssh and docker

Commander Define language independent tests for your command line scripts and programs in simple yaml files. It runs on windows, osx and linux It can

Test your code without writing mocks with ephemeral Docker containers 📦 Setup popular services with just a couple lines of code ⏱️ No bash, no yaml, only code 💻

Gnomock – tests without mocks 🏗️ Spin up entire dependency stack 🎁 Setup initial dependency state – easily! 🏭 Test against actual, close to product

Record and replay your HTTP interactions for fast, deterministic and accurate tests

go-vcr go-vcr simplifies testing by recording your HTTP interactions and replaying them in future runs in order to provide fast, deterministic and acc

A Go library help testing your RESTful API application

RESTit A Go micro-framework to help writing RESTful API integration test Package RESTit provides helps to those who want to write an integration test

Automatically update your Go tests

autogold - automatically update your Go tests autogold makes go test -update automatically update your Go tests (golden files and Go values in e.g. fo

A next-generation testing tool. Orion provides a powerful DSL to write and automate your acceptance tests

Orion is born to change the way we implement our acceptance tests. It takes advantage of HCL from Hashicorp t o provide a simple DSL to write the acceptance tests.

Releases(v1.3.0)
  • v1.3.0(Nov 2, 2022)

    Features

    • Add fast as root pkg (Jitendra Adhikari)

    Bug Fixes

    • Cmd: Import path (Jitendra Adhikari)

    Internal Refactors

    • Remove internal (Jitendra Adhikari)

    Documentations

    • Update docs with usage/integration (Jitendra Adhikari)

    @adhocore #10

    Source code(tar.gz)
    Source code(zip)
  • v1.2.0(Oct 24, 2022)

    What's Changed

    • Use spinner from adhocore/chin by @adhocore in https://github.com/adhocore/fast/pull/8

    Full Changelog: https://github.com/adhocore/fast/compare/v1.1.0...v1.2.0

    Source code(tar.gz)
    Source code(zip)
  • v1.1.0(Oct 18, 2022)

    What's Changed

    • feat: support fallback browser paths with brave by @adhocore in https://github.com/adhocore/fast/pull/6

    Full Changelog: https://github.com/adhocore/fast/compare/v1.0.0...v1.1.0

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Oct 16, 2022)

    What's Changed

    • chore(deps): bump chromedp and cdproto by @adhocore in https://github.com/adhocore/fast/pull/4

    Full Changelog: https://github.com/adhocore/fast/compare/v0.2.0...v1.0.0

    Source code(tar.gz)
    Source code(zip)
  • v0.2.0(May 6, 2021)

    Features

    • Cmd.fast: Add flag for upload speed, show spinner (Jitendra Adhikari) c897efa

    Internal Refactors

    • Internal.fast: Make upload speed optional, extract output func (Jitendra Adhikari) 83290fc

    Miscellaneous

    • Workflows: Add lint action (Jitendra Adhikari) ccc380a
    • Main: Do not show upload speed in default (Jitendra Adhikari) d345faa
    Source code(tar.gz)
    Source code(zip)
  • v0.1.1(May 4, 2021)

  • v0.1.0(Apr 13, 2021)

    Features

    • Cmd.fast: Add cmd/fast (Jitendra Adhikari) a6803e9
    • Internal.fast: Add fast.Run() (Jitendra Adhikari) 5acbf18
    • Add main (Jitendra Adhikari) 1e26330

    Internal Refactors

    • Split fast.Run() (Jitendra Adhikari) 8d77bf9
    • Main: Cleanup, use internal/fast instead (Jitendra Adhikari) 0252e6b

    Miscellaneous

    • Bump timeout to 3min (Jitendra Adhikari) 7d718c1
    • Docs: Chrome setup is not mandatory and not generally required (Jitendra Adhikari) 5326632
    • Add license (Jitendra Adhikari) e8e2ff3
    • Go mod tidy (Jitendra Adhikari) 9295c34
    • Deps: Add deps (Jitendra Adhikari) 2edc54e
    • Init style config (Jitendra Adhikari) 6f82ef0

    Documentations

    • Add wsl troubleshooting (Jitendra Adhikari) 1cd4c3a
    • Add readme (Jitendra Adhikari) 712de31
    Source code(tar.gz)
    Source code(zip)
Owner
Jitendra Adhikari
ISTJ. Thinker. Solver. Creator.
Jitendra Adhikari
A simple mock server configurable via JSON, built using GoLang.

GoMock Server A simple mock server configurable via JSON, built using GoLang. How To A file name endpoint.json must be placed in the context root, wit

Miguel Alexandre 2 Nov 19, 2022
Simple Golang Load testing app built on top of vegeta

LOVE AND WAR : Give Your App Love By Unleashing War Simple load testing app to test your http services Installation Build docker image: docker build -

Raymond Gitonga 1 Oct 26, 2021
Hive-fleet: a distributed, scalable load-testing tool built in go that leverages Google Cloud Functions

hive-fleet hive-fleet is a distributed, scalable load-testing tool, built on top

Cristian Glavan 5 Jan 27, 2022
go-carpet - show test coverage in terminal for Go source files

go-carpet - show test coverage for Go source files To view the test coverage in the terminal, just run go-carpet. It works outside of the GOPATH direc

Sergey Mudrik 234 Jan 8, 2023
Testcoverage analyzis in you terminal.

test coverage analysis in your terminal

Kjell Kvinge 23 Aug 26, 2022
Plow is a high-performance HTTP benchmarking tool with real-time web UI and terminal displaying

Plow is a HTTP(S) benchmarking tool, written in Golang. It uses excellent fasthttp instead of Go's default net/http due to its lightning fast performance.

ddc 3.3k Jan 9, 2023
Terminal application used for API testing

Easily create, manage and execute http requests from the terminal.

PierreKieffer 66 Dec 20, 2022
An example of using Oracle DB with Golang

Golang Oracle DB Example This is a small example of connect and use Oracle DB in Golang Container Database: Username: SYS Role: SYSDBA Password: Orado

Lê Tuấn Anh 3 Nov 22, 2022
A bytecode-based virtual machine to implement scripting/filtering support in your golang project.

eval-filter Implementation Scripting Facilities Types Built-In Functions Conditionals Loops Functions Case/Switch Use Cases Security Denial of service

Steve Kemp 93 Jan 8, 2023
Robust framework for running complex workload scenarios in isolation, using Go; for integration, e2e tests, benchmarks and more! 💪

e2e Go Module providing robust framework for running complex workload scenarios in isolation, using Go and Docker. For integration, e2e tests, benchma

null 143 Jan 5, 2023