Self-host your own internet speed test with LibreSpeed!

  Рет қаралды 39,794

Techno Tim

Techno Tim

Күн бұрын

Internet speed tests are full of junk, ads, tracking, and some even contain deprecated plug-ins. Who needs this when we can self-host an open source one? LibreSpeed is a lightweight speedtest implemented in JavaScript using XHR requests and web workers. It's fast, feature rich, and supports every modern browser. Say goodbye to those other speed tests and host your own containerized in Docker or Kubernetes today!
Video Notes: technotim.live/posts/librespeed/
Support me on Patreon: / technotim
Sponsor me on GitHub: github.com/sponsors/timothyst...
Subscribe on Twitch: / technotim
Become a KZfaq member: / @technotim
Merch Shop: l.technotim.live/shop
Gear Recommendations: l.technotim.live/gear
Get Help in Our Discord Community: l.technotim.live/discord
2nd channel: / @technotimtalks
(Affiliate links may be included in this description. I may receive a small commission at no cost to you.)
00:00 - Intro
00:23 - What is LibreSpeed?
01:51 - How are we going to set this up?
02:18 - Configuring LibreSpeed with Docker
04:36 - Configuring LibreSpeed with Rancher and Kubernetes
08:08 - LibreSpeed Overview
09:18 - Customizing LibreSpeed
11:41 - Testing our internal network with a mobile device
12:27 - Other ideas for LibreSpeed
13:26 - What do you think of LibreSpeed?
13:52 - Stream Highlight - It's all copy pasta!
#SelfHosted #OpenSource #TechnoTim
"Download Your Mind" is from Harris Heller's album Ego.
License: l.technotim.live/sb-music-lic...
Thank you for watching!

