aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorLibravatar Maitre_Oda <oda.alexandre31@gmail.com>2021-08-28 15:31:35 +0200
committerLibravatar GitHub <noreply@github.com>2021-08-28 19:01:35 +0530
commitc5293b4acc4283e9bc47569ad0026bae1d06299c (patch)
tree03b0d756ad3dd325887f95077ff579dde2bdc728 /recipes
parentNew recipe: scribens (#651) (diff)
downloadferdium-recipes-c5293b4acc4283e9bc47569ad0026bae1d06299c.tar.gz
ferdium-recipes-c5293b4acc4283e9bc47569ad0026bae1d06299c.tar.zst
ferdium-recipes-c5293b4acc4283e9bc47569ad0026bae1d06299c.zip
New recipe: ovh-cloud (#650)
Co-authored-by: Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/ovh-cloud/LICENSE21
-rw-r--r--recipes/ovh-cloud/README.md2
-rw-r--r--recipes/ovh-cloud/icon.svg1
-rw-r--r--recipes/ovh-cloud/index.js1
-rw-r--r--recipes/ovh-cloud/package.json9
-rw-r--r--recipes/ovh-cloud/service.css1
-rw-r--r--recipes/ovh-cloud/webview.js14
7 files changed, 49 insertions, 0 deletions
diff --git a/recipes/ovh-cloud/LICENSE b/recipes/ovh-cloud/LICENSE
new file mode 100644
index 0000000..99d6f23
--- /dev/null
+++ b/recipes/ovh-cloud/LICENSE
@@ -0,0 +1,21 @@
1MIT License
2
3Copyright (c) 2020 Vijay Raghavan Aravamudhan
4
5Permission is hereby granted, free of charge, to any person obtaining a copy
6of this software and associated documentation files (the "Software"), to deal
7in the Software without restriction, including without limitation the rights
8to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9copies of the Software, and to permit persons to whom the Software is
10furnished to do so, subject to the following conditions:
11
12The above copyright notice and this permission notice shall be included in all
13copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21SOFTWARE.
diff --git a/recipes/ovh-cloud/README.md b/recipes/ovh-cloud/README.md
new file mode 100644
index 0000000..144e5d8
--- /dev/null
+++ b/recipes/ovh-cloud/README.md
@@ -0,0 +1,2 @@
1# ovh-cloud for Ferdi
2This is a Ferdi recipe for ovh-cloud
diff --git a/recipes/ovh-cloud/icon.svg b/recipes/ovh-cloud/icon.svg
new file mode 100644
index 0000000..14b4933
--- /dev/null
+++ b/recipes/ovh-cloud/icon.svg
@@ -0,0 +1 @@
<?xml version="1.0" ?><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title/><path d="M19.881 10.095l2.563-4.45C23.434 7.389 24 9.404 24 11.555c0 2.88-1.017 5.523-2.71 7.594h-6.62l2.04-3.541h-2.696l3.176-5.513h2.691zm-2.32-5.243L9.333 19.14l.003.009H2.709C1.014 17.077 0 14.435 0 11.555c0-2.152.57-4.17 1.561-5.918L5.855 13.1 10.6 4.852h6.961z"/></svg> \ No newline at end of file
diff --git a/recipes/ovh-cloud/index.js b/recipes/ovh-cloud/index.js
new file mode 100644
index 0000000..99219fe
--- /dev/null
+++ b/recipes/ovh-cloud/index.js
@@ -0,0 +1 @@
module.exports = (Ferdi) => class OVHCloud extends Ferdi {};
diff --git a/recipes/ovh-cloud/package.json b/recipes/ovh-cloud/package.json
new file mode 100644
index 0000000..a853f2d
--- /dev/null
+++ b/recipes/ovh-cloud/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "OVHCloud",
3 "name": "OVH Cloud",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://www.ovh.com/auth"
8 }
9}
diff --git a/recipes/ovh-cloud/service.css b/recipes/ovh-cloud/service.css
new file mode 100644
index 0000000..38dcab0
--- /dev/null
+++ b/recipes/ovh-cloud/service.css
@@ -0,0 +1 @@
/* Insert custom styles you want to insert here */ \ No newline at end of file
diff --git a/recipes/ovh-cloud/webview.js b/recipes/ovh-cloud/webview.js
new file mode 100644
index 0000000..ee7d8aa
--- /dev/null
+++ b/recipes/ovh-cloud/webview.js
@@ -0,0 +1,14 @@
1var _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4
5module.exports = Ferdi => {
6 // TODO: If your ovh-cloud service has unread messages, uncomment these lines to implement the logic for updating the badges
7 // const getMessages = function getMessages() {
8 // // TODO: Insert your notification-finding code here
9 // Ferdi.setBadge(0, 0);
10 // };
11 // Ferdi.loop(getMessages);
12
13 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css'));
14};