diff options
-rw-r--r-- | all.json | 11 | ||||
-rw-r--r-- | archives/nextdoor.tar.gz | bin | 0 -> 11748 bytes | |||
-rw-r--r-- | uncompressed/nextdoor/README.md | 5 | ||||
-rw-r--r-- | uncompressed/nextdoor/icon.png | bin | 0 -> 14617 bytes | |||
-rw-r--r-- | uncompressed/nextdoor/icon.svg | 1 | ||||
-rw-r--r-- | uncompressed/nextdoor/index.js | 3 | ||||
-rw-r--r-- | uncompressed/nextdoor/package.json | 14 | ||||
-rw-r--r-- | uncompressed/nextdoor/webview.js | 10 |
8 files changed, 44 insertions, 0 deletions
@@ -550,6 +550,17 @@ | |||
550 | } | 550 | } |
551 | }, | 551 | }, |
552 | { | 552 | { |
553 | "author": "Jake Lee <ferdi@jakelee.co.uk>", | ||
554 | "featured": false, | ||
555 | "id": "nextdoor", | ||
556 | "name": "Nextdoor", | ||
557 | "version": "1.0.0", | ||
558 | "icons": { | ||
559 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/nextdoor/icon.png", | ||
560 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/nextdoor/icon.svg" | ||
561 | } | ||
562 | }, | ||
563 | { | ||
553 | "author": "Adam Birds <adam.birds@adbtechltd.co.uk>", | 564 | "author": "Adam Birds <adam.birds@adbtechltd.co.uk>", |
554 | "featured": false, | 565 | "featured": false, |
555 | "id": "office365-owa", | 566 | "id": "office365-owa", |
diff --git a/archives/nextdoor.tar.gz b/archives/nextdoor.tar.gz new file mode 100644 index 0000000..2670849 --- /dev/null +++ b/archives/nextdoor.tar.gz | |||
Binary files differ | |||
diff --git a/uncompressed/nextdoor/README.md b/uncompressed/nextdoor/README.md new file mode 100644 index 0000000..c137e14 --- /dev/null +++ b/uncompressed/nextdoor/README.md | |||
@@ -0,0 +1,5 @@ | |||
1 | # Nextdoor for Ferdi | ||
2 | This is the unofficial Ferdi recipe for Nextdoor | ||
3 | |||
4 | ### How to create your own Ferdi recipes: | ||
5 | * [Read the documentation](https://github.com/getferdi/recipes/blob/master/docs/integration.md) | ||
diff --git a/uncompressed/nextdoor/icon.png b/uncompressed/nextdoor/icon.png new file mode 100644 index 0000000..690e419 --- /dev/null +++ b/uncompressed/nextdoor/icon.png | |||
Binary files differ | |||
diff --git a/uncompressed/nextdoor/icon.svg b/uncompressed/nextdoor/icon.svg new file mode 100644 index 0000000..9766fd0 --- /dev/null +++ b/uncompressed/nextdoor/icon.svg | |||
@@ -0,0 +1 @@ | |||
<svg xmlns="http://www.w3.org/2000/svg" width="66px" height="52px" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 66 52" fill="#fff" fill-rule="evenodd" stroke="#000" stroke-linecap="round" stroke-linejoin="round"><use xlink:href="#A" x=".5" y=".5"/><symbol id="A" overflow="visible"><path d="M0 19.42a4.18 4.18 0 0 0 .82-.343l9.538-5.894a6.31 6.31 0 0 0 .477-.4V.134h10.168v6.524L32 0l32 19.6-5.265 8.622-5.475-3.338h-.172a.21.21 0 0 0 0 .114v25.58c-1.068.267-38.343.362-41.967.134v-.486q0-12.533 0-25.104l-.114-.23-5.76 3.32L3.1 24.8c-.916-1.488-1.908-2.976-2.766-4.464A1.91 1.91 0 0 0 0 19.934z" stroke="none" fill="#00b340" fill-rule="nonzero"/></symbol></svg> \ No newline at end of file | |||
diff --git a/uncompressed/nextdoor/index.js b/uncompressed/nextdoor/index.js new file mode 100644 index 0000000..e8243fb --- /dev/null +++ b/uncompressed/nextdoor/index.js | |||
@@ -0,0 +1,3 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => Franz; \ No newline at end of file | ||
diff --git a/uncompressed/nextdoor/package.json b/uncompressed/nextdoor/package.json new file mode 100644 index 0000000..42a2554 --- /dev/null +++ b/uncompressed/nextdoor/package.json | |||
@@ -0,0 +1,14 @@ | |||
1 | { | ||
2 | "id": "nextdoor", | ||
3 | "name": "Nextdoor", | ||
4 | "version": "1.0.0", | ||
5 | "description": "Nextdoor", | ||
6 | "main": "index.js", | ||
7 | "author": "Jake Lee <ferdi@jakelee.co.uk>", | ||
8 | "license": "MIT", | ||
9 | "config": { | ||
10 | "serviceURL": "https://nextdoor.co.uk/inbox/", | ||
11 | "hasTeamId": false, | ||
12 | "hasNotificationSound": false | ||
13 | } | ||
14 | } | ||
diff --git a/uncompressed/nextdoor/webview.js b/uncompressed/nextdoor/webview.js new file mode 100644 index 0000000..2e27548 --- /dev/null +++ b/uncompressed/nextdoor/webview.js | |||
@@ -0,0 +1,10 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => { | ||
4 | const getMessages = function getMessages() { | ||
5 | const unread = document.getElementsByClassName('notification-badge')[0].innerText; | ||
6 | Franz.setBadge(parseInt(unread, 10)); | ||
7 | }; | ||
8 | |||
9 | Franz.loop(getMessages); | ||
10 | }; \ No newline at end of file | ||