Пікірлер: 167
@TechnoTim
@TechnoTim 3 жыл бұрын
What's your internet speed? Mine is 300 up / 300 down! 🔥
@GabREAL1983
@GabREAL1983 3 жыл бұрын
40/10 up/dw ... i just had to move because of a break-up so i'm too broke at the moment to afford more here lol
@akashrajvanshi6362
@akashrajvanshi6362 3 жыл бұрын
150 up / 150 Down
@vrnagy
@vrnagy 3 жыл бұрын
1 Gbps up / 1 Gbps down fiber
@c1nema1
@c1nema1 3 жыл бұрын
1000/50 because german cable providers are afraid of us hosting servers :D that's why the "small" upload.
@James-xg4jr
@James-xg4jr 3 жыл бұрын
Ahhh crap should have waiting till this morning...instead of fiddling around with OpenSpeedtest last night....thanks for the help
@xnoe8960
@xnoe8960 3 жыл бұрын
It shocks me how high quality your vids are when you're a fairly small KZfaqr still. Keep up the great work man, I'm loving your stuff, genuinely fun to watch.
@vashthestampede3459
@vashthestampede3459 3 жыл бұрын
I have been experimenting with Docker and self hosted apps since I got a Pi 4 recently, so I have been searching some stuff up on KZfaq. This video was recommended and this is exactly what I need right now. Thanks so much, Tim. You got yourself a new subscriber.
@TechnoTim
@TechnoTim 3 жыл бұрын
Thank you so much!
@nyceyes
@nyceyes 2 жыл бұрын
I didn't know whether this video was about containers or self-hosting a speed tester. 😆 But thank you for this video uploader. I wasn't aware of the Libre Speed project. ❤️
@TechnoTim
@TechnoTim 2 жыл бұрын
Glad it was helpful!
@mikehipp71
@mikehipp71 3 жыл бұрын
Great stuff Tim! This was something I didn't know I needed until I watched...super handy with wifi/network diagnostics too!
@TechnoTim
@TechnoTim 3 жыл бұрын
Great to hear!
@carl_thunder
@carl_thunder 3 жыл бұрын
This is a great tool! Thanks for bringing it to our attention.
@tbhinteractieve
@tbhinteractieve 3 жыл бұрын
Great video Tim, as always😁
@ComputerScienceSimplified
@ComputerScienceSimplified 3 жыл бұрын
Great video, amazing work! :)
@chrisumali9841
@chrisumali9841 3 жыл бұрын
Thanks for the demo and info, have a great day
@TechnoTim
@TechnoTim 3 жыл бұрын
Thank you so much! You too!
@FlexibleToast
@FlexibleToast 2 жыл бұрын
This is going to be great for the people I share Plex with. They can now know how fast their connection to Plex is and why or if they need to transcode.
@amateurwizard
@amateurwizard 3 жыл бұрын
I'm so glad I found this channel
@TechnoTim
@TechnoTim 3 жыл бұрын
Thank you!
@Hypernerdwithcam
@Hypernerdwithcam 3 жыл бұрын
As someone involved in the project - great video!
@TechnoTim
@TechnoTim 3 жыл бұрын
Thank you!
@ebiscaia
@ebiscaia 2 жыл бұрын
Hi, I followed Tim's procedures and ended up with "No servers available". Is there a way to solve it? Thanks
@cyberion2477
@cyberion2477 3 жыл бұрын
It should be noted that this sort of test should be used very often, especially if you have sensitive network workloads. Obviously, this test will saturate your link to measure what it is capable of doing but in doing so takes bandwidth from other devices. Had something like this running hourly to keep tabs on internet speed and then questioned why my streaming would dip in quality every so often. :/
@Mr.Leeroy
@Mr.Leeroy 3 жыл бұрын
QoS
@yerunski
@yerunski 3 жыл бұрын
Nice, just found a new mini project to dive into :)
@TechnoTim
@TechnoTim 3 жыл бұрын
Hope you enjoy it!
@Konsi2
@Konsi2 3 жыл бұрын
specialy love the "no bullshit" - part :)
@daniel_2
@daniel_2 3 жыл бұрын
Achso, ich denke dieses Bild kenne ich von irgendwo :) - I see, I think I recognise your profile picture :)
@TechnoTim
@TechnoTim 3 жыл бұрын
Thanks! I was just quoting LibreSpeed's tagline!
@tysonvanpatten2978
@tysonvanpatten2978 3 жыл бұрын
RIP Flash, lol
@TechnoTim
@TechnoTim 3 жыл бұрын
💀
@JuanLopez-db4cc
@JuanLopez-db4cc 3 жыл бұрын
Excellent Video. Thanks. 40 up / 100 down.
@praveenverma3278
@praveenverma3278 3 жыл бұрын
awesome. thanks for this. can you guide us by making video on setup home hosting for our website exposed to external world on our home hosted kubernetes cluster and any risks apart from availability and electricity bill 😊
@MarkBuildGood
@MarkBuildGood 3 жыл бұрын
I watched a lot of your videos, keep up the great work! Rancher looks like an excellent tool to tinker with Kubernetes. However, I couldn’t get it working on the Raspberry Pi 4 :-(
@mrcolo.
@mrcolo. 3 жыл бұрын
Try to use portainer
@MarkBuildGood
@MarkBuildGood 3 жыл бұрын
@@mrcolo. thanks for the suggestion. I tried portainer a while ago and didn’t like it because the Docker-compose version was outdated (IIRC v2.0)and I needed to use the features of the current version. Edit: I didn’t realize that portainer works with kubernetes and I’ll give it a shot. Thanks for the suggestion!
@rbmcp-
@rbmcp- 3 жыл бұрын
Thx great info
@jakeallen09
@jakeallen09 3 жыл бұрын
Very cool video! I am a recent sub to the channel, just getting my feet wet with Docker/Pi/etc. I see the value of self-hosting so I could test my speed while I'm on the go. But I also see a "security" risk by doing this. Are there precautions/steps we can take to prevent the bad guys from getting into my network via this "self-hosted" speed test? Do you have a video on making those precautions a reality?
@TechnoTim
@TechnoTim 3 жыл бұрын
Thank you! I think you would just take the normal precautions when exposing anything. SSL, IDS/IPS, only expose the port needed, segment your public workloads, etc... I don't have one yet, but great idea. Thank you!
@mrcolo.
@mrcolo. 3 жыл бұрын
Great video Tim! It's very useful. Could you make a video about Grafana, InfluxDB and telegraf on Docker? It could be very interesting!
@TechnoTim
@TechnoTim 3 жыл бұрын
Possibly!
@mrcolo.
@mrcolo. 3 жыл бұрын
@@TechnoTim I can't wait 🤪
@ABUNDANCEandBEYONDATHLETE
@ABUNDANCEandBEYONDATHLETE 3 жыл бұрын
I'm working on netbox docker instance on macos. Very interesting, first time docker user. Long time Network engineer and IT Engineer
@michaelsid2323
@michaelsid2323 3 жыл бұрын
+1 for InfluxDB. Time series DBs are the hot item these days
@Okeur75
@Okeur75 3 жыл бұрын
You are on track ;)
@DanielosCompaneros
@DanielosCompaneros 3 жыл бұрын
Docker rancher install drives me nuts! 2 times my cluster feel apart because api server wasn't working! All my containers run on plain old docker with docker-compose and it runs all linuxserver images flawlessly ;)
@TechnoTim
@TechnoTim 3 жыл бұрын
Sorry!
@Photograaf11
@Photograaf11 3 жыл бұрын
Nice vid again, ps... i dont know if you can change it without reuploading but your public ip was visable for 1 second 68....... Just a friendly warning :p
@holeinthesest
@holeinthesest 3 жыл бұрын
Almost 30k You're killing it man!
@TechnoTim
@TechnoTim 3 жыл бұрын
Thank you!
@ronm6585
@ronm6585 3 жыл бұрын
Thank you.
@NERO-ez1mn
@NERO-ez1mn 3 жыл бұрын
u earned a sub. can you tackle how the librespeed for the android version?
@thangavelupalaniyappan
@thangavelupalaniyappan Жыл бұрын
Great Video , Thanks , how can edit index.html file in docker direclty without using rancher , any suggestions plz.
@jamier6268
@jamier6268 3 жыл бұрын
Hey Tim, any idea how to find and add other public speed servers? I see where in the index.html file the information goes, but is there any list of public speedtest server IPs?
@TechnoTim
@TechnoTim 3 жыл бұрын
Not sure, you might want to check their GitHub repo!
@jafrujafru
@jafrujafru Жыл бұрын
Thankyou
@willowithink
@willowithink 3 жыл бұрын
Cool!
@Wizzleman411
@Wizzleman411 3 жыл бұрын
This is new I’m going have to try this one
@TechnoTim
@TechnoTim 3 жыл бұрын
Lmk!
@knowledgeseekerr
@knowledgeseekerr 2 жыл бұрын
thats really cool, i dont like the fact that you have to use your private address and the port forwarding number to get to the internal speed test server. couldn't you make that with a domain name?
@knowledgeseekerr
@knowledgeseekerr 2 жыл бұрын
another thing is you never mentioned what type of server you are running, ya your running the librespeed package, but are you using ubunto server to run your docker on?
@Equality-and-Liberty
@Equality-and-Liberty 3 жыл бұрын
Can i use this for testing the speed of a container? Let say i have a container with Deluge VPN installed. How can i measure my download speed?
@philfote
@philfote 3 жыл бұрын
I had an automated Speedtest container set up logging to InfluxDB with a Grafana dashboard to keep my ISP honest, but when I rehosted docker that setup broke. Is there an easy way to throw up a dashboard for the database option of this?
@TechnoTim
@TechnoTim 3 жыл бұрын
Not sure with this container, you’d have to look to see if it saves the results and then send them to your storage
@rasbe6863
@rasbe6863 3 жыл бұрын
Tim have you tried to integrate this into Home Assistant. I know you are dabbling into HA now. Might be something slot if people in the HA community might be interested in.
@TechnoTim
@TechnoTim 3 жыл бұрын
I have not yet! Does it work?
@royboivin
@royboivin 3 жыл бұрын
not great for 10G network testing but works find for just testing upto about 3.5 Gbs
@vtx3904
@vtx3904 3 жыл бұрын
Hi Tim! Be in a video with subtitles, you are being watched from Russia. The video is cool. Good luck
@TechnoTim
@TechnoTim 3 жыл бұрын
Thank you! Greetings from the US!
@Glatze603
@Glatze603 2 жыл бұрын
Hi, the example doesn't work > I only get "No servers available" with renaming "example-multipleServers-full.html" to "index.html" - what do I wrong?!?
@josephstacklin3853
@josephstacklin3853 3 жыл бұрын
So this would be a "one click" install version of iperf?
@denizbazzz
@denizbazzz 3 жыл бұрын
Thx for the great video. I have installed librespeed on my pi-omv-docker. I can test my local speed with no problem but when it comes to multiple servers I get the "No servers available" message. My container port is 80 host port is 49153. Any opinion why this is happening? Should I forward some port or anything else? Little bit confused here :)
@ebiscaia
@ebiscaia 2 жыл бұрын
Same with me. Did you figure out the problem?
@Dark_Lobster
@Dark_Lobster 3 жыл бұрын
Running this on k3s ingressed through traefik2 slowed my speed results to 1/10 compared to connecting directly to the node. is it really that bad? Running something like nextcloud would also be slow as f..? Whats the point with kubernetes as opposed to just put it in plain docker?
@TechnoTim
@TechnoTim 3 жыл бұрын
Not sure, I run mine in k3s and don't see any speed difference.
@telstraspeedtestinfo
@telstraspeedtestinfo Жыл бұрын
Hi there, Can you please guide me that how can i add this to my WordPress website?
@danysaifuddin
@danysaifuddin 2 жыл бұрын
No Server Available when using multiserver, any solution? Thanks
@jforbush
@jforbush 3 жыл бұрын
Question: when I run the ls command on the /config directory on my server, I don't see any of the .html files referenced. I went back through the tutorial a couple of times to see if perhaps I missed a step, but not able to see where I might have done so....suggestions anyone?
@TechnoTim
@TechnoTim 3 жыл бұрын
Perhaps you didn't bind this properly? If you don't see any files it means your container is not mounting the host file system
@jforbush
@jforbush 3 жыл бұрын
@@TechnoTim hmm. I thought I followed the instructions to a “T”. I’ll have to double check
@andrewnyr
@andrewnyr 3 жыл бұрын
hahahah once again! I have this already setup before you!
@TechnoTim
@TechnoTim 3 жыл бұрын
Nice!
@CrudChronicles
@CrudChronicles 3 жыл бұрын
Can I conduct a speed test via CLI?
@Equality-and-Liberty
@Equality-and-Liberty 3 жыл бұрын
When i click on the privacy link it stated that data are collected for several reasons. I use this as a self-hosted service running on my docker service as a container. Does this app still collect my data despite the fact that I'm running it self-hosted?
@TechnoTim
@TechnoTim 3 жыл бұрын
I don't' believe so. I thought the same thing and actually looked at the original docker image that linuxserver uses. That docker images allows you to turn this off and on however the default value was false so it should always be set to false (last I checked)
@Mr.Leeroy
@Mr.Leeroy 3 жыл бұрын
Nowadays, residential connection lowest supplied speeds exceed affordable VPS speeds. 300 vs 200 mbit/s for my case. iPerf makes more sense for LAN. And if you have problems with speeds on devices that do not have iperf port that usually means that the whole subnet has issues and you should not troubleshoot it from this device anyway. Even Android and iOS have terminal.
@TechnoTim
@TechnoTim 3 жыл бұрын
Good luck trying to run that on a Nintendo switch, Xbox, PlayStation, smart TV, or getting end users in an enterprise doing anything in a terminal ;) Yes, there are better tools out there for different use cases, especially if you are a network engineer - this is just another tool to add to your toolbox.
@camerontgore
@camerontgore 3 жыл бұрын
RIP Flash
@techwithandrew8193
@techwithandrew8193 3 жыл бұрын
What SSH client are you using? SolarPutty?
@TechnoTim
@TechnoTim 3 жыл бұрын
I am actually just using WSL + Windows Terminal + Ubuntu + default ssh client. You can see my guide for setting up your terminal like mine here kzfaq.info/get/bejne/obJonKp217uwmas.html
@camerontgore
@camerontgore 3 жыл бұрын
Can I use this to check my comcast speeds to make sure that I'm actually getting Gigabit down?
@TechnoTim
@TechnoTim 3 жыл бұрын
You'd have to find someone hosting this page remotely!
@camerontgore
@camerontgore 3 жыл бұрын
@@TechnoTim Sounds like I could just spin one up in a remote Digital Ocean droplet or AWS host 😁
@skorpion1298
@skorpion1298 3 жыл бұрын
I Installed this on my QNAP NAS TS231p. Its working but I get slow Download speeds of around 50Mbits but 1000Mbits Upload.. Whats wrong? I edited the garbage.php a little and its slightly better but not Gigabit :/
@TechnoTim
@TechnoTim 3 жыл бұрын
lol garbage php 😀 well, is your NAS uploading anything else? Is it CPU bound during this time? Is it over wireless? Lots of factors. Check metrics on NAS for a clue.
@lawsnewton
@lawsnewton 5 ай бұрын
Nvrmd its the YT algorythim doing its thing.
@niigatakids1710
@niigatakids1710 2 жыл бұрын
Is it possible to rewrite the code, for example, to have a speed test for a whole year?
@TechnoTim
@TechnoTim 2 жыл бұрын
Sure, anything's possible with code but you would have to write quite a bit. You would have to run the test on a timer, then save it to a database, and then show the stats for a year.
@niigatakids1710
@niigatakids1710 2 жыл бұрын
@@TechnoTim If you ignore the final result display. I think it is supposed to automatically stop after a number of seconds, or when it reaches a specified amount of transfer, so I think it could be done by removing that restriction, but is it difficult?
@computersarehard5789
@computersarehard5789 3 жыл бұрын
That was a very very complicated way to say "use iperf".
@watchme1009
@watchme1009 3 жыл бұрын
when did iperf start to suck, that I need a website??
@TechnoTim
@TechnoTim 3 жыл бұрын
because it works on any device with a browser
@peterfixit7221
@peterfixit7221 3 жыл бұрын
I run game servers from my house, it would be useful if my players could run this speedtest to see their speed and latency from the game server
@TechnoTim
@TechnoTim 3 жыл бұрын
Sure, self hosted it and give them the URL!
@DigitalIndependent
@DigitalIndependent Жыл бұрын
Wow, even two years later your videos are still great :) But in 2023 I would prefer Speedtest-Tracker, because it constantly monitors your internet speeds and gives you historic data. Just uploaded a video on how to run it…
@bestofferstoday9153
@bestofferstoday9153 2 жыл бұрын
How I can get this tool
@TechnoTim
@TechnoTim 2 жыл бұрын
By following this guide 😀
@0dyss3us51
@0dyss3us51 3 жыл бұрын
Rip flash rofl. While I like your videos, I think it would be great you gave a bit more contect to each step, and why one would use the different tech stacks, if these are for educational purposes you should assume people don't know too much about it, just some friendly advice :)
@TechnoTim
@TechnoTim 3 жыл бұрын
Thank you for the feedback!
@BigKens
@BigKens 3 жыл бұрын
If you watch his other videos, he does explain all of the concepts and tools he’s using here, such as Docker, Rancher, Kubernetes, etc. I totally get what you’re saying, however I think there’s a balance he’s trying to strike here between video length/content repetition and giving just enough context to understand what’s going on. It may be helpful to think of this as a continuation of a series instead of a one-off. Have a good one!
@BensTechLab
@BensTechLab 3 жыл бұрын
8:27 my internet connection WILL show these speeds! :-D I have fiber optic will gigabit up and down. I guess I'm lucky to be in a service area for this.
@TechnoTim
@TechnoTim 3 жыл бұрын
Lucky!
@lawsnewton
@lawsnewton 5 ай бұрын
Why is every DIY self host Docker YT Channel, doing speed test tutorials this week?
@ArclampSDR
@ArclampSDR 3 жыл бұрын
just use okala speedtest CLI lol
@TechnoTim
@TechnoTim 3 жыл бұрын
And send all your data to ookla! 😀
@ArclampSDR
@ArclampSDR 3 жыл бұрын
@@TechnoTim ahhhhhh no? it's a pre-hashed file from ookla that is reoploaded. try reading the source code next time :)
@flexagonpark5467
@flexagonpark5467 3 жыл бұрын
@@ArclampSDR where did you find the source code?
@ArclampSDR
@ArclampSDR 3 жыл бұрын
@@flexagonpark5467 on the website?
@flexagonpark5467
@flexagonpark5467 3 жыл бұрын
@@ArclampSDR I didn't find source code there. Send a link, please
@HDFoxra
@HDFoxra 3 жыл бұрын
JEEZ Who do you have as your ISP? I can't find ANYONE who'll give me more than 25Mbit/s upload... I'd swap to whomever you use in an actual HEARTBEAT O-O
@TechnoTim
@TechnoTim 3 жыл бұрын
Fiber Internets!
@FedecraftITALIA
@FedecraftITALIA 3 жыл бұрын
Java isn't trash! 😠
@TechnoTim
@TechnoTim 3 жыл бұрын
It's not, but internet speed tests that contain it are!
@BigKens
@BigKens 3 жыл бұрын
@@TechnoTim There’s not really a good reason to use Java for a browser based speed test, so perhaps there’s a bit of a “Maslow’s hammer” situation at play on the part of the authors (cognitive bias that involves an over-reliance on a familiar tool). Thanks for the great video too btw - these home lab services and hardware videos are super cool and informative!
@eseseis7251
@eseseis7251 3 жыл бұрын
ok so your vids R obvious, for the very noobs. i missunderstoon when subbed
Meet Grafana LOKI, a Log Aggregation System for EVERYTHING
28:13
Techno Tim
Рет қаралды 234 М.
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 119 МЛН
ОБЯЗАТЕЛЬНО СОВЕРШАЙТЕ ДОБРО!❤❤❤
00:45
Your ISP is lying! Monitor your Internet with a Pi
8:05
Jeff Geerling
Рет қаралды 300 М.
HIGH AVAILABILITY k3s (Kubernetes) in minutes!
19:14
Techno Tim
Рет қаралды 170 М.
The cloud is over-engineered and overpriced (no music)
14:39
Tom Delalande
Рет қаралды 528 М.
Internet SpeedTest Tracker on Docker - 2022 Edition
18:10
DB Tech
Рет қаралды 20 М.
Getting the Most Performance out of TrueNAS and ZFS
18:31
Techno Tim
Рет қаралды 81 М.
How I Earn Money Selling Broadband in 2023 (Full Tour)
16:57
MarzBarVlogs
Рет қаралды 96 М.
Host your own Speed Test Server Container with Docker on Unraid
13:19
low battery 🪫
0:10
dednahype
Рет қаралды 1,8 МЛН
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 3,4 МЛН
Это iPhone 16
0:52
Wylsacom
Рет қаралды 921 М.
📱магазин техники в 2014 vs 2024
0:41
djetics
Рет қаралды 682 М.