feat(speedtest): add Ookla Speedtest extension#228
Open
Oztturk wants to merge 2 commits intovicinaehq:mainfrom
Open
feat(speedtest): add Ookla Speedtest extension#228Oztturk wants to merge 2 commits intovicinaehq:mainfrom
Oztturk wants to merge 2 commits intovicinaehq:mainfrom
Conversation
Real-time internet speed test using the official Ookla Speedtest CLI. Displays live download/upload speeds with an animated SVG bar chart (blue for download, fuchsia for upload) updated via jsonl streaming. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
|
I dont write code anymore claude writes it better than I do🤑🤑🤑 |
aurelleb
requested changes
Apr 11, 2026
| let lineBuffer = ""; | ||
| let stderrBuffer = ""; | ||
|
|
||
| const proc = spawn("speedtest", ["--format=jsonl", "--accept-license", "--accept-gdpr"]); |
Contributor
There was a problem hiding this comment.
you need to check whether the executable exists before this, and display an appropriate error message. Do not check the output of the spawn call to figure out whether the executable was found or not, that's very unreliable.
Author
There was a problem hiding this comment.
My bad i fixed the issue and pushed a new commit. Thanks for the correction. Please let me know if i missed anything else
1d452ff to
c8bfee0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
ookla-speedtest-bin)--format=jsonlstreaming to update the UI on every bandwidth sample (~100ms intervals)Requirements
The user must have the Ookla Speedtest CLI installed:
The extension handles the missing CLI gracefully with an error message and install instructions.
Test plan
🤖 Generated with Claude Code