aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Xaviju <xaviju@gmail.com>2024-04-24 15:57:52 +0200
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2024-05-04 13:40:13 +0000
commit532c7d74d1cf2beb492bf3bd2cf1a94274794996 (patch)
treec5b005949d667df400a9e42d77c92d4b99bf1914
parentadd YaMoef as a contributor for code (#540) (diff)
downloadferdium-recipes-532c7d74d1cf2beb492bf3bd2cf1a94274794996.tar.gz
ferdium-recipes-532c7d74d1cf2beb492bf3bd2cf1a94274794996.tar.zst
ferdium-recipes-532c7d74d1cf2beb492bf3bd2cf1a94274794996.zip
Add taiga recipe
-rw-r--r--recipes/taiga/icon.svg48
-rw-r--r--recipes/taiga/index.js1
-rw-r--r--recipes/taiga/package.json10
-rw-r--r--recipes/taiga/service.css3
-rw-r--r--recipes/taiga/webview.js16
5 files changed, 78 insertions, 0 deletions
diff --git a/recipes/taiga/icon.svg b/recipes/taiga/icon.svg
new file mode 100644
index 0000000..2dd47d8
--- /dev/null
+++ b/recipes/taiga/icon.svg
@@ -0,0 +1,48 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<svg
3 width="130"
4 height="130"
5 viewBox="0 0 130 130"
6 fill="none"
7 version="1.1"
8 id="svg3"
9 sodipodi:docname="icon.svg"
10 inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
13 xmlns="http://www.w3.org/2000/svg"
14 xmlns:svg="http://www.w3.org/2000/svg">
15 <defs
16 id="defs3" />
17 <sodipodi:namedview
18 id="namedview3"
19 pagecolor="#ffffff"
20 bordercolor="#cccccc"
21 borderopacity="1"
22 inkscape:showpageshadow="0"
23 inkscape:pageopacity="1"
24 inkscape:pagecheckerboard="0"
25 inkscape:deskcolor="#d1d1d1"
26 showgrid="false"
27 inkscape:zoom="8.8139535"
28 inkscape:cx="64.953826"
29 inkscape:cy="64.5"
30 inkscape:window-width="2560"
31 inkscape:window-height="1380"
32 inkscape:window-x="0"
33 inkscape:window-y="32"
34 inkscape:window-maximized="1"
35 inkscape:current-layer="svg3" />
36 <path
37 d="m 100.446,17.9471 c -1.2941,-0.0222 -2.7099,-0.0223 -4.1835,0.0246 -2.2571,0.0696 -4.6562,0.1841 -7.0348,0.506 0.5969,1.6165 1.0654,3.3732 1.3392,5.3202 0.1015,0.7219 0.1804,1.4369 0.2409,2.1464 1.8609,-0.2876 3.7957,-0.5122 5.6828,-0.5702 1.3338,-0.041 2.6181,-0.0429 3.7934,-0.0222 1.135,0.0198 2.154,0.0614 3.034,0.1071 0.116,1.8001 0.218,4.2304 0.169,6.8689 -0.035,1.8459 -0.23,3.7381 -0.485,5.5661 0.657,0.0437 1.32,0.107 1.989,0.1948 2.014,0.2642 3.825,0.7379 5.49,1.3482 0.286,-2.3591 0.368,-4.7338 0.41,-6.9697 0.111,-5.9204 -0.47,-10.9023 -0.47,-10.9023 l -0.341,-2.9523 -2.957,-0.3052 c 0,0 -2.793,-0.2906 -6.677,-0.3592 z m -71.1226,0.0173 c -3.8998,0.079 -6.705,0.3783 -6.705,0.3783 l -2.9564,0.3136 -0.3332,2.9538 c 0,0 -0.5644,4.9607 -0.4397,10.8564 0.0489,2.3043 0.1467,4.7558 0.4609,7.1858 1.583,-0.5752 3.3001,-1.0261 5.1978,-1.293 0.767,-0.1078 1.526,-0.1873 2.2792,-0.249 -0.2795,-1.8974 -0.4926,-3.8761 -0.5333,-5.8029 -0.0555,-2.622 0.0398,-5.0347 0.1502,-6.8262 0.8865,-0.0484 1.9156,-0.0928 3.0601,-0.1155 1.1807,-0.0247 2.4703,-0.0248 3.8098,0.0123 1.7491,0.0498 3.539,0.2434 5.2795,0.4923 0.0437,-0.6207 0.1015,-1.2449 0.1844,-1.8759 0.2688,-2.0493 0.7541,-3.8893 1.3802,-5.5782 -2.2465,-0.2757 -4.5034,-0.3783 -6.6336,-0.4387 -1.4798,-0.042 -2.9011,-0.0402 -4.2009,-0.0148 z m 81.0226,70.4539 c -1.657,0.6107 -3.457,1.0874 -5.455,1.3592 -0.677,0.0921 -1.349,0.1643 -2.016,0.2204 0.328,2.0482 0.571,4.2281 0.616,6.338 0.055,2.6077 -0.039,5.0031 -0.149,6.7921 -1.808,0.08 -4.2406,0.133 -6.8818,0.033 -1.811,-0.07 -3.6648,-0.291 -5.4613,-0.571 -0.0424,0.547 -0.0889,1.095 -0.1617,1.651 -0.2807,2.138 -0.7949,4.051 -1.462,5.8 2.3011,0.312 4.6177,0.438 6.802,0.522 5.9408,0.227 10.9498,-0.254 10.9498,-0.254 l 2.992,-0.286 0.337,-2.985 c 0,0 0.564,-4.962 0.439,-10.8578 -0.053,-2.487 -0.17,-5.1446 -0.549,-7.7619 z m -90.9297,0.4412 c -0.3249,2.4171 -0.4384,4.8563 -0.5038,7.1505 -0.1701,5.943 0.3597,10.947 0.3597,10.947 l 0.3138,2.989 2.9892,0.308 c 0,0 4.9658,0.516 10.8606,0.335 2.3223,-0.072 4.7935,-0.196 7.2392,-0.54 -0.6947,-1.777 -1.231,-3.727 -1.5275,-5.907 -0.0703,-0.518 -0.1196,-1.03 -0.1687,-1.542 -1.8869,0.295 -3.8539,0.526 -5.7711,0.585 -2.6067,0.08 -5.0037,0.01 -6.7932,-0.083 -0.097,-1.808 -0.1744,-4.2393 -0.0989,-6.8818 0.0558,-1.9485 0.285,-3.9498 0.5815,-5.8679 -0.7112,-0.0437 -1.4283,-0.109 -2.1533,-0.204 -1.9481,-0.2558 -3.707,-0.7077 -5.3275,-1.2888 z"
38 fill="#262c39"
39 id="path1" />
40 <path
41 d="m 64.6749,0 -2.3066,1.87514 c 0,0 -3.8766,3.14646 -7.9161,7.44272 -4.0395,4.29624 -8.5691,9.47404 -9.3781,15.63664 -0.7996,6.0922 1.1349,12.6916 3.8761,18.8937 1.9867,-1.6577 4.1595,-3.0921 6.4778,-4.1838 -2.1075,-5.3116 -3.4438,-10.4491 -3.011,-13.746 0.3246,-2.4724 3.7748,-7.6387 7.4312,-11.5277 1.7962,-1.9102 3.5537,-3.5661 4.8868,-4.76763 1.355,1.19113 3.1456,2.83683 4.9764,4.73773 3.7184,3.8608 7.2384,9.005 7.5868,11.4833 0.6711,4.7742 -0.1476,9.4506 -1.9605,14.167 2.2434,1.1477 4.3417,2.615 6.2507,4.2947 C 84.187,38.1861 85.6005,31.7046 84.6318,24.8132 83.7631,18.6336 79.153,13.488 75.0454,9.22287 70.9377,4.95796 67.0044,1.84621 67.0044,1.84621 Z m 36.1001,44.2021 c -5.0617,0.1363 -10.3358,1.8304 -15.3544,4.0468 1.6557,1.9856 3.0888,4.157 4.1805,6.4731 5.3054,-2.1033 10.4359,-3.4359 13.7289,-3.0039 2.473,0.3246 7.64,3.7745 11.529,7.4311 1.9,1.7864 3.545,3.5316 4.745,4.8622 -1.21,1.3472 -2.874,3.1205 -4.796,4.9355 -3.918,3.6995 -9.123,7.2022 -11.639,7.5444 -4.6757,0.6357 -9.2579,-0.1522 -13.8763,-1.8983 -1.1435,2.2485 -2.6126,4.3501 -4.2913,6.2638 6.0211,2.5253 12.3946,3.8932 19.1656,2.9731 6.191,-0.8416 11.403,-5.4162 15.725,-9.4982 4.323,-4.0822 7.487,-7.9953 7.487,-7.9953 l 1.891,-2.3351 -1.895,-2.3313 c 0,0 -3.147,-3.8769 -7.444,-7.9167 -4.296,-4.0395 -9.474,-8.5691 -15.637,-9.3781 -1.157,-0.1518 -2.332,-0.2052 -3.52,-0.1731 z m -71.385,0.134 c -1.2778,0.0198 -2.5699,0.1189 -3.8771,0.3028 -6.1794,0.8688 -11.3249,5.4793 -15.58983,9.5869 -4.26491,4.1079 -7.37714,8.0411 -7.37714,8.0411 l -1.845735,2.3294 1.874665,2.3066 c 0,0 3.14658,3.877 7.44264,7.9163 4.296,4.0395 9.4735,8.5691 15.6361,9.3781 6.0898,0.7993 12.6866,-1.1335 18.887,-3.8733 -1.6577,-1.9868 -3.0908,-4.1597 -4.1817,-6.4788 -5.3097,2.1063 -10.4453,3.4412 -13.7408,3.0087 -2.4724,-0.3246 -7.6388,-3.7738 -11.5275,-7.4302 -1.9105,-1.7962 -3.5658,-3.5541 -4.7675,-4.8872 1.1911,-1.3551 2.8367,-3.1457 4.7376,-4.9765 3.8606,-3.7183 9.0053,-7.2383 11.4834,-7.5868 4.7757,-0.6715 9.4533,0.1481 14.1712,1.9624 1.1458,-2.2399 2.6082,-4.3368 4.2837,-6.2441 -4.9566,-2.109 -10.149,-3.444 -15.6088,-3.3554 z m 19.0247,39.9653 c -2.5257,6.0214 -3.8942,12.3957 -2.9736,19.1666 0.8416,6.191 5.4161,11.403 9.4983,15.725 4.082,4.323 7.9954,7.487 7.9954,7.487 l 2.3351,1.892 2.3317,-1.896 c 0,0 3.8766,-3.147 7.9161,-7.444 4.0395,-4.296 8.5693,-9.474 9.3781,-15.637 0.7984,-6.0848 -1.1304,-12.6753 -3.8664,-18.8707 -1.987,1.6567 -4.1606,3.0904 -6.4789,4.1818 2.1026,5.304 3.4345,10.4324 3.0024,13.7249 -0.3243,2.473 -3.7746,7.639 -7.4312,11.529 -1.7864,1.899 -3.531,3.544 -4.8616,4.745 -1.3469,-1.21 -3.1209,-2.875 -4.9359,-4.797 -3.6993,-3.917 -7.2027,-9.121 -7.5446,-11.638 -0.636,-4.6773 0.1525,-9.261 1.9002,-13.8811 -2.2486,-1.1433 -4.3508,-2.61 -6.2652,-4.2875 z"
42 fill="#007ca5"
43 id="path2" />
44 <path
45 d="m 65.1441,44.8562 c -5.144,-0.0513 -9.8524,2.5586 -13.4717,6.1105 -3.6194,3.5517 -6.3172,8.2096 -6.3661,13.3521 -0.0488,5.1386 2.5577,9.8417 6.1057,13.4573 3.548,3.6154 8.2003,6.3106 13.3377,6.3622 5.1376,0.0521 9.8434,-2.5486 13.4635,-6.0922 3.6203,-3.5433 6.3216,-8.1928 6.3762,-13.3319 0.0543,-5.1428 -2.5497,-9.8547 -6.0975,-13.4784 -3.5478,-3.6241 -8.2035,-6.328 -13.3478,-6.3796 z m -0.0743,7.4056 c 2.3737,0.0247 5.6473,1.6192 8.1298,4.1548 2.4823,2.5359 4.0091,5.8444 3.9839,8.219 -0.0249,2.3707 -1.6185,5.6392 -4.1507,8.1178 -2.5321,2.4785 -5.8362,4.0032 -8.2084,3.9793 C 62.4523,76.708 59.18,75.1179 56.6985,72.589 54.2169,70.06 52.6892,66.7599 52.7119,64.3892 c 0.0222,-2.3743 1.6152,-5.6513 4.1476,-8.1365 2.5324,-2.485 5.8372,-4.0144 8.2103,-3.9909 z"
46 fill="#83eede"
47 id="path3" />
48</svg>
diff --git a/recipes/taiga/index.js b/recipes/taiga/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/taiga/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/taiga/package.json b/recipes/taiga/package.json
new file mode 100644
index 0000000..aa811c2
--- /dev/null
+++ b/recipes/taiga/package.json
@@ -0,0 +1,10 @@
1{
2 "id": "taiga",
3 "name": "Taiga",
4 "version": "1.0.0",
5 "license": "MIT",
6 "repository": "https://github.com/kaleidos-ventures/taiga",
7 "config": {
8 "serviceURL": "https://tree.taiga.io"
9 }
10}
diff --git a/recipes/taiga/service.css b/recipes/taiga/service.css
new file mode 100644
index 0000000..cdf802a
--- /dev/null
+++ b/recipes/taiga/service.css
@@ -0,0 +1,3 @@
1body {
2 background-color: white;
3}
diff --git a/recipes/taiga/webview.js b/recipes/taiga/webview.js
new file mode 100644
index 0000000..f398ae8
--- /dev/null
+++ b/recipes/taiga/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 Taiga 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};