diff --git a/MySpeed/MySpeed.php b/MySpeed/MySpeed.php new file mode 100644 index 0000000000..42db14f188 --- /dev/null +++ b/MySpeed/MySpeed.php @@ -0,0 +1,40 @@ +jar = new \GuzzleHttp\Cookie\CookieJar; // Uncomment if cookies need to be set + } + + public function test() + { + $test = parent::appTest($this->url('status')); + echo $test->status; + } + + public function livestats() + { + $status = 'inactive'; + $res = parent::execute($this->url('status')); + $details = json_decode($res->getBody()); + + $data = []; + return parent::getLiveStats($status, $data); + + } + + public function url($endpoint) + { + $api_url = parent::normaliseurl($this->config->url).$endpoint; + return $api_url; + } +} diff --git a/MySpeed/app.json b/MySpeed/app.json new file mode 100644 index 0000000000..6738e1fac1 --- /dev/null +++ b/MySpeed/app.json @@ -0,0 +1,10 @@ +{ + "appid": "ac2f9c8aee6a960204b0fb387d33185679217db2", + "name": "MySpeed", + "website": "https://myspeed.dev", + "license": "MIT License", + "description": "MySpeed is a speed test analysis software that records your internet speed for up to 30 days.", + "enhanced": true, + "tile_background": "dark", + "icon": "myspeed.png" +} \ No newline at end of file diff --git a/MySpeed/config.blade.php b/MySpeed/config.blade.php new file mode 100644 index 0000000000..e892e6c0d9 --- /dev/null +++ b/MySpeed/config.blade.php @@ -0,0 +1,19 @@ +

{{ __('app.apps.config') }} ({{ __('app.optional') }}) @include('items.enable')

+
+
+ + {!! Form::text('config[override_url]', null, array('placeholder' => __('app.apps.override'), 'id' => 'override_url', 'class' => 'form-control')) !!} +
+
+ + {!! Form::text('config[username]', null, array('placeholder' => __('app.apps.username'), 'data-config' => 'username', 'class' => 'form-control config-item')) !!} +
+
+ + {!! Form::input('password', 'config[password]', '', ['placeholder' => __('app.apps.password'), 'data-config' => 'password', 'class' => 'form-control config-item']) !!} +
+
+ +
+
+ diff --git a/MySpeed/livestats.blade.php b/MySpeed/livestats.blade.php new file mode 100644 index 0000000000..4fa2c8bc4d --- /dev/null +++ b/MySpeed/livestats.blade.php @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/MySpeed/myspeed.png b/MySpeed/myspeed.png new file mode 100644 index 0000000000..38cc2059cb Binary files /dev/null and b/MySpeed/myspeed.png differ diff --git a/Pinchflat/Pinchflat.php b/Pinchflat/Pinchflat.php new file mode 100644 index 0000000000..78f6672f24 --- /dev/null +++ b/Pinchflat/Pinchflat.php @@ -0,0 +1,40 @@ +jar = new \GuzzleHttp\Cookie\CookieJar; // Uncomment if cookies need to be set + } + + public function test() + { + $test = parent::appTest($this->url('status')); + echo $test->status; + } + + public function livestats() + { + $status = 'inactive'; + $res = parent::execute($this->url('status')); + $details = json_decode($res->getBody()); + + $data = []; + return parent::getLiveStats($status, $data); + + } + + public function url($endpoint) + { + $api_url = parent::normaliseurl($this->config->url).$endpoint; + return $api_url; + } +} diff --git a/Pinchflat/app.json b/Pinchflat/app.json new file mode 100644 index 0000000000..f6ac9bd499 --- /dev/null +++ b/Pinchflat/app.json @@ -0,0 +1,10 @@ +{ + "appid": "24301c5e991ab307ddbc92673d2b1f4b501964a9", + "name": "Pinchflat", + "website": "https://github.com/kieraneglin/pinchflat", + "license": "GNU Affero General Public License v3.0 or later", + "description": "Pinchflat is a self-hosted app for downloading YouTube content built using yt-dlp. It's designed to be lightweight, self-contained, and easy to use. You set up rules for how to download content from YouTube channels or playlists and it'll do the rest, periodically checking for new content.", + "enhanced": true, + "tile_background": "dark", + "icon": "pinchflat.png" +} \ No newline at end of file diff --git a/Pinchflat/config.blade.php b/Pinchflat/config.blade.php new file mode 100644 index 0000000000..e892e6c0d9 --- /dev/null +++ b/Pinchflat/config.blade.php @@ -0,0 +1,19 @@ +

{{ __('app.apps.config') }} ({{ __('app.optional') }}) @include('items.enable')

+
+
+ + {!! Form::text('config[override_url]', null, array('placeholder' => __('app.apps.override'), 'id' => 'override_url', 'class' => 'form-control')) !!} +
+
+ + {!! Form::text('config[username]', null, array('placeholder' => __('app.apps.username'), 'data-config' => 'username', 'class' => 'form-control config-item')) !!} +
+
+ + {!! Form::input('password', 'config[password]', '', ['placeholder' => __('app.apps.password'), 'data-config' => 'password', 'class' => 'form-control config-item']) !!} +
+
+ +
+
+ diff --git a/Pinchflat/livestats.blade.php b/Pinchflat/livestats.blade.php new file mode 100644 index 0000000000..4fa2c8bc4d --- /dev/null +++ b/Pinchflat/livestats.blade.php @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/Pinchflat/pinchflat.png b/Pinchflat/pinchflat.png new file mode 100644 index 0000000000..e77bf9e415 Binary files /dev/null and b/Pinchflat/pinchflat.png differ diff --git a/Synology/synology.png b/Synology/synology.png index e9b6562dc1..287a75abaa 100644 Binary files a/Synology/synology.png and b/Synology/synology.png differ