aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Muhammadhussein Ammari <xmha97@gmail.com>2024-05-26 05:58:16 +0330
committerLibravatar GitHub <noreply@github.com>2024-05-26 07:58:16 +0530
commite335a7c29864498896c6d3992cf67e510e78530e (patch)
tree7b1f2fb4afb008e0dbc1d71e38c32695c2318ea9
parentFix formatting issue that was causing build failure (diff)
downloadferdium-recipes-e335a7c29864498896c6d3992cf67e510e78530e.tar.gz
ferdium-recipes-e335a7c29864498896c6d3992cf67e510e78530e.tar.zst
ferdium-recipes-e335a7c29864498896c6d3992cf67e510e78530e.zip
Add Iranian messengers: 'Bale' and 'Eitaa' (#551)
-rw-r--r--recipes/bale/icon.svg19
-rw-r--r--recipes/bale/index.js1
-rw-r--r--recipes/bale/package.json9
-rw-r--r--recipes/bale/webview.js16
-rw-r--r--recipes/eitaa/icon.svg28
-rw-r--r--recipes/eitaa/index.js1
-rw-r--r--recipes/eitaa/package.json9
-rw-r--r--recipes/eitaa/webview.js16
8 files changed, 99 insertions, 0 deletions
diff --git a/recipes/bale/icon.svg b/recipes/bale/icon.svg
new file mode 100644
index 0000000..6f2926b
--- /dev/null
+++ b/recipes/bale/icon.svg
@@ -0,0 +1,19 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3<svg version="1.1"
4 id="Bale" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" sodipodi:docname="Bale.svg"
5 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100"
6 style="enable-background:new 0 0 100 100;" xml:space="preserve">
7<style type="text/css">
8 .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#3D8E94;}
9 .st1{fill:#FFFFFF;}
10</style>
11<path id="Background" class="st0" d="M50,0.1l-4,0.2l-7.8,1.2L31,3.8l-6.7,3.4l-3.1,2.1L8.9,1L8.2,0.6L6.6,0.1L5.1,0L3.7,0.3L2.4,1
12 L1.3,2L0.5,3.4L0,4.9v0.8v46l0,0l0.2,2.6l0.6,4.9l1.1,4.7l1.5,4.6l1.9,4.3l2.4,4.1l2.7,3.8l3,3.6l3.4,3.3l3.7,3l3.9,2.6l4.2,2.2
13 l4.4,1.8l4.6,1.4l4.7,1l5,0.5L50,100l2.6-0.1l5-0.5l4.8-1L67,97l4.5-1.8l4.2-2.3l4-2.7l3.8-3l3.4-3.4l3-3.7l2.7-4l2.3-4.2l2-4.5
14 l1.4-4.7l1-4.9l0.5-5L100,50l-0.1-2.6l-0.5-5l-1-4.9L97,32.8l-1.8-4.5l-2.3-4.2l-2.7-4l-3-3.7L83.6,13l-3.7-3l-4-2.7L71.7,5
15 l-4.5-1.8l-4.7-1.4l-4.9-1l-5-0.5L50,0.1z"/>
16<path id="Content" class="st1" d="M79.5,29.6L79.5,29.6l-0.8-0.7l-1.6-1l-2.7-1h-3.8l-2.7,1l-1.7,1l-0.7,0.7l-22.2,22L34.8,43
17 l-0.7-0.7l-1.7-1.1l-2.7-1h-3.8l-2.7,1l-1.7,1.1l-0.7,0.6l0,0L20,43.7l-1.1,1.6l-1,2.7l-0.1,3.8l1,2.7l1,1.7l0.6,0.8l16,15.8
18 l0.8,0.7l1.6,1l2.6,1h3.8l2.7-1l1.6-1l0.7-0.7l6.9-7l22.1-22.1l0.7-0.7l1.2-1.7l1-2.7l0.1-3.8l-1-2.6l-1-1.7L79.5,29.6z"/>
19</svg>
diff --git a/recipes/bale/index.js b/recipes/bale/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/bale/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/bale/package.json b/recipes/bale/package.json
new file mode 100644
index 0000000..3b486ab
--- /dev/null
+++ b/recipes/bale/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "bale",
3 "name": "Bale",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://web.bale.ai/"
8 }
9}
diff --git a/recipes/bale/webview.js b/recipes/bale/webview.js
new file mode 100644
index 0000000..2a81dec
--- /dev/null
+++ b/recipes/bale/webview.js
@@ -0,0 +1,16 @@
1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
4
5const _path = _interopRequireDefault(require('path'));
6
7module.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};
diff --git a/recipes/eitaa/icon.svg b/recipes/eitaa/icon.svg
new file mode 100644
index 0000000..646ffe8
--- /dev/null
+++ b/recipes/eitaa/icon.svg
@@ -0,0 +1,28 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3<svg version="1.1" id="Eitaa" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4 viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
5<style type="text/css">
6 .st0{fill:#EF7C00;}
7 .st1{fill:#FFFFFF;}
8</style>
9<polygon id="Background" class="st0" points="72.1,100 27.9,100 25.1,99.9 19.6,98.8 14.5,96.7 10.1,93.7 6.3,89.9 3.3,85.5
10 1.2,80.4 0.1,74.9 0,72.1 0,27.9 0.1,25.1 1.2,19.6 3.3,14.5 6.3,10.1 10.1,6.3 14.5,3.3 19.6,1.2 25.1,0.1 27.9,0 72.5,0 75.3,0.1
11 80.7,1.2 85.5,3.3 89.9,6.3 93.7,10.1 96.7,14.5 98.8,19.6 99.9,25.1 100,27.9 100,72.5 99.9,75.3 98.8,80.7 96.7,85.5 93.7,89.9
12 89.9,93.7 85.5,96.7 80.4,98.8 74.9,99.9 "/>
13<polygon id="Content" class="st1" points="98.3,43.3 96.4,44.7 91.7,49.3 88.7,52.5 84.9,56.5 78.4,62.7 76.3,64.5 74.1,66.3
14 70.3,68.9 66.5,70.9 62.7,72.1 60.8,72.5 58.7,72.7 53.3,72.5 51.2,72.1 49.7,71.7 48.7,72.4 48.3,74.1 47.7,75.7 47.1,78.9
15 47.1,80.4 47.1,82.1 46.3,82.1 44.4,81.7 40.8,79.9 37.6,77.1 35.1,73.6 34.3,71.7 33.5,69.2 32.9,66.7 32.9,65.5 31.7,64.3
16 29.9,62.4 27.7,59.1 26.9,56.7 26.7,55.5 26.5,53.5 26.9,49.3 28.5,45.2 31.1,41.2 32.9,39.3 34.9,37.3 39.7,33.7 45.1,30.9
17 50.7,28.8 53.7,28.1 56.1,27.7 61.6,27.5 63.7,27.7 65.5,28.1 68.7,29.3 71.5,30.9 73.7,33.1 74.5,34.4 75.1,35.2 75.3,36.1
18 75.3,36.9 75.3,37.5 74.8,38.7 74.5,38.9 73.6,39.9 70.9,41.9 67.3,43.7 63.1,45.5 60.8,46.1 58.8,46.5 55.1,46.8 51.9,46.7
19 49.1,46 46.9,44.9 45.3,43.5 44.3,41.7 44,39.5 44.3,38.3 44.3,37.1 43.6,37.3 41.7,38.3 40.9,38.8 39.5,40.3 38.4,42.1 37.7,44.1
20 37.5,45.1 37.3,46.3 37.5,47.9 37.5,48.8 37.7,50.1 38.3,50.8 39.1,52.3 40,53.3 40.8,54.1 40.4,54.5 38.7,57.3 37.5,59.9
21 37.1,61.7 36.9,65.5 37.1,67.3 37.5,69.1 39.1,72.3 40,73.6 40.8,74.7 43.2,76.7 43.9,76.9 43.9,76.5 44.3,74 45.1,71.1 45.7,69.5
22 47.7,66.3 50.7,63.5 54.4,61.1 56.7,59.9 59.2,58.7 63.5,56.5 67.3,54.8 72.4,52.1 73.9,51.2 75.6,49.9 78.5,46.7 80.8,42.9
23 82.3,38.5 82.7,36.1 83.1,33.9 83.3,28.7 83.1,26.5 82.7,24.7 81.7,21.3 80,18.1 77.9,15.3 75.3,12.9 72.1,11.1 68.8,9.5 65.1,8.5
24 63.1,8.3 60.7,8.1 55.9,8.7 50.9,10.1 46,12.4 41.1,15.5 36.3,19.1 31.9,23.5 27.7,28.5 25.9,31.2 24.3,33.7 21.3,39.2 18.9,44.9
25 17.3,50.7 16.7,53.7 16.4,56.3 16.1,62.9 16.3,65.3 16.7,68 17.9,72.9 19.9,77.1 22.5,80.9 24.3,82.5 25.9,84.1 29.9,86.9
26 32.1,87.9 34,88.7 37.7,90.1 41.7,90.9 45.5,91.5 49.3,91.5 53.2,91.2 56.9,90.4 60.7,89.1 62.5,88.3 65.6,86.7 71.9,82.1
27 75.1,79.1 78,76 84.7,67.6 90,60.4 93.1,56.3 96.9,51.7 98.9,50 99.6,49.6 100,49.2 100,43.3 100,42.1 "/>
28</svg>
diff --git a/recipes/eitaa/index.js b/recipes/eitaa/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/eitaa/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/eitaa/package.json b/recipes/eitaa/package.json
new file mode 100644
index 0000000..710a41e
--- /dev/null
+++ b/recipes/eitaa/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "eitaa",
3 "name": "Eitaa",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://web.eitaa.com/"
8 }
9}
diff --git a/recipes/eitaa/webview.js b/recipes/eitaa/webview.js
new file mode 100644
index 0000000..2a81dec
--- /dev/null
+++ b/recipes/eitaa/webview.js
@@ -0,0 +1,16 @@
1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
4
5const _path = _interopRequireDefault(require('path'));
6
7module.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};