{"id":31863726,"url":"https://github.com/glory0432/speedtest-rust","last_synced_at":"2025-10-12T18:50:18.449Z","repository":{"id":250598218,"uuid":"834902244","full_name":"glory0432/speedtest-rust","owner":"glory0432","description":"LibreSpeed made by Rust","archived":false,"fork":false,"pushed_at":"2024-08-30T10:53:23.000Z","size":134,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T07:11:44.027Z","etag":null,"topics":["backend","estimation","rust","speed"],"latest_commit_sha":null,"homepage":"https://librespeed-rs.ir/","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/glory0432.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-07-28T17:29:39.000Z","updated_at":"2024-08-30T10:53:27.000Z","dependencies_parsed_at":"2025-02-21T22:42:35.918Z","dependency_job_id":null,"html_url":"https://github.com/glory0432/speedtest-rust","commit_stats":null,"previous_names":["chrischan1117/speedtest-rust","glory0432/speedtest-rust"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/glory0432/speedtest-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glory0432%2Fspeedtest-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glory0432%2Fspeedtest-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glory0432%2Fspeedtest-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glory0432%2Fspeedtest-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glory0432","download_url":"https://codeload.github.com/glory0432/speedtest-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glory0432%2Fspeedtest-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012522,"owners_count":26085134,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["backend","estimation","rust","speed"],"created_at":"2025-10-12T18:50:13.106Z","updated_at":"2025-10-12T18:50:18.435Z","avatar_url":"https://github.com/glory0432.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"![LibreSpeed Logo](https://github.com/librespeed/speedtest/blob/master/.logo/logo3.png?raw=true)\n\n# speedtest-rust\n\nNo Flash, No Java, No WebSocket, No Bullshit.\n\n## Try it\n[Take a speed test](https://librespeed-rs.ir)\n\n## Compatibility\nAll modern browsers are supported: IE11, latest Edge, latest Chrome, latest Firefox, latest Safari.\nWorks with mobile versions too.\n\n## Attributes\n- Memory safety\n- Lightweight \u0026 Low overhead\n- Low level networking\n- Based on tokio-rs (asynchronous)\n\n## Features\n- Download\n- Upload\n- Ping\n- Jitter\n- IP Address, ISP, distance from server (optional, not implemented currently)\n- Telemetry (optional)\n- Results sharing (optional)\n\n## Server requirements\n- Any [Rust supported platforms](https://doc.rust-lang.org/beta/rustc/platform-support.html)\n- PostgreSQL or MySQL database to store test results (optional)\n- A fast! Internet connection\n\n## Installation\n\n### Install using prebuilt binaries\n\n1. Download the appropriate binary file from the [releases](https://github.com/librespeed/speedtest-rust/releases/) page.\n2. Unzip the archive.\n3. Make changes to the configuration.\n4. Run the binary.\n\n### Compile from source\n\n\u003e You need Rust **1.74+** to compile project.\\\n\u003e So make sure that rust is properly installed on your system\n\n1. Clone the repository:\n\n    ```\n    $ git clone https://github.com/ChrisChan1117/speedtest-rust.git\n    ```\n\n2. Build:\n\n   ```\n   # cd to cloned directory\n   $ cargo build --release\n   ```\n\n3. Prepare files:\n\n   ```\n   # Make a new directory\n   # Copy target/release/librespeed-rs to created directory\n   # Copy configs.toml to created directory\n   # If you want the server to load the speedtest web front in the route `/`,\n     then you must specify the path of the client folder in the configs.toml file.\n   ```\n   \n4. Change `configs.toml` according to your environment:\n\n    ```toml\n    # bind socket adress\n    bind_address=\"0.0.0.0\"\n    # socket listent port, default is 8080\n    listen_port=8080\n\n    # you can specify the number of worker threads. default is 1\n    # auto: number of cpu cores, or more than 0 as desired\n    # increasing the count increases memory usage\n    worker_threads=1\n    \n    # base api url /{base_url}/routes\n    base_url=\"backend\"\n\n    # set directory of speedtest web front to server load on `/`. use empty retrun 404\n    speed_test_dir=\"./assets\" # Write without suffix separator\n\n    # password for logging into statistics page, fill this to enable stats page\n    stats_password=\"\"\n\n    # database config for : mysql, postgres, sqlite, or disable by write none\n    # if none is specified, no telemetry/stats will be recorded, and no result JPG will be generated\n    database_type=\"sqlite\"\n    database_hostname=\"localhost\"\n    database_name=\"speedtest_db\"\n    database_username=\"\"\n    database_password=\"\"\n    # if you use `sqlite` as database, set database_file to database file location\n    database_file=\"speedtest.db\"\n\n    # TLS feature comming soon\n    # enable_tls=false\n    # tls_cet_file=\"\"\n    # tls_key_file=\"\"\n    ```\n   \n\u003e #### TODO :\n\u003e - [ ] Impl ip geolocation \u0026 isp finder\n\u003e - [ ] Enable some features like TLS, Docker \u0026 more ...\n\n\u003e #### Note : \n\u003e This project can be much better.\\\n\u003e Therefore, your PRs are accepted to improve and solve problems\n\n## License\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU Lesser General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/lgpl\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglory0432%2Fspeedtest-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglory0432%2Fspeedtest-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglory0432%2Fspeedtest-rust/lists"}