diff options
author | 2021-08-28 13:09:31 +0200 | |
---|---|---|
committer | 2021-08-28 16:39:31 +0530 | |
commit | 3e9946634d42d34c86a845e9887a659963e233d4 (patch) | |
tree | 9129fe6737fa63256f8c456f186081413e952359 /recipes/docker | |
parent | New recipe: bitwarden (#647) (diff) | |
download | ferdium-recipes-3e9946634d42d34c86a845e9887a659963e233d4.tar.gz ferdium-recipes-3e9946634d42d34c86a845e9887a659963e233d4.tar.zst ferdium-recipes-3e9946634d42d34c86a845e9887a659963e233d4.zip |
New recipe: docker (docker hub) (#644)
Co-authored-by: oda-alexandre <oda-alexandre31@gmail.com>
Co-authored-by: Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>
Diffstat (limited to 'recipes/docker')
-rw-r--r-- | recipes/docker/LICENSE | 21 | ||||
-rw-r--r-- | recipes/docker/README.md | 2 | ||||
-rw-r--r-- | recipes/docker/icon.svg | 52 | ||||
-rw-r--r-- | recipes/docker/index.js | 1 | ||||
-rw-r--r-- | recipes/docker/package.json | 9 | ||||
-rw-r--r-- | recipes/docker/service.css | 1 | ||||
-rw-r--r-- | recipes/docker/webview.js | 14 |
7 files changed, 100 insertions, 0 deletions
diff --git a/recipes/docker/LICENSE b/recipes/docker/LICENSE new file mode 100644 index 0000000..99d6f23 --- /dev/null +++ b/recipes/docker/LICENSE | |||
@@ -0,0 +1,21 @@ | |||
1 | MIT License | ||
2 | |||
3 | Copyright (c) 2020 Vijay Raghavan Aravamudhan | ||
4 | |||
5 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
6 | of this software and associated documentation files (the "Software"), to deal | ||
7 | in the Software without restriction, including without limitation the rights | ||
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
9 | copies of the Software, and to permit persons to whom the Software is | ||
10 | furnished to do so, subject to the following conditions: | ||
11 | |||
12 | The above copyright notice and this permission notice shall be included in all | ||
13 | copies or substantial portions of the Software. | ||
14 | |||
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
21 | SOFTWARE. | ||
diff --git a/recipes/docker/README.md b/recipes/docker/README.md new file mode 100644 index 0000000..94a09ef --- /dev/null +++ b/recipes/docker/README.md | |||
@@ -0,0 +1,2 @@ | |||
1 | # docker for Ferdi | ||
2 | This is a Ferdi recipe for docker | ||
diff --git a/recipes/docker/icon.svg b/recipes/docker/icon.svg new file mode 100644 index 0000000..e04cb87 --- /dev/null +++ b/recipes/docker/icon.svg | |||
@@ -0,0 +1,52 @@ | |||
1 | <?xml version="1.0" encoding="iso-8859-1"?> | ||
2 | <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | ||
3 | <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | ||
4 | viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"> | ||
5 | <path style="fill:#006BC0;" d="M512,256c0,141.385-114.615,256-256,256S0,397.385,0,256S114.615,0,256,0 | ||
6 | c130.497,0,238.184,97.646,253.994,223.859c1.149,9.122,1.818,18.39,1.964,27.784C511.99,253.095,512,254.548,512,256z"/> | ||
7 | <g> | ||
8 | <path style="fill:#F2F2F2;" d="M511.958,251.643c-21.859,26.624-64.69,24.545-64.69,24.545 | ||
9 | c-26.415,113.8-185.94,171.719-296.699,143.266C39.821,391.011,55.056,258.915,55.056,258.915h324.138 | ||
10 | c26.749,0,28.787-8.129,28.787-8.129c-23.709-56.226,12.873-86.371,12.873-86.371c28.453,5.089,35.558,53.854,35.558,53.854 | ||
11 | c23.353-4.19,42.109,0.794,53.582,5.59C511.143,232.981,511.812,242.249,511.958,251.643z"/> | ||
12 | <rect x="89.6" y="207.433" style="fill:#F2F2F2;" width="45.39" height="41.32"/> | ||
13 | <rect x="146.641" y="207.433" style="fill:#F2F2F2;" width="45.39" height="41.32"/> | ||
14 | <rect x="317.743" y="207.433" style="fill:#F2F2F2;" width="45.39" height="41.32"/> | ||
15 | <rect x="260.712" y="207.433" style="fill:#F2F2F2;" width="45.39" height="41.32"/> | ||
16 | <rect x="260.712" y="101.763" style="fill:#F2F2F2;" width="45.39" height="41.32"/> | ||
17 | <rect x="203.671" y="207.433" style="fill:#F2F2F2;" width="45.39" height="41.32"/> | ||
18 | <rect x="146.641" y="154.593" style="fill:#F2F2F2;" width="45.39" height="41.32"/> | ||
19 | <rect x="260.712" y="154.593" style="fill:#F2F2F2;" width="45.39" height="41.32"/> | ||
20 | <rect x="203.671" y="154.593" style="fill:#F2F2F2;" width="45.39" height="41.32"/> | ||
21 | </g> | ||
22 | <g> | ||
23 | </g> | ||
24 | <g> | ||
25 | </g> | ||
26 | <g> | ||
27 | </g> | ||
28 | <g> | ||
29 | </g> | ||
30 | <g> | ||
31 | </g> | ||
32 | <g> | ||
33 | </g> | ||
34 | <g> | ||
35 | </g> | ||
36 | <g> | ||
37 | </g> | ||
38 | <g> | ||
39 | </g> | ||
40 | <g> | ||
41 | </g> | ||
42 | <g> | ||
43 | </g> | ||
44 | <g> | ||
45 | </g> | ||
46 | <g> | ||
47 | </g> | ||
48 | <g> | ||
49 | </g> | ||
50 | <g> | ||
51 | </g> | ||
52 | </svg> | ||
diff --git a/recipes/docker/index.js b/recipes/docker/index.js new file mode 100644 index 0000000..6bff43a --- /dev/null +++ b/recipes/docker/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = (Ferdi) => class DockerHub extends Ferdi {}; | |||
diff --git a/recipes/docker/package.json b/recipes/docker/package.json new file mode 100644 index 0000000..6b33abe --- /dev/null +++ b/recipes/docker/package.json | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "id": "dockerhub", | ||
3 | "name": "Docker Hub", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://hub.docker.com" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/docker/service.css b/recipes/docker/service.css new file mode 100644 index 0000000..38dcab0 --- /dev/null +++ b/recipes/docker/service.css | |||
@@ -0,0 +1 @@ | |||
/* Insert custom styles you want to insert here */ \ No newline at end of file | |||
diff --git a/recipes/docker/webview.js b/recipes/docker/webview.js new file mode 100644 index 0000000..1fd69e8 --- /dev/null +++ b/recipes/docker/webview.js | |||
@@ -0,0 +1,14 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | // TODO: If your docker hub 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 | }; | ||