{"id":13581912,"url":"https://github.com/adhocore/fast","last_synced_at":"2025-04-06T23:17:24.912Z","repository":{"id":52171785,"uuid":"354265638","full_name":"adhocore/fast","owner":"adhocore","description":"Check your internet speed/bandwidth right from your terminal. Built on Golang using chromedp","archived":false,"fork":false,"pushed_at":"2024-10-20T14:50:54.000Z","size":81,"stargazers_count":85,"open_issues_count":1,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T21:11:20.068Z","etag":null,"topics":["adhocore","benchmark","chrome","chrome-browser","chrome-headless","chromedp","fast","go","golang","hacktoberfest","internet-speed","internet-speed-checker","speed-checker"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adhocore.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"adhocore","custom":["https://paypal.me/ji10"]}},"created_at":"2021-04-03T10:46:17.000Z","updated_at":"2025-02-15T23:27:07.000Z","dependencies_parsed_at":"2024-06-18T20:00:31.430Z","dependency_job_id":"2455d273-3fcb-43d6-8061-aa1ac404cf15","html_url":"https://github.com/adhocore/fast","commit_stats":{"total_commits":49,"total_committers":2,"mean_commits":24.5,"dds":"0.24489795918367352","last_synced_commit":"d0b6ae1cb8e5d8ee28ec685621102ff405a9c733"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Ffast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Ffast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Ffast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Ffast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adhocore","download_url":"https://codeload.github.com/adhocore/fast/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247563939,"owners_count":20958971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adhocore","benchmark","chrome","chrome-browser","chrome-headless","chromedp","fast","go","golang","hacktoberfest","internet-speed","internet-speed-checker","speed-checker"],"created_at":"2024-08-01T15:02:18.964Z","updated_at":"2025-04-06T23:17:24.892Z","avatar_url":"https://github.com/adhocore.png","language":"Go","funding_links":["https://github.com/sponsors/adhocore","https://paypal.me/ji10","https://www.paypal.me/ji10/15usd","https://www.paypal.me/ji10/25usd","https://www.paypal.me/ji10/50usd"],"categories":["Go","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# adhocore/fast\n\n[![Go Report](https://goreportcard.com/badge/github.com/adhocore/fast)](https://goreportcard.com/report/github.com/adhocore/fast)\n[![Lint](https://github.com/adhocore/fast/actions/workflows/lint-action.yml/badge.svg)](https://github.com/adhocore/fast/actions/workflows/lint-action.yml)\n[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Golang+tool+to+check+internet+speed+right+from+the+terminal\u0026url=https://github.com/adhocore/fast\u0026hashtags=golang,terminal,cli,speed-check,fast)\n[![Support](https://img.shields.io/static/v1?label=Support\u0026message=%E2%9D%A4\u0026logo=GitHub)](https://github.com/sponsors/adhocore)\n\u003c!-- [![Donate 15](https://img.shields.io/badge/donate-paypal-blue.svg?style=flat-square\u0026label=donate+15)](https://www.paypal.me/ji10/15usd)\n[![Donate 25](https://img.shields.io/badge/donate-paypal-blue.svg?style=flat-square\u0026label=donate+25)](https://www.paypal.me/ji10/25usd)\n[![Donate 50](https://img.shields.io/badge/donate-paypal-blue.svg?style=flat-square\u0026label=donate+50)](https://www.paypal.me/ji10/50usd) --\u003e\n\n\nA GO lang command line tool to check internet speed right from the terminal.\n\n\u003e Uses [fast.com](https://fast.com) through headless chrome.\n\n## Prerequistie\n\nChrome or Chromium or Brave browser must be installed. **`chromedp`** will try to locate the chrome executable automatically from these [paths](https://github.com/chromedp/chromedp/blob/master/allocate.go#L334-L352).\n\n\u003e If you get error regarding chrome availability, and you have chrome in custom path then check [Troubleshooting](#troubleshooting).\n\n## Usage\n\nInstall `fast` binary:\n```sh\ngo get -u github.com/adhocore/fast/cmd/fast\n```\n\u003e or in recent go versions:\n```\ngo install github.com/adhocore/fast/cmd/fast@v1.2.0\n```\n\nFinally, make sure `$GOPATH` or `$HOME/go/bin` is in your `$PATH` or `%path%`, then run:\n```sh\nfast\n\n# if you just want download speed (pass -noup aka no upload speed)\nfast -noup\n```\n\nWait a while or `Ctrl+C` if you can't. That's all.\n\n### Integration\n\nYou can also integrate `fast` in your Go projects.\n\n```go\nimport (\n    \"github.com/adhocore/chin\"\n    \"github.com/adhocore/fast\"\n)\n\n// true if you want only download speed\nnoUpload := false\n\n// Optional, shows a spinner while waiting result,\nspin := chin.New()\ngo spin.Start()\n\n// Prints the output right away:\nfast.Run(noUpload)\n\n// OR, to customize print style:\nres, err := fast.Measure(noUpload)\n// Then use res (`fast.Fast` struct) to print in custom style.\n\n// Stop the spinner finally!\nspin.Stop()\n```\n\n## Screen\n\n![FAST](./assets/usage.png)\n\n## Troubleshooting\n\nIn **MacOS**, you can do something like this:\n\n```sh\necho '#!/bin/sh\\n\\n/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome $@' \u003e /usr/local/bin/chrome\n\nchmod +x /usr/local/bin/chrome\n```\n\nIn **WSL**, you can symlink chrome from host WinOS like this:\n```sh\nsudo ln -s /mnt/c/Program\\ Files/Google/Chrome/Application/chrome.exe /usr/local/bin/chrome\n```\n\nIn other OS, you can do something equivalent to above. The idea is `chrome` command should point to **Chrome Browser**.\n\n---\n### Other projects\nMy other golang projects you might find interesting and useful:\n\n- [**gronx**](https://github.com/adhocore/gronx) - Lightweight, fast and dependency-free Cron expression parser (due checker), task scheduler and/or daemon for Golang (tested on v1.13 and above) and standalone usage.\n- [**urlsh**](https://github.com/adhocore/urlsh) - URL shortener and bookmarker service with UI, API, Cache, Hits Counter and forwarder using postgres and redis in backend, bulma in frontend; has [web](https://urlssh.xyz) and cli client\n- [**goic**](https://github.com/adhocore/goic) - Go Open ID Connect, is OpenID connect client library for Golang, supports the Authorization Code Flow of OpenID Connect specification.\n- [**chin**](https://github.com/adhocore/chin) - A GO lang command line tool to show a spinner as user waits for some long running jobs to finish.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadhocore%2Ffast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadhocore%2Ffast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadhocore%2Ffast/lists"}