extratone / i

All of my iOS/iPhone-related documentation, files, media, etc.
The Unlicense
45 stars 0 forks source link

JSON Speedtest #249

Open extratone opened 2 years ago

extratone commented 2 years ago

Updated 09012022-031651


Social

I don't know if I'm gonna have time to finish the documentation/publish it tonight, but dang!! this is a good one. https://davidblue.wtf/drafts/DBD6F212-D629-4D82-A734-664B8E045ABB.html - [Twitter](https://twitter.com/NeoYokel/status/1562196445650104320) (Pre-Publish) - Telegram --- ## Comprehensively document/store detailed speedtest-cli data from a-Shell. ## Requirements - [a-Shell](https://apps.apple.com/us/app/a-shell/id1473805438) - [speedtest-cli](https://github.com/sivel/speedtest-cli) (Installed in a-Shell - `pip install speedtest-cli`) - [Data Jar](https://apps.apple.com/us/app/data-jar/id1453273600) - [Toolbox Pro](https://apps.apple.com/us/app/toolbox-pro-for-shortcuts/id1476205977) ![JSON Speedtest Shortcut](https://user-images.githubusercontent.com/43663476/186270938-352ae433-d2d2-4a6c-9be0-bb9990879088.png) This shortcut significantly expands your iPhone and/or iPad's effectiveness as a network testing platform simply by using [speedtest.net's command line tool](https://www.speedtest.net/apps/cli) within a-Shell or a-Shell Mini. ![JSON Speedtest Shortcut Result in Data Jar](https://user-images.githubusercontent.com/43663476/186067334-c1e2a1e8-11ca-440a-8e57-e29156cbcb19.png) By default, the shortcut will run the `speedtest` command with two options: ``` speedtest --json --share ``` `--json` specifies the output format and `--share` adds the optional preview image: ![JSON Speedtest Preview Image Example](https://user-images.githubusercontent.com/43663476/186270964-0b682788-4197-4eea-9306-2372bc41b907.png) At installation, you'll be asked to specify a *key path* (jar) in Data Jar in which to store the JSON output as well as an iCloud Photos Album in which to store the generated preview images. Toolbox Pro is necessary only if you'd like fancy notifications shown with the results: ![JSON Speedtest Notifications Transparent](https://user-images.githubusercontent.com/43663476/186272096-ee19af17-ead7-41b7-a948-7fa873eb6d8e.png) --- ## Contact - [Contact Card](https://davidblue.wtf/db.vcf) - [Telegram](https://t.me/extratone) - [Email](mailto:davidblue@extratone.com) - [Twitter](https://twitter.com/NeoYokel) - [Mastodon](https://mastodon.social/@DavidBlue) - [Discord](https://discord.gg/0b9KQUKP858b0iZF) - [*Everywhere*](https://raindrop.io/davidblue/social-directory-21059174)... --- ## Video - [Twitter Media Studio](https://studio.twitter.com/library/13_1562197742826336257) ## Example Result - [Gist](https://gist.github.com/extratone/70fbb53bc96b76f9928869eb7aa2d8a3) ```json { "upload": 263367673.8773697, "ping": 8.712, "server": { "latency": 8.712, "country": "United States", "id": "17491", "d": 205.02413557210525, "lon": "-94.7336", "sponsor": "Consolidated Communications Inc", "host": "speedtest.kc2.mycci.net:8080", "lat": "38.9536", "cc": "US", "name": "Olathe, KS", "url": "http://speedtest.kc2.mycci.net:8080/speedtest/upload.php" }, "bytes_received": 249102723, "download": 199101061.14220494, "client": { "rating": "0", "ispulavg": "0", "country": "US", "ispdlavg": "0", "lon": "-90.363", "loggedin": "0", "isprating": "3.7", "lat": "33.9336", "isp": "Socket Internet", "ip": "216.106.66.243" }, "share": "http://www.speedtest.net/result/13575351989.png", "bytes_sent": 151519232, "timestamp": "2022-08-23T03:42:49.565200Z" } ```
extratone commented 2 years ago

JSON Speedtest Notification

extratone commented 2 years ago

JSON Speedtest Shortcut Result in Data Jar

extratone commented 2 years ago

JSON Speedtest Shortcut

JSON Speedtest Preview Image Example

extratone commented 2 years ago

JSON Speedtest Notification Example Grouped

extratone commented 2 years ago

JSON Speedtest Notifications Transparent