From f0e0b592a038e31038bb008b483714ca5bb57b50 Mon Sep 17 00:00:00 2001 From: Bennett Date: Sun, 4 Oct 2020 16:38:03 +0200 Subject: Add TickTick --- recipes/ticktick/LICENSE | 21 +++ recipes/ticktick/README.md | 18 ++ recipes/ticktick/icon.png | Bin 0 -> 41509 bytes recipes/ticktick/icon.svg | 393 ++++++++++++++++++++++++++++++++++++++++++ recipes/ticktick/index.js | 2 + recipes/ticktick/package.json | 12 ++ recipes/ticktick/webview.js | 10 ++ 7 files changed, 456 insertions(+) create mode 100644 recipes/ticktick/LICENSE create mode 100644 recipes/ticktick/README.md create mode 100644 recipes/ticktick/icon.png create mode 100644 recipes/ticktick/icon.svg create mode 100644 recipes/ticktick/index.js create mode 100644 recipes/ticktick/package.json create mode 100644 recipes/ticktick/webview.js diff --git a/recipes/ticktick/LICENSE b/recipes/ticktick/LICENSE new file mode 100644 index 0000000..b0958eb --- /dev/null +++ b/recipes/ticktick/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Jonas H. + +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: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +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. diff --git a/recipes/ticktick/README.md b/recipes/ticktick/README.md new file mode 100644 index 0000000..5a70dff --- /dev/null +++ b/recipes/ticktick/README.md @@ -0,0 +1,18 @@ +# TickTick Franz Plugin +Recipe for [TickTick](https://www.ticktick.com/) integration with [Franz](http://meetfranz.com) + +## Requirements +This recipe only works for Franz 5.X, get it now at http://meetfranz.com + +## How to test this recipe +1. To install a new integration, download the integration folder. +2. Open the Franz Plugins folder on your machine: + * Mac: `~/Library/Application Support/Franz/recipes/dev/` + * Windows: `%appdata%/Franz/recipes/dev/` +3. Copy the folder into the plugins directory +4. Reload Franz + +## Documentation +* [Read the documentation](https://github.com/meetfranz/plugins/blob/master/docs/integration.md) + +**_All images are copyright to their respective owners_** diff --git a/recipes/ticktick/icon.png b/recipes/ticktick/icon.png new file mode 100644 index 0000000..5169cf5 Binary files /dev/null and b/recipes/ticktick/icon.png differ diff --git a/recipes/ticktick/icon.svg b/recipes/ticktick/icon.svg new file mode 100644 index 0000000..42ed646 --- /dev/null +++ b/recipes/ticktick/icon.svg @@ -0,0 +1,393 @@ + + + + diff --git a/recipes/ticktick/index.js b/recipes/ticktick/index.js new file mode 100644 index 0000000..886d7f6 --- /dev/null +++ b/recipes/ticktick/index.js @@ -0,0 +1,2 @@ +// default integration (e.g messenger.com, ...) +module.exports = Franz => Franz; \ No newline at end of file diff --git a/recipes/ticktick/package.json b/recipes/ticktick/package.json new file mode 100644 index 0000000..3fa2690 --- /dev/null +++ b/recipes/ticktick/package.json @@ -0,0 +1,12 @@ +{ + "id": "TickTick", + "name": "TickTick", + "version": "1.1.0", + "description": "Integration of TickTick", + "main": "index.js", + "author": "Jonas Hilke ", + "license": "MIT", + "config": { + "serviceURL": "https://www.ticktick.com/#p/inbox/tasks" + } +} diff --git a/recipes/ticktick/webview.js b/recipes/ticktick/webview.js new file mode 100644 index 0000000..ba52883 --- /dev/null +++ b/recipes/ticktick/webview.js @@ -0,0 +1,10 @@ +module.exports = (Franz) => { + const getMessages = function getMessages() { +//all overdue items are being counted + const count = document.querySelectorAll('.duedate-overdue').length; + + Franz.setBadge(count); + + }; + Franz.loop(getMessages); +}; -- cgit v1.2.3-70-g09d2 From 4807593a21bb1344ea64769c6ad640a8cb27a78e Mon Sep 17 00:00:00 2001 From: Bennett Date: Sun, 4 Oct 2020 16:38:12 +0200 Subject: Add DevDocs --- recipes/devdocs/README.md | 2 ++ recipes/devdocs/icon.png | Bin 0 -> 571509 bytes recipes/devdocs/icon.svg | 10 ++++++++++ recipes/devdocs/index.js | 2 ++ recipes/devdocs/package.json | 12 ++++++++++++ recipes/devdocs/webview.js | 4 ++++ 6 files changed, 30 insertions(+) create mode 100644 recipes/devdocs/README.md create mode 100644 recipes/devdocs/icon.png create mode 100644 recipes/devdocs/icon.svg create mode 100644 recipes/devdocs/index.js create mode 100644 recipes/devdocs/package.json create mode 100644 recipes/devdocs/webview.js diff --git a/recipes/devdocs/README.md b/recipes/devdocs/README.md new file mode 100644 index 0000000..4d6cdb8 --- /dev/null +++ b/recipes/devdocs/README.md @@ -0,0 +1,2 @@ +# DevDocs for Ferdi +This is a Ferdi recipe for DevDocs diff --git a/recipes/devdocs/icon.png b/recipes/devdocs/icon.png new file mode 100644 index 0000000..05e65d9 Binary files /dev/null and b/recipes/devdocs/icon.png differ diff --git a/recipes/devdocs/icon.svg b/recipes/devdocs/icon.svg new file mode 100644 index 0000000..66af36e --- /dev/null +++ b/recipes/devdocs/icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/recipes/devdocs/index.js b/recipes/devdocs/index.js new file mode 100644 index 0000000..91113e0 --- /dev/null +++ b/recipes/devdocs/index.js @@ -0,0 +1,2 @@ +module.exports = Ferdi => class devdocs extends Ferdi { +}; diff --git a/recipes/devdocs/package.json b/recipes/devdocs/package.json new file mode 100644 index 0000000..2094584 --- /dev/null +++ b/recipes/devdocs/package.json @@ -0,0 +1,12 @@ +{ + "id": "devdocs", + "name": "DevDocs", + "version": "1.0.0", + "description": "devdocs", + "main": "index.js", + "author": "Ferdi ", + "license": "MIT", + "config": { + "serviceURL": "https://devdocs.io" + } +} diff --git a/recipes/devdocs/webview.js b/recipes/devdocs/webview.js new file mode 100644 index 0000000..7b5fee0 --- /dev/null +++ b/recipes/devdocs/webview.js @@ -0,0 +1,4 @@ +"use strict"; + +module.exports = Ferdi => { +}; -- cgit v1.2.3-70-g09d2 From 07d6c7308dc43a1b1870a7085949b37596a69eb1 Mon Sep 17 00:00:00 2001 From: Bennett Date: Sun, 4 Oct 2020 16:38:21 +0200 Subject: Add Figma --- recipes/figma/README.md | 2 ++ recipes/figma/icon.png | Bin 0 -> 54809 bytes recipes/figma/icon.svg | 8 ++++++++ recipes/figma/index.js | 2 ++ recipes/figma/package.json | 12 ++++++++++++ recipes/figma/webview.js | 4 ++++ 6 files changed, 28 insertions(+) create mode 100644 recipes/figma/README.md create mode 100644 recipes/figma/icon.png create mode 100644 recipes/figma/icon.svg create mode 100644 recipes/figma/index.js create mode 100644 recipes/figma/package.json create mode 100644 recipes/figma/webview.js diff --git a/recipes/figma/README.md b/recipes/figma/README.md new file mode 100644 index 0000000..541d6e5 --- /dev/null +++ b/recipes/figma/README.md @@ -0,0 +1,2 @@ +# Figma for Ferdi +This is a Ferdi recipe for Figma diff --git a/recipes/figma/icon.png b/recipes/figma/icon.png new file mode 100644 index 0000000..5ae2983 Binary files /dev/null and b/recipes/figma/icon.png differ diff --git a/recipes/figma/icon.svg b/recipes/figma/icon.svg new file mode 100644 index 0000000..7b2ecf0 --- /dev/null +++ b/recipes/figma/icon.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/recipes/figma/index.js b/recipes/figma/index.js new file mode 100644 index 0000000..734a454 --- /dev/null +++ b/recipes/figma/index.js @@ -0,0 +1,2 @@ +module.exports = Ferdi => class figma extends Ferdi { +}; diff --git a/recipes/figma/package.json b/recipes/figma/package.json new file mode 100644 index 0000000..15d844b --- /dev/null +++ b/recipes/figma/package.json @@ -0,0 +1,12 @@ +{ + "id": "figma", + "name": "Figma", + "version": "1.0.0", + "description": "figma", + "main": "index.js", + "author": "Ferdi ", + "license": "MIT", + "config": { + "serviceURL": "https://figma.com" + } +} diff --git a/recipes/figma/webview.js b/recipes/figma/webview.js new file mode 100644 index 0000000..7b5fee0 --- /dev/null +++ b/recipes/figma/webview.js @@ -0,0 +1,4 @@ +"use strict"; + +module.exports = Ferdi => { +}; -- cgit v1.2.3-70-g09d2 From 7e2c0935d2b78db34bbd5749b807eb10a1e32f0c Mon Sep 17 00:00:00 2001 From: Bennett Date: Sun, 4 Oct 2020 16:38:30 +0200 Subject: Add iCloud Reminders --- recipes/icloud-reminders/README.md | 2 ++ recipes/icloud-reminders/icon.png | Bin 0 -> 110185 bytes recipes/icloud-reminders/icon.svg | 8 ++++++++ recipes/icloud-reminders/index.js | 2 ++ recipes/icloud-reminders/package.json | 12 ++++++++++++ recipes/icloud-reminders/webview.js | 4 ++++ 6 files changed, 28 insertions(+) create mode 100644 recipes/icloud-reminders/README.md create mode 100644 recipes/icloud-reminders/icon.png create mode 100644 recipes/icloud-reminders/icon.svg create mode 100644 recipes/icloud-reminders/index.js create mode 100644 recipes/icloud-reminders/package.json create mode 100644 recipes/icloud-reminders/webview.js diff --git a/recipes/icloud-reminders/README.md b/recipes/icloud-reminders/README.md new file mode 100644 index 0000000..47181eb --- /dev/null +++ b/recipes/icloud-reminders/README.md @@ -0,0 +1,2 @@ +# iCloud Reminders for Ferdi +This is a Ferdi recipe for iCloud Reminders diff --git a/recipes/icloud-reminders/icon.png b/recipes/icloud-reminders/icon.png new file mode 100644 index 0000000..43ff42c Binary files /dev/null and b/recipes/icloud-reminders/icon.png differ diff --git a/recipes/icloud-reminders/icon.svg b/recipes/icloud-reminders/icon.svg new file mode 100644 index 0000000..d2a4486 --- /dev/null +++ b/recipes/icloud-reminders/icon.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/recipes/icloud-reminders/index.js b/recipes/icloud-reminders/index.js new file mode 100644 index 0000000..f26900d --- /dev/null +++ b/recipes/icloud-reminders/index.js @@ -0,0 +1,2 @@ +module.exports = Ferdi => class icloudreminders extends Ferdi { +}; diff --git a/recipes/icloud-reminders/package.json b/recipes/icloud-reminders/package.json new file mode 100644 index 0000000..b41dd60 --- /dev/null +++ b/recipes/icloud-reminders/package.json @@ -0,0 +1,12 @@ +{ + "id": "icloud-reminders", + "name": "iCloud Reminders", + "version": "1.0.0", + "description": "icloud-reminders", + "main": "index.js", + "author": "Ferdi ", + "license": "MIT", + "config": { + "serviceURL": "https://www.icloud.com/reminders" + } +} diff --git a/recipes/icloud-reminders/webview.js b/recipes/icloud-reminders/webview.js new file mode 100644 index 0000000..7b5fee0 --- /dev/null +++ b/recipes/icloud-reminders/webview.js @@ -0,0 +1,4 @@ +"use strict"; + +module.exports = Ferdi => { +}; -- cgit v1.2.3-70-g09d2 From 6c0449e4e524f26d392c84ea0dcab8d43d19f042 Mon Sep 17 00:00:00 2001 From: Bennett Date: Sun, 4 Oct 2020 16:38:36 +0200 Subject: Add OneNote --- recipes/onenote/README.md | 2 ++ recipes/onenote/icon.png | Bin 0 -> 233094 bytes recipes/onenote/icon.svg | 37 +++++++++++++++++++++++++++++++++++++ recipes/onenote/index.js | 2 ++ recipes/onenote/package.json | 12 ++++++++++++ recipes/onenote/service.css | 1 + recipes/onenote/webview.js | 15 +++++++++++++++ 7 files changed, 69 insertions(+) create mode 100644 recipes/onenote/README.md create mode 100644 recipes/onenote/icon.png create mode 100644 recipes/onenote/icon.svg create mode 100644 recipes/onenote/index.js create mode 100644 recipes/onenote/package.json create mode 100644 recipes/onenote/service.css create mode 100644 recipes/onenote/webview.js diff --git a/recipes/onenote/README.md b/recipes/onenote/README.md new file mode 100644 index 0000000..c102cd1 --- /dev/null +++ b/recipes/onenote/README.md @@ -0,0 +1,2 @@ +# OneNote for Ferdi +This is a Ferdi recipe for OneNote diff --git a/recipes/onenote/icon.png b/recipes/onenote/icon.png new file mode 100644 index 0000000..6beacc1 Binary files /dev/null and b/recipes/onenote/icon.png differ diff --git a/recipes/onenote/icon.svg b/recipes/onenote/icon.svg new file mode 100644 index 0000000..1e268d3 --- /dev/null +++ b/recipes/onenote/icon.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/recipes/onenote/index.js b/recipes/onenote/index.js new file mode 100644 index 0000000..b322187 --- /dev/null +++ b/recipes/onenote/index.js @@ -0,0 +1,2 @@ +module.exports = Ferdi => class onenote extends Ferdi { +}; diff --git a/recipes/onenote/package.json b/recipes/onenote/package.json new file mode 100644 index 0000000..70fda8f --- /dev/null +++ b/recipes/onenote/package.json @@ -0,0 +1,12 @@ +{ + "id": "onenote", + "name": "OneNote", + "version": "1.0.0", + "description": "onenote", + "main": "index.js", + "author": "Ferdi ", + "license": "MIT", + "config": { + "serviceURL": "https://onenote.com" + } +} diff --git a/recipes/onenote/service.css b/recipes/onenote/service.css new file mode 100644 index 0000000..38dcab0 --- /dev/null +++ b/recipes/onenote/service.css @@ -0,0 +1 @@ +/* Insert custom styles you want to insert here */ \ No newline at end of file diff --git a/recipes/onenote/webview.js b/recipes/onenote/webview.js new file mode 100644 index 0000000..ddd0b40 --- /dev/null +++ b/recipes/onenote/webview.js @@ -0,0 +1,15 @@ +"use strict"; + +var _path = _interopRequireDefault(require("path")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +module.exports = Ferdi => { + const getMessages = function getMessages() { + // TODO: Insert your notification-finding code here + Ferdi.setBadge(0, 0); + }; + + Ferdi.loop(getMessages); + Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); +}; -- cgit v1.2.3-70-g09d2