{"id":19687198,"url":"https://github.com/trinitronx/fastest-servers","last_synced_at":"2026-05-13T11:33:51.625Z","repository":{"id":31276607,"uuid":"34838496","full_name":"trinitronx/fastest-servers","owner":"trinitronx","description":"A ruby script to generate a list of fastest servers (Ubuntu mirrors by default)","archived":false,"fork":false,"pushed_at":"2015-11-30T18:53:29.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-27T09:12:19.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/trinitronx.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}},"created_at":"2015-04-30T06:39:39.000Z","updated_at":"2020-02-02T21:56:04.000Z","dependencies_parsed_at":"2022-09-09T07:40:22.672Z","dependency_job_id":null,"html_url":"https://github.com/trinitronx/fastest-servers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trinitronx/fastest-servers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Ffastest-servers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Ffastest-servers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Ffastest-servers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Ffastest-servers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trinitronx","download_url":"https://codeload.github.com/trinitronx/fastest-servers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Ffastest-servers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32980812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T11:31:52.688Z","status":"ssl_error","status_checked_at":"2026-05-13T11:31:52.072Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-11T18:33:23.280Z","updated_at":"2026-05-13T11:33:51.599Z","avatar_url":"https://github.com/trinitronx.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Fastest Servers\n===============\n[![Build Status](https://img.shields.io/travis/trinitronx/fastest-servers.svg)](https://travis-ci.org/trinitronx/fastest-servers)\n[![Docker Pulls](https://img.shields.io/docker/pulls/trinitronx/fastest-servers.svg)](https://hub.docker.com/r/trinitronx/fastest-servers)\n[![Docker Stars](https://img.shields.io/docker/stars/trinitronx/fastest-servers.svg)](https://hub.docker.com/r/trinitronx/fastest-servers)\n[![Gittip](http://img.shields.io/gittip/trinitronx.svg)](https://www.gittip.com/trinitronx)\n\nA Ruby Script to narrow down a list of mirrors to the fastest servers.\n\nBy default, use Ubuntu mirror list hosted at: http://mirrors.ubuntu.com/mirrors.txt\n\nOutputs a `mirrors.txt` file to `/tmp/` in the container.  To capture this file for later use, pass through `/tmp` as a volume mount to Docker Container.\n\nConfiguration / Environment Variables\n-------------------------------------\n\nVariable Name                    | Description                                                                                                                                             | Default\n-------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------\n`FASTEST_SERVER_LIST_TYPE`       | Tells script what port to ping servers on. `HTTP` or `NTP` (Experimental)                                                                               | `HTTP`\n`FASTEST_SERVER_INITIAL_TIMEOUT` | Initial timeout in seconds used as limit for server ping timeout. If \u003c 5 servers satisfy timeout, add `0.001` to this \u0026 retry until \u003e= 5 servers found. | `0.050` (seconds)\n`MIRRORLIST_LOCAL_FILE`          | If specified, use this local file as mirror list input to find fastest servers in list                                                                  | `nil`\n`MIRRORLIST_HOST`                | Get `MIRRORLIST_URL` from this host and use as mirror list input for finding fastest servers                                                            | `mirrors.ubuntu.com`\n`MIRRORLIST_URL`                 | Get this URL from `MIRRORLIST_HOST` \u0026 use as mirror list input                                                                                          | `/mirrors.txt`\n`MIRRORLIST_PORT`                | Port to contact `MIRRORLIST_HOST` on for getting `MIRRORLIST_URL` via HTTP                                                                              | `80`\n`FASTEST_SERVER_LIST_OUTPUT`     | Local file to output final filtered mirror list to.  If using docker, ensure you volume mount enclosing directory from host                             | `/tmp/mirrors.txt`\n`FASTEST_SERVER_DEBUG`           | Puts script in `DEBUG` mode, which prints extra information to `STDOUT`                                                                                 | `nil`\n\nExample Usage\n-------------\n\nTo output a list of fastest Ubuntu mirrors to `/tmp/mirrors.txt`:\n\n    sudo docker run -ti -v /tmp/:/tmp/ trinitronx/fastest-servers:latest\n\nTo run script in `DEBUG` mode, pass in environment variable `-e FASTEST_SERVER_DEBUG=true`:\n\n    sudo docker run -ti -e FASTEST_SERVER_DEBUG=true -v /tmp/:/tmp/ trinitronx/fastest-servers:latest\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Ffastest-servers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrinitronx%2Ffastest-servers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Ffastest-servers/lists"}