aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--all.json11
-rw-r--r--evernote.tar.gzbin0 -> 22738 bytes
-rw-r--r--uncompressed/evernote/LICENSE21
-rw-r--r--uncompressed/evernote/README.md20
-rw-r--r--uncompressed/evernote/css/franz.css3
-rw-r--r--uncompressed/evernote/icon.pngbin0 -> 23502 bytes
-rw-r--r--uncompressed/evernote/icon.svg22
-rw-r--r--uncompressed/evernote/index.js2
-rw-r--r--uncompressed/evernote/package.json13
-rw-r--r--uncompressed/evernote/webview.js18
10 files changed, 110 insertions, 0 deletions
diff --git a/all.json b/all.json
index 5361cdb..40bc396 100644
--- a/all.json
+++ b/all.json
@@ -1021,5 +1021,16 @@
1021 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/zoho/icon.png", 1021 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/zoho/icon.png",
1022 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/zoho/icon.svg" 1022 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/zoho/icon.svg"
1023 } 1023 }
1024 },
1025 {
1026 "author": "concon",
1027 "featured": false,
1028 "id": "evernote",
1029 "name": "Evernote",
1030 "version": "1.0.0",
1031 "icons": {
1032 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/evernote/icon.png",
1033 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/evernote/icon.svg"
1034 }
1024 } 1035 }
1025] 1036]
diff --git a/evernote.tar.gz b/evernote.tar.gz
new file mode 100644
index 0000000..a3ab132
--- /dev/null
+++ b/evernote.tar.gz
Binary files differ
diff --git a/uncompressed/evernote/LICENSE b/uncompressed/evernote/LICENSE
new file mode 100644
index 0000000..7c2e393
--- /dev/null
+++ b/uncompressed/evernote/LICENSE
@@ -0,0 +1,21 @@
1MIT License
2
3Copyright (c) 2018 Connor
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/uncompressed/evernote/README.md b/uncompressed/evernote/README.md
new file mode 100644
index 0000000..11dc447
--- /dev/null
+++ b/uncompressed/evernote/README.md
@@ -0,0 +1,20 @@
1# Evernote for Franz
2This is the Franz 5 Recipe for Evernote
3
4## Requirements
5This recipe only works for Franz 5.X, find it at http://meetfranz.com
6
7## Installation
8
91. Clone/download the folder `franz-recipe-evernote`.
10
112. Open the Franz Recipe folder on your machine:
12 * Mac: `~/Library/Application Support/Franz/recipes/`
13 * Windows: `%appdata%/Franz/recipes/`
14 * Linux: `~/.config/Franz/recipes/`
15
163. Create a `dev` folder if you have not already done so
17
183. Unzip and copy the `franz-recipe-evernote` folder into the recipes dev directory
19
204. Restart or reload Franz
diff --git a/uncompressed/evernote/css/franz.css b/uncompressed/evernote/css/franz.css
new file mode 100644
index 0000000..09e72fb
--- /dev/null
+++ b/uncompressed/evernote/css/franz.css
@@ -0,0 +1,3 @@
1footer {
2 display: none !important;
3}
diff --git a/uncompressed/evernote/icon.png b/uncompressed/evernote/icon.png
new file mode 100644
index 0000000..100c4a3
--- /dev/null
+++ b/uncompressed/evernote/icon.png
Binary files differ
diff --git a/uncompressed/evernote/icon.svg b/uncompressed/evernote/icon.svg
new file mode 100644
index 0000000..7135d64
--- /dev/null
+++ b/uncompressed/evernote/icon.svg
@@ -0,0 +1,22 @@
1<?xml version="1.0" standalone="no"?>
2<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5 width="148.000000pt" height="140.000000pt" viewBox="0 0 148.000000 140.000000"
6 preserveAspectRatio="xMidYMid meet">
7
8<g transform="translate(0.000000,140.000000) scale(0.100000,-0.100000)"
9fill="#000000" stroke="none">
10<path d="M545 1235 c-24 -23 -25 -30 -25 -145 0 -161 1 -160 -156 -160 -63 0
11-124 -4 -134 -10 -36 -19 -41 -67 -21 -168 31 -149 66 -204 164 -253 53 -28
12152 -42 194 -28 34 11 64 51 86 115 l14 38 18 -31 c21 -36 74 -68 130 -78 86
13-15 135 -66 135 -138 0 -31 -7 -46 -34 -73 -44 -44 -94 -47 -132 -9 -24 24
14-25 28 -11 48 8 12 24 23 36 25 29 5 45 36 31 62 -23 43 -119 11 -152 -51 -52
15-96 16 -195 142 -207 110 -10 218 62 259 174 32 84 45 265 32 438 -15 192 -28
16261 -58 297 -37 44 -67 56 -201 80 -106 20 -122 25 -131 46 -24 53 -143 72
17-186 28z m433 -457 c7 -7 12 -21 12 -31 0 -18 -5 -19 -52 -13 -63 9 -75 18
18-53 40 19 19 76 21 93 4z"/>
19<path d="M360 1085 l-125 -125 110 0 c61 0 117 5 125 10 11 7 16 33 18 97 7
20162 15 161 -128 18z"/>
21</g>
22</svg>
diff --git a/uncompressed/evernote/index.js b/uncompressed/evernote/index.js
new file mode 100644
index 0000000..46f936f
--- /dev/null
+++ b/uncompressed/evernote/index.js
@@ -0,0 +1,2 @@
1// just pass through Franz
2module.exports = Franz => Franz;
diff --git a/uncompressed/evernote/package.json b/uncompressed/evernote/package.json
new file mode 100644
index 0000000..fb9d0ba
--- /dev/null
+++ b/uncompressed/evernote/package.json
@@ -0,0 +1,13 @@
1{
2 "id": "evernote",
3 "name": "Evernote",
4 "version": "1.0.0",
5 "description": "Evernote",
6 "main": "index.js",
7 "author": "concon",
8 "license": "MIT",
9 "config": {
10 "serviceURL": "https://www.evernote.com/Login.action",
11 "hasTeamID": false
12 }
13} \ No newline at end of file
diff --git a/uncompressed/evernote/webview.js b/uncompressed/evernote/webview.js
new file mode 100644
index 0000000..60742ca
--- /dev/null
+++ b/uncompressed/evernote/webview.js
@@ -0,0 +1,18 @@
1const path = require('path');
2
3module.exports = (Franz, options) => {
4 const getMessages = () => {
5 const inbox = document.querySelector('.topbar-notificationsButton.has-newNotifications');
6 const passiveCount = inbox === null ? 0 : 1;
7 // set Franz badge
8 // updates => active unread count
9 // inbox => passive unread count
10 Franz.setBadge(0, passiveCount);
11 };
12
13 // inject franz.css stylesheet
14 Franz.injectCSS(path.join(__dirname, 'css', 'franz.css'));
15
16 // check for new messages every second and update Franz badge
17 Franz.loop(getMessages);
18};