{"id":25098226,"url":"https://github.com/antosser/speedtest","last_synced_at":"2025-04-02T04:10:14.537Z","repository":{"id":220051450,"uuid":"750609373","full_name":"Antosser/speedtest","owner":"Antosser","description":"Rust-based network speed testing tool between two computers","archived":false,"fork":false,"pushed_at":"2024-09-25T18:37:06.000Z","size":52,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T23:46:25.788Z","etag":null,"topics":["bandwidth","blazingly-fast","cli","cross-platform","rust","socket","speed","speedtest","tcp","test"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/speedtest","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Antosser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-01-31T00:47:56.000Z","updated_at":"2024-12-29T15:43:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6092298-f75e-4441-b970-57a1cd0c88c0","html_url":"https://github.com/Antosser/speedtest","commit_stats":null,"previous_names":["antosser/speedtest"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antosser%2Fspeedtest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antosser%2Fspeedtest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antosser%2Fspeedtest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antosser%2Fspeedtest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Antosser","download_url":"https://codeload.github.com/Antosser/speedtest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246752657,"owners_count":20827987,"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":["bandwidth","blazingly-fast","cli","cross-platform","rust","socket","speed","speedtest","tcp","test"],"created_at":"2025-02-07T18:30:43.908Z","updated_at":"2025-04-02T04:10:14.531Z","avatar_url":"https://github.com/Antosser.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Speedtest 🚀\n\nSpeedtest is a Rust-based 🦀 command-line utility designed for measuring network speed between two computers. It provides two subcommands: `serve` and `test`, allowing users to set up a server on one machine and perform network speed tests from another machine.\n\n## Installation 📩\n\nTo install Speedtest, use the following command:\n\n```bash\ncargo install speedtest\n```\n\n## Usage 🎯\n\n```\nRust-based network speed testing tool between two computers\n\nUsage: speedtest \u003cCOMMAND\u003e\n\nCommands:\n  serve  Listen to incoming TCP connections on the given socket address\n  test   Connect to a TCP server with the given socket address\n  help   Print this message or the help of the given subcommand(s)\n\nOptions:\n  -h, --help     Print help\n  -V, --version  Print version\n```\n\n### Serve\n\n```\nListen to incoming TCP connections on the given socket address\n\nUsage: speedtest serve \u003cSOCKET\u003e\n\nArguments:\n  \u003cSOCKET\u003e  Socket address\n\nOptions:\n  -h, --help  Print help\n```\n\n### Test\n\n```\nConnect to a TCP server with the given socket address\n\nUsage: speedtest.exe test [OPTIONS] \u003cSOCKET\u003e\n\nArguments:\n  \u003cSOCKET\u003e  Socket address\n\nOptions:\n  -l, --length \u003cLENGTH\u003e  How much bytes to send to the server [default: 10MB]\n  -h, --help             Print help\n```\n\n## Examples 📄\n\n1. Set up a server on one computer:\n\n```bash\nspeedtest serve 127.0.0.1:8080\n```\n\n2. Run a speed test from another computer (by sending 100 MB (Megabytes)):\n\n```bash\nspeedtest test 127.0.0.1:8080 --length 100\n```\n\n## Output 🧻\n\n### Server\n\n```bash\n~\u003e speedtest serve 0.0.0.0:1234\n2024-01-31T01:00:58.464460Z  INFO server{socket_addr=0.0.0.0:1234}: speedtest: Listening...\n2024-01-31T01:01:12.014269Z  INFO speedtest: Incoming connection\n```\n\n### Client\n\n```bash\n~\u003e speedtest test 127.0.0.1:1234 -l 100MB\n2024-01-31T01:01:12.014113Z  INFO client{socket_addr=127.0.0.1:1234 length=100}: speedtest: Stream accepted\n2024-01-31T01:01:12.014229Z  INFO client{socket_addr=127.0.0.1:1234 length=100}: speedtest: Writing data...\nTransferred data: 100 MB\nElapsed time: 123.7696ms\nTransfer speed: 807.95 MB/s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantosser%2Fspeedtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantosser%2Fspeedtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantosser%2Fspeedtest/lists"}