1
0
Fork 0
hscloud/bgpwtf/speedtest
q3k 97b5cd7b58 go: re-do the entire thing
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>
2023-09-22 21:50:19 +00:00
..
backend go: re-do the entire thing 2023-09-22 21:50:19 +00:00
kube *: post-certmanager manifests update 2023-06-19 21:20:44 +00:00
.gitignore go/svc/{invoice,speedtest} -> bgpwtf/ 2019-07-21 15:30:08 +02:00
BUILD.bazel go: re-do the entire thing 2023-09-22 21:50:19 +00:00
LICENSE go/svc/{invoice,speedtest} -> bgpwtf/ 2019-07-21 15:30:08 +02:00
README.md go/svc/{invoice,speedtest} -> bgpwtf/ 2019-07-21 15:30:08 +02:00
index.html go/svc/{invoice,speedtest} -> bgpwtf/ 2019-07-21 15:30:08 +02:00
speedtest.js go/svc/{invoice,speedtest} -> bgpwtf/ 2019-07-21 15:30:08 +02:00
speedtest_worker.js go/svc/{invoice,speedtest} -> bgpwtf/ 2019-07-21 15:30:08 +02:00

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 Liberapay
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.