Docker container to tweet at your ISP when your speed drops below threshold
I got pretty fed up with my ISP giving me substandard speeds (usually 10 to 15mbps) than what I pay for (30mbps) so I build a docker container that runs a speed test and if its below the level you set it will tweet at your ISP with the speedtest results, go to sllep for 15 minutes and run another speedtest, if the speed is above your threshold it will simply sleep for 5 min and run again.
You can see it in action on my twitter: https://twitter.com/monoxane
And of course I believe in OSS so its all available on my github: https://github.com/monoxane/docker-speedtweet
30 comments
[ 5.0 ms ] story [ 69.2 ms ] threadIt's an app to monitor a connection for downtime and give exact reports for when the connection is down. Then treat the data collection server as a quasi political group and use the data to push the FTC, ACCC, etc to force ISPs to give pro-rata refunds for these downtime and or substandard speed periods. Nothing would speed up a fix like lost $$.
Edit: Docker is also an easy way to run in the background.
According to the developer, this is a Python script. So, rather than running on any desktop OS with minimal resources, it requires Docker, which requires a Linux Kernel. So for the vast majority of desktop users, this will require a Virtual Machine.
To send a fucking tweet.
This is the perfect example of developers doing dumb things, "because devops".
Practicing shaving your bikini line with hedgeclippers you stand to lose... well a lot more.
I said cutting hedges. Vaguely related tasks (cutting something shorter) but vastly different tools, materials, scale, etc
On a more serious note, if you had never used a concrete trowel before and you weren't totally sure what it was, using it to make waffle batter would give you a better understanding of what it was and what it is good for.
I said expecting desktop users to install docker to run a 35 line python script is fucking crazy.
You think someone who can't install python and 3 pip modules, is going to manage to install a Hypervisor, a Linux Guest, and Docker?
It runs things as root inside Docker though, so not that much isolation from untrusted code.
Although, on the upside we've finally found something that can be referenced for X in the statement "well at least Electron apps aren't as bad as $X"
Instead you should run all of the bootstrap (apt-get, etc) under a single run, using `&&` to chain commands.
Next time, when you you are showing off a project you may want to consider doing a Show HN[1]
1.https://news.ycombinator.com/showhn.html