aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/groupme
diff options
context:
space:
mode:
authorLibravatar Bennett <hello@vantezzen.io>2020-09-22 20:56:48 +0200
committerLibravatar GitHub <noreply@github.com>2020-09-22 19:56:48 +0100
commit6f5e4a00588aefdda7a5a1cfe70935870e7e234a (patch)
tree9e29aa7aa0620a1a4a968ff8739b4b8ba96791a9 /recipes/groupme
parentUpdated logos for Outlook/OWA (diff)
downloadferdium-recipes-6f5e4a00588aefdda7a5a1cfe70935870e7e234a.tar.gz
ferdium-recipes-6f5e4a00588aefdda7a5a1cfe70935870e7e234a.tar.zst
ferdium-recipes-6f5e4a00588aefdda7a5a1cfe70935870e7e234a.zip
Unpack recipes and update recipes icons (#292)
Co-authored-by: Amine Mouafik <amine@mouafik.fr>
Diffstat (limited to 'recipes/groupme')
-rw-r--r--recipes/groupme/README.md5
-rw-r--r--recipes/groupme/icon.pngbin0 -> 31973 bytes
-rw-r--r--recipes/groupme/icon.svg21
-rw-r--r--recipes/groupme/index.js4
-rw-r--r--recipes/groupme/package.json14
-rw-r--r--recipes/groupme/webview.js13
6 files changed, 57 insertions, 0 deletions
diff --git a/recipes/groupme/README.md b/recipes/groupme/README.md
new file mode 100644
index 0000000..9db1316
--- /dev/null
+++ b/recipes/groupme/README.md
@@ -0,0 +1,5 @@
1# GroupMe for Franz
2This is the official Franz recipe for GroupMe
3
4### How to create your own Franz recipes:
5* [Read the documentation](https://github.com/meetfranz/plugins)
diff --git a/recipes/groupme/icon.png b/recipes/groupme/icon.png
new file mode 100644
index 0000000..3322f58
--- /dev/null
+++ b/recipes/groupme/icon.png
Binary files differ
diff --git a/recipes/groupme/icon.svg b/recipes/groupme/icon.svg
new file mode 100644
index 0000000..ca578f8
--- /dev/null
+++ b/recipes/groupme/icon.svg
@@ -0,0 +1,21 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<svg width="80px" height="80px" viewBox="0 0 80 80" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3 <!-- Generator: Sketch 3.7.2 (28276) - http://www.bohemiancoding.com/sketch -->
4 <title>groupme</title>
5 <desc>Created with Sketch.</desc>
6 <defs></defs>
7 <g id="icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8 <g id="groupme" fill="#00A0E9">
9 <g transform="translate(5.000000, 0.000000)" id="Page-1">
10 <g>
11 <g id="PEO-groupme-0">
12 <g id="Group">
13 <rect id="Rectangle-path" x="32.1672471" y="21.9281882" width="5.31087059" height="5.31181176"></rect>
14 <path d="M54.4220235,0.0313411765 L15.2245647,0.0313411765 C6.84395294,0.0313411765 0.0505411765,6.82531765 0.0505411765,15.2053647 L0.0505411765,54.4032 C0.0505411765,62.7829647 6.84385882,69.5769412 15.2245647,69.5769412 L28.2708706,69.5769412 L34.7559529,79.9688471 L41.2425412,69.5769412 L54.4219294,69.5769412 C62.8018824,69.5769412 69.5964235,62.7829647 69.5964235,54.4032 L69.5964235,15.2052706 C69.5965176,6.82522353 62.8019765,0.0313411765 54.4220235,0.0313411765 L54.4220235,0.0313411765 L54.4220235,0.0313411765 Z M20.8143059,27.2399059 L26.4386824,27.2399059 L26.4386824,21.9280941 L20.8143059,21.9280941 L20.8143059,16.2002824 L26.4386824,16.2002824 L26.4386824,10.576 L32.1672471,10.576 L32.1672471,16.2002824 L37.4781176,16.2002824 L37.4781176,10.576 L43.2064,10.576 L43.2064,16.2002824 L48.8301176,16.2002824 L48.8301176,21.9280941 L43.2064,21.9280941 L43.2064,27.2399059 L48.8301176,27.2399059 L48.8301176,32.9673412 L43.2064,32.9673412 L43.2064,38.5918118 L37.4781176,38.5918118 L37.4781176,32.9673412 L32.1672471,32.9673412 L32.1672471,38.5918118 L26.4386824,38.5918118 L26.4386824,32.9673412 L20.8143059,32.9673412 L20.8143059,27.2399059 L20.8143059,27.2399059 L20.8143059,27.2399059 Z M61.1000471,44.7698824 C61.1000471,44.7698824 53.5382588,59.0117647 35.5839059,59.0117647 C35.3353412,59.0117647 35.0901647,59.0086588 34.8458353,59.0042353 C34.6019765,59.0086588 34.3564235,59.0117647 34.1080471,59.0117647 C16.1541647,59.0117647 8.59237647,44.7698824 8.59237647,44.7698824 C8.59237647,44.7698824 8.10296471,43.8424471 8.10296471,42.8426353 C8.07209412,42.1211294 8.42494118,41.0867765 9.35096471,40.4775529 C9.86597647,40.1391059 10.3527529,39.9715765 10.8041412,39.9192471 C12.9660235,39.6898824 14.2189176,41.0976 15.2492235,42.7051294 C16.3871059,44.4788706 22.9513412,52.2503529 34.8456471,52.5477647 C46.7405176,52.2503529 53.3050353,44.4788706 54.4425412,42.7051294 C55.4730353,41.0976 56.7712,39.6875294 58.8879059,39.9192471 C59.3392,39.9715765 59.8263529,40.1391059 60.3408941,40.4775529 C61.2673882,41.0867765 61.6278588,41.9450353 61.5952941,42.8418824 C61.5230118,44.1616 61.1000471,44.7698824 61.1000471,44.7698824 L61.1000471,44.7698824 L61.1000471,44.7698824 Z" id="Shape"></path>
15 </g>
16 </g>
17 </g>
18 </g>
19 </g>
20 </g>
21</svg> \ No newline at end of file
diff --git a/recipes/groupme/index.js b/recipes/groupme/index.js
new file mode 100644
index 0000000..5bf6c97
--- /dev/null
+++ b/recipes/groupme/index.js
@@ -0,0 +1,4 @@
1"use strict";
2
3module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdyb3VwbWUvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWlCQyxTQUFTQSxLQUExQiIsImZpbGUiOiJncm91cG1lL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejtcbiJdfQ== \ No newline at end of file
diff --git a/recipes/groupme/package.json b/recipes/groupme/package.json
new file mode 100644
index 0000000..1098a42
--- /dev/null
+++ b/recipes/groupme/package.json
@@ -0,0 +1,14 @@
1{
2 "id": "groupme",
3 "name": "GroupMe",
4 "version": "1.0.0",
5 "description": "GroupMe",
6 "main": "index.js",
7 "author": "Stefan Malzner <stefan@adlk.io>",
8 "license": "MIT",
9 "config": {
10 "serviceURL": "https://web.groupme.com",
11 "hasNotificationSound": true,
12 "hasDirectMessages": true
13 }
14}
diff --git a/recipes/groupme/webview.js b/recipes/groupme/webview.js
new file mode 100644
index 0000000..b0638df
--- /dev/null
+++ b/recipes/groupme/webview.js
@@ -0,0 +1,13 @@
1'use strict';
2
3module.exports = Franz => {
4 const getMessages = function getMessages() {
5 const directMessages = document.querySelectorAll('.badge-count:not(.ng-hide)').length;
6
7 // set Franz badge
8 Franz.setBadge(directMessages);
9 };
10
11 Franz.loop(getMessages);
12};
13//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdyb3VwbWUvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsImRpcmVjdE1lc3NhZ2VzIiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yQWxsIiwibGVuZ3RoIiwic2V0QmFkZ2UiLCJsb29wIl0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWtCQyxLQUFELElBQVc7QUFDMUIsUUFBTUMsY0FBYyxTQUFTQSxXQUFULEdBQXVCO0FBQ3pDLFVBQU1DLGlCQUFpQkMsU0FBU0MsZ0JBQVQsQ0FBMEIsNEJBQTFCLEVBQXdEQyxNQUEvRTs7QUFFQTtBQUNBTCxVQUFNTSxRQUFOLENBQWVKLGNBQWY7QUFDRCxHQUxEOztBQU9BRixRQUFNTyxJQUFOLENBQVdOLFdBQVg7QUFDRCxDQVREIiwiZmlsZSI6Imdyb3VwbWUvd2Vidmlldy5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gKEZyYW56KSA9PiB7XG4gIGNvbnN0IGdldE1lc3NhZ2VzID0gZnVuY3Rpb24gZ2V0TWVzc2FnZXMoKSB7XG4gICAgY29uc3QgZGlyZWN0TWVzc2FnZXMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuYmFkZ2UtY291bnQ6bm90KC5uZy1oaWRlKScpLmxlbmd0aDtcblxuICAgIC8vIHNldCBGcmFueiBiYWRnZVxuICAgIEZyYW56LnNldEJhZGdlKGRpcmVjdE1lc3NhZ2VzKTtcbiAgfTtcblxuICBGcmFuei5sb29wKGdldE1lc3NhZ2VzKTtcbn07XG4iXX0= \ No newline at end of file