mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-24 14:31:52 +01:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3955a2dad0 | ||
|
|
6905a5aac0 | ||
|
|
b3ba6a8b06 | ||
|
|
1e1a2c9b69 | ||
|
|
1c00beed86 |
@@ -1,6 +1,6 @@
|
|||||||
# Speedtest Tracker
|
# Speedtest Tracker
|
||||||
|
|
||||||
[](https://hub.docker.com/r/henrywhitaker3/speedtest-tracker) [](https://github.com/henrywhitaker3/Speedtest-Tracker/actions) [](https://github.com/henrywhitaker3/Speedtest-Tracker/actions) [](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) [](https://github.com/henrywhitaker3/Speedtest-Tracker/issues) [](https://github.com/henrywhitaker3/Speedtest-Tracker/commits)  [](https://github.com/henrywhitaker3/Speedtest-Tracker/blob/master/LICENSE)
|
[](https://hub.docker.com/r/henrywhitaker3/speedtest-tracker) [](https://github.com/henrywhitaker3/Speedtest-Tracker/actions) [](https://github.com/henrywhitaker3/Speedtest-Tracker/actions) [](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) [](https://github.com/henrywhitaker3/Speedtest-Tracker/issues) [](https://github.com/henrywhitaker3/Speedtest-Tracker/commits)  [](https://github.com/henrywhitaker3/Speedtest-Tracker/blob/master/LICENSE)
|
||||||
|
|
||||||
This program runs a speedtest check every hour and graphs the results. The back-end is written in [Laravel](https://laravel.com/) and the front-end uses [React](https://reactjs.org/). It uses the [Ookla's speedtest cli](https://www.speedtest.net/apps/cli) package to get the data and uses [Chart.js](https://www.chartjs.org/) to plot the results.
|
This program runs a speedtest check every hour and graphs the results. The back-end is written in [Laravel](https://laravel.com/) and the front-end uses [React](https://reactjs.org/). It uses the [Ookla's speedtest cli](https://www.speedtest.net/apps/cli) package to get the data and uses [Chart.js](https://www.chartjs.org/) to plot the results.
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ class HomepageDataController extends Controller
|
|||||||
return [
|
return [
|
||||||
'latest' => run(GetLatestSpeedtestData::class),
|
'latest' => run(GetLatestSpeedtestData::class),
|
||||||
'time' => run(GetSpeedtestTimeData::class, $days),
|
'time' => run(GetSpeedtestTimeData::class, $days),
|
||||||
'fail' => run(GetFailedSpeedtestData::class),
|
'fail' => run(GetFailedSpeedtestData::class, $days),
|
||||||
'config' => SettingsHelper::getConfig(),
|
'config' => SettingsHelper::getConfig(),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
"1.12.2": [
|
||||||
|
{
|
||||||
|
"description": "Fixed a bug where the latest X days widget would not update for the failure graph",
|
||||||
|
"link": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
"1.12.1": [
|
"1.12.1": [
|
||||||
{
|
{
|
||||||
"description": "Fixed a bug where the latest X days widget would not update (#680)",
|
"description": "Fixed a bug where the latest X days widget would not update (#680)",
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ return [
|
|||||||
'providers' => [
|
'providers' => [
|
||||||
'users' => [
|
'users' => [
|
||||||
'driver' => 'eloquent',
|
'driver' => 'eloquent',
|
||||||
'model' => App\User::class,
|
'model' => App\Models\User::class,
|
||||||
],
|
],
|
||||||
|
|
||||||
// 'users' => [
|
// 'users' => [
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ return [
|
|||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'version' => '1.12.1',
|
'version' => '1.12.2',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -22,7 +22,13 @@ else
|
|||||||
if [ ! -f /config/www/app/Bin/speedtest ]; then
|
if [ ! -f /config/www/app/Bin/speedtest ]; then
|
||||||
echo "Ookla GDPR and EULA accepted. Downloading Speedtest CLI."
|
echo "Ookla GDPR and EULA accepted. Downloading Speedtest CLI."
|
||||||
cd /tmp
|
cd /tmp
|
||||||
wget https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-$arch-linux.tgz -O speedtest.tgz > /dev/null
|
|
||||||
|
if [ $(uname -m) == "x86_64" ]; then
|
||||||
|
wget https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-x86_64-linux.tgz -O speedtest.tgz > /dev/null
|
||||||
|
else
|
||||||
|
wget https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-arm-linux.tgz -O speedtest.tgz > /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
tar zxvf speedtest.tgz > /dev/null
|
tar zxvf speedtest.tgz > /dev/null
|
||||||
cp speedtest /site/app/Bin/
|
cp speedtest /site/app/Bin/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user