This is a mega-change, but attempting to split this up further is probably not worth the effort. Summary: 1. Bump up bazel, rules_go, and others. 2. Switch to new go target naming (bye bye go_default_library) 3. Move go deps to go.mod/go.sum, use make gazelle generate from that 4. Bump up Python deps a bit And also whatever was required to actually get things to work - loads of small useless changes. Tested to work on NixOS and Ubuntu 20.04: $ bazel build //... $ bazel test //... Change-Id: I8364bdaa1406b9ae4d0385a6b607f3e7989f98a9 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1583 Reviewed-by: q3k <q3k@hackerspace.pl> |
||
---|---|---|
.. | ||
backend | ||
kube | ||
.gitignore | ||
BUILD.bazel | ||
LICENSE | ||
README.md | ||
index.html | ||
speedtest.js | ||
speedtest_worker.js |
README.md
HTML5 Speedtest
No Flash, No Java, No Websocket, No Bullshit.
This is a very lightweight Speedtest implemented in Javascript, using XMLHttpRequest and Web Workers.
Forked from adolfintel/speedtest to remove unnecessary features and implement Go backend for use at bgp.wtf.
Compatibility
All modern browsers are supported: IE11, latest Edge, latest Chrome, latest Firefox, latest Safari.
Works with mobile versions too.
Features
- Download
- Upload
- Ping
- Jitter
Server requirements
- A machine that can run Go code.
Installation
go build -o srv github.com/q3k/speedtest/backend
./srv
Donate
Support the original developer:
Donate with PayPal
License
Copyright (C) 2016-2019 Federico Dossena
Copyright (C) 2019 Serge Bazanski
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/lgpl.