diff options
Diffstat (limited to 'recipes/google-keep')
-rw-r--r-- | recipes/google-keep/LICENSE | 7 | ||||
-rw-r--r-- | recipes/google-keep/icon.svg | 1 | ||||
-rw-r--r-- | recipes/google-keep/index.js | 1 | ||||
-rw-r--r-- | recipes/google-keep/package.json | 9 | ||||
-rw-r--r-- | recipes/google-keep/webview.js | 16 |
5 files changed, 34 insertions, 0 deletions
diff --git a/recipes/google-keep/LICENSE b/recipes/google-keep/LICENSE new file mode 100644 index 0000000..8d55d49 --- /dev/null +++ b/recipes/google-keep/LICENSE | |||
@@ -0,0 +1,7 @@ | |||
1 | Copyright 2017 SiloCityLabs LLC | ||
2 | |||
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
4 | |||
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
6 | |||
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file | ||
diff --git a/recipes/google-keep/icon.svg b/recipes/google-keep/icon.svg new file mode 100644 index 0000000..20c040f --- /dev/null +++ b/recipes/google-keep/icon.svg | |||
@@ -0,0 +1 @@ | |||
<svg height="528" viewBox="0 0 48 48" width="528" xmlns="http://www.w3.org/2000/svg"><path d="M9 42h23l10-10V9a3 3 0 0 0-3-3H9a3 3 0 0 0-3 3v30a3 3 0 0 0 3 3z" fill="#ffc107"/><path d="M32 42V32h10z" fill="#ffecb3"/><path d="M32 20a8 8 0 0 0-16 0 8.002 8.002 0 0 0 5 7.414V35h6v-7.586A8.002 8.002 0 0 0 32 20z" fill="none" stroke="#fff" stroke-miterlimit="10" stroke-width="2"/><path d="M22 35h4v3h-4z" fill="#fff"/><path d="M21 31h6" fill="none" stroke="#fff" stroke-miterlimit="10" stroke-width="2"/></svg> \ No newline at end of file | |||
diff --git a/recipes/google-keep/index.js b/recipes/google-keep/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/google-keep/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = Ferdium => Ferdium; | |||
diff --git a/recipes/google-keep/package.json b/recipes/google-keep/package.json new file mode 100644 index 0000000..97aaa7c --- /dev/null +++ b/recipes/google-keep/package.json | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "id": "google-keep", | ||
3 | "name": "Google Keep", | ||
4 | "version": "1.4.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://keep.google.com/u/0/" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/google-keep/webview.js b/recipes/google-keep/webview.js new file mode 100644 index 0000000..2a81dec --- /dev/null +++ b/recipes/google-keep/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
9 | // const getMessages = () => { | ||
10 | // // TODO: Insert your notification-finding code here | ||
11 | // Ferdium.setBadge(0, 0); | ||
12 | // }; | ||
13 | // Ferdium.loop(getMessages); | ||
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
16 | }; | ||