Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grant0417/mullvad-ping
Gets the list of Mullvad servers with the best latency according to ping
https://github.com/grant0417/mullvad-ping
deno mullvad ping vpn
Last synced: about 2 months ago
JSON representation
Gets the list of Mullvad servers with the best latency according to ping
- Host: GitHub
- URL: https://github.com/grant0417/mullvad-ping
- Owner: grant0417
- License: mit
- Created: 2021-06-08T08:29:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-14T17:04:43.000Z (6 months ago)
- Last Synced: 2024-11-10T19:12:16.292Z (2 months ago)
- Topics: deno, mullvad, ping, vpn
- Language: TypeScript
- Homepage:
- Size: 25.4 KB
- Stars: 55
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mullvad Ping
Gets the list of Mullvad servers with the best latency according to `ping`.
## Running
1. First
[install Deno](https://docs.deno.com/runtime/manual/getting_started/installation),
an open-source runtime for TypeScript and JavaScript.2. Run the following command
```shell
deno run --allow-net=api.mullvad.net,deno.land --allow-run=ping https://raw.githubusercontent.com/grant0417/mullvad-ping/v0.8.0/script.ts
```3. Alternatively, you can download a compiled release from the
[releases page](https://github.com/grant0417/mullvad-ping/releases/).Note: The Windows version of `ping` is somewhat more limited than that of Linux
or Mac so the times are less precise and the script will take ~5x longer.## CLI Usage
```
Usage: mullvad-ping [OPTIONS]Options:
-c, --countrythe country you want to query (eg. us, gb, de)
-l, --list lists the available servers
--list-countries lists the available countries
--list-providers lists the available providers
-t, --type the type of server to query (openvpn, bridge, wireguard, all)
-C, --count the number of pings to the server (default 5)
-n, --top the number of top servers to show, (0=all, default 5)
-s, --port-speed only show servers with at least n Gbps port speed
-p, --provider only show servers from the given provider
--owner only show servers by owner (mullvad, rented, all)
--run-mode only show servers running from (ram, disk, all)
--include-inactive include inactive servers
-j, --json output the results in JSON format
-h, --help display this help and exit
-V, --version display version information and exit
```