aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar YaMoef <brentclaessens@outlook.com>2024-06-03 21:19:15 +0200
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2024-06-08 03:59:49 +0530
commit57d22a09888c7eb6063fc9c3a309bb9cbb86ede5 (patch)
treeb40ea788e1de944479ec76f77e4b4b8422222186
parentadd eitchtee as a contributor for code [skip ci] (#562) (diff)
downloadferdium-recipes-57d22a09888c7eb6063fc9c3a309bb9cbb86ede5.tar.gz
ferdium-recipes-57d22a09888c7eb6063fc9c3a309bb9cbb86ede5.tar.zst
ferdium-recipes-57d22a09888c7eb6063fc9c3a309bb9cbb86ede5.zip
feat(firefly): add new recipe
-rw-r--r--recipes/firefly/icon.svg46
-rw-r--r--recipes/firefly/index.js6
-rw-r--r--recipes/firefly/package.json10
-rw-r--r--recipes/firefly/webview.js16
4 files changed, 78 insertions, 0 deletions
diff --git a/recipes/firefly/icon.svg b/recipes/firefly/icon.svg
new file mode 100644
index 0000000..6fda469
--- /dev/null
+++ b/recipes/firefly/icon.svg
@@ -0,0 +1,46 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="2022px" height="2022px" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd" xmlns:xlink="http://www.w3.org/1999/xlink">
4<g><path style="opacity:0.997" fill="#cd5029" d="M 850.5,-0.5 C 852.167,-0.5 853.833,-0.5 855.5,-0.5C 897.358,12.7602 937.024,30.9269 974.5,54C 1062.45,110.272 1137.28,180.772 1199,265.5C 1237.15,320.806 1264.81,381.139 1282,446.5C 1293.87,497.381 1305.2,548.381 1316,599.5C 1320.83,619.493 1329.17,637.826 1341,654.5C 1345.17,658.667 1349.33,662.833 1353.5,667C 1377.16,679.493 1400.49,692.493 1423.5,706C 1471.58,736.075 1511.08,774.909 1542,822.5C 1564.59,865.934 1578.92,911.934 1585,960.5C 1585.85,973.968 1584.85,987.301 1582,1000.5C 1576.6,1018.37 1570.6,1036.03 1564,1053.5C 1557.75,1078.74 1558.75,1103.74 1567,1128.5C 1575.97,1159.44 1589.97,1187.78 1609,1213.5C 1622.38,1230.55 1635.38,1247.88 1648,1265.5C 1672.51,1305.36 1686.84,1348.69 1691,1395.5C 1696.99,1456.9 1686.99,1515.57 1661,1571.5C 1646.76,1603.02 1628.76,1632.02 1607,1658.5C 1597.7,1684.11 1585.03,1707.77 1569,1729.5C 1549.07,1756.77 1526.91,1782.27 1502.5,1806C 1420.51,1885.03 1326.51,1946.03 1220.5,1989C 1169.6,2007.35 1117.27,2018.18 1063.5,2021.5C 1041.83,2021.5 1020.17,2021.5 998.5,2021.5C 936.901,2018.02 878.567,2002.18 823.5,1974C 814.833,1968.67 806.167,1963.33 797.5,1958C 783.542,1947.04 769.875,1935.71 756.5,1924C 719.105,1898.96 679.772,1876.96 638.5,1858C 579.527,1831.35 521.194,1803.35 463.5,1774C 417.159,1746.53 383.993,1707.69 364,1657.5C 342.516,1604.45 334.849,1549.45 341,1492.5C 348.793,1454.54 356.46,1416.54 364,1378.5C 369.446,1348.34 370.779,1318.01 368,1287.5C 366.793,1277.67 364.793,1268.01 362,1258.5C 355.826,1241.82 348.826,1225.49 341,1209.5C 329.75,1174.34 325.75,1138.34 329,1101.5C 331.85,1063.95 342.183,1028.62 360,995.5C 404.064,928.279 447.897,860.945 491.5,793.5C 505.384,827.639 518.218,862.306 530,897.5C 534.102,906.929 539.769,915.262 547,922.5C 567.636,940.785 583.636,962.451 595,987.5C 600.307,1003.78 607.973,1018.78 618,1032.5C 627.755,1043.19 639.589,1046.36 653.5,1042C 666.295,1036.77 677.961,1029.77 688.5,1021C 703.931,1008.9 718.097,995.405 731,980.5C 754.103,947.356 757.77,912.023 742,874.5C 737.388,862.609 731.721,851.276 725,840.5C 714.667,825.167 704.333,809.833 694,794.5C 668.535,745.502 658.868,693.502 665,638.5C 672.149,580.227 692.149,526.894 725,478.5C 745.368,449.116 768.368,421.783 794,396.5C 834.455,344.877 858.455,286.21 866,220.5C 874.29,145.897 869.124,72.23 850.5,-0.5 Z"/></g>
5<g><path style="opacity:1" fill="#fefefe" d="M 1462.5,1307.5 C 1464.06,1315.17 1466.39,1322.5 1469.5,1329.5C 1469.41,1332.15 1470.08,1334.49 1471.5,1336.5C 1471.21,1337.65 1470.38,1338.32 1469,1338.5C 1427.64,1327.95 1388.47,1333.29 1351.5,1354.5C 1319.37,1344.04 1286.7,1341.88 1253.5,1348C 1240.2,1351.48 1228.53,1357.81 1218.5,1367C 1204.76,1379.34 1194.1,1393.84 1186.5,1410.5C 1184.93,1412.51 1183.93,1414.84 1183.5,1417.5C 1183.44,1418.61 1183.11,1419.61 1182.5,1420.5C 1181.08,1422.51 1180.41,1424.85 1180.5,1427.5C 1179.08,1429.51 1178.41,1431.85 1178.5,1434.5C 1178.5,1435.17 1178.5,1435.83 1178.5,1436.5C 1176.37,1442.53 1175.37,1448.86 1175.5,1455.5C 1174.17,1468.67 1174.17,1482.01 1175.5,1495.5C 1176.92,1495 1177.59,1494 1177.5,1492.5C 1186.97,1460.4 1203.97,1432.9 1228.5,1410C 1254.88,1387.86 1284.21,1382.86 1316.5,1395C 1312.91,1401.34 1309.75,1407.84 1307,1414.5C 1306.48,1418.79 1305.31,1422.79 1303.5,1426.5C 1301.01,1429.63 1299.68,1433.29 1299.5,1437.5C 1298.83,1440.5 1298.17,1443.5 1297.5,1446.5C 1293.77,1457.62 1292.77,1468.95 1294.5,1480.5C 1294.62,1483.86 1294.95,1487.19 1295.5,1490.5C 1295.68,1494.71 1297.01,1498.37 1299.5,1501.5C 1311.38,1526.38 1331.21,1540.05 1359,1542.5C 1382.66,1541.95 1402.99,1533.62 1420,1517.5C 1424.86,1511.78 1428.69,1505.44 1431.5,1498.5C 1433.31,1496.61 1434.48,1494.28 1435,1491.5C 1435.94,1487.89 1436.44,1484.22 1436.5,1480.5C 1436.78,1471.45 1436.44,1462.45 1435.5,1453.5C 1435.74,1451.1 1435.07,1449.1 1433.5,1447.5C 1424.17,1422.84 1409,1402.51 1388,1386.5C 1387.33,1385.83 1387.33,1385.17 1388,1384.5C 1398.68,1378.29 1410.18,1374.45 1422.5,1373C 1435.17,1372.33 1447.83,1372.33 1460.5,1373C 1467.09,1374.08 1473.43,1375.58 1479.5,1377.5C 1479.44,1382.73 1480.11,1387.73 1481.5,1392.5C 1481.5,1393.83 1481.5,1395.17 1481.5,1396.5C 1481.67,1401.18 1482,1405.85 1482.5,1410.5C 1483.79,1435.83 1483.79,1461.17 1482.5,1486.5C 1481.87,1491.14 1481.54,1495.81 1481.5,1500.5C 1480.03,1504.92 1479.36,1509.59 1479.5,1514.5C 1479.5,1514.83 1479.5,1515.17 1479.5,1515.5C 1477.66,1519.16 1476.66,1523.16 1476.5,1527.5C 1476.5,1529.17 1476.5,1530.83 1476.5,1532.5C 1475.08,1534.51 1474.41,1536.85 1474.5,1539.5C 1473.08,1541.51 1472.41,1543.85 1472.5,1546.5C 1470.93,1552.1 1469.6,1557.76 1468.5,1563.5C 1466.35,1565.62 1465.35,1568.28 1465.5,1571.5C 1463.46,1575.94 1461.8,1580.61 1460.5,1585.5C 1440.63,1639.57 1411.3,1687.91 1372.5,1730.5C 1371.82,1757.71 1371.15,1785.04 1370.5,1812.5C 1363.81,1824.01 1354.15,1832.17 1341.5,1837C 1322.89,1842.33 1303.89,1845.33 1284.5,1846C 1258.4,1847.31 1232.4,1846.31 1206.5,1843C 1194.13,1840.99 1182.47,1836.99 1171.5,1831C 1169,1829.67 1167,1827.84 1165.5,1825.5C 1165.5,1819.83 1165.5,1814.17 1165.5,1808.5C 1163.9,1808.23 1162.57,1808.57 1161.5,1809.5C 1111.64,1815.45 1061.64,1816.95 1011.5,1814C 1000.49,1812.5 989.495,1811 978.5,1809.5C 977.791,1808.6 976.791,1808.26 975.5,1808.5C 975.5,1812.83 975.5,1817.17 975.5,1821.5C 972.562,1829.61 967.229,1835.78 959.5,1840C 947.408,1843.44 935.074,1845.44 922.5,1846C 890.374,1847.5 858.374,1846.17 826.5,1842C 811.479,1840.55 797.813,1835.55 785.5,1827C 782.612,1823.78 780.112,1820.28 778,1816.5C 777.667,1786.83 777.333,1757.17 777,1727.5C 727.379,1691.18 691.545,1644.51 669.5,1587.5C 667.798,1581.56 665.798,1575.73 663.5,1570C 654.324,1569.18 645.324,1569.34 636.5,1570.5C 606.182,1577.51 585.182,1566.84 573.5,1538.5C 572.511,1495.21 572.177,1451.88 572.5,1408.5C 574.472,1405.92 575.472,1402.92 575.5,1399.5C 582.9,1385.95 594.234,1377.45 609.5,1374C 625.498,1372.71 641.498,1371.54 657.5,1370.5C 658.768,1368.09 659.435,1365.43 659.5,1362.5C 659.198,1358.21 659.864,1354.21 661.5,1350.5C 663.074,1348.9 663.741,1346.9 663.5,1344.5C 663.5,1344.17 663.5,1343.83 663.5,1343.5C 666.276,1337.5 668.276,1331.17 669.5,1324.5C 681.271,1293.59 697.437,1265.25 718,1239.5C 742.333,1209.83 769.333,1182.83 799,1158.5C 798.793,1128.82 797.96,1099.16 796.5,1069.5C 796.184,1052.99 795.517,1036.66 794.5,1020.5C 793.292,1010.95 793.292,1001.45 794.5,992C 850.549,984.463 900.215,998.797 943.5,1035C 967.388,1055.66 987.888,1079.16 1005,1105.5C 1085.76,1095.33 1165.6,1100.16 1244.5,1120C 1285.59,1130.24 1323.25,1147.57 1357.5,1172C 1389.95,1198.11 1417.78,1228.27 1441,1262.5C 1449.78,1276.73 1456.95,1291.73 1462.5,1307.5 Z"/></g>
6<g><path style="opacity:1" fill="#e5a38e" d="M 794.5,1020.5 C 795.517,1036.66 796.184,1052.99 796.5,1069.5C 794.77,1053.37 794.104,1037.03 794.5,1020.5 Z"/></g>
7<g><path style="opacity:1" fill="#e9ad9b" d="M 1462.5,1307.5 C 1465.61,1314.5 1467.94,1321.83 1469.5,1329.5C 1466.39,1322.5 1464.06,1315.17 1462.5,1307.5 Z"/></g>
8<g><path style="opacity:1" fill="#eab3a1" d="M 669.5,1324.5 C 668.276,1331.17 666.276,1337.5 663.5,1343.5C 664.724,1336.83 666.724,1330.5 669.5,1324.5 Z"/></g>
9<g><path style="opacity:1" fill="#e4a08b" d="M 1469.5,1329.5 C 1470.92,1331.51 1471.59,1333.85 1471.5,1336.5C 1470.08,1334.49 1469.41,1332.15 1469.5,1329.5 Z"/></g>
10<g><path style="opacity:1" fill="#eab3a2" d="M 663.5,1344.5 C 663.741,1346.9 663.074,1348.9 661.5,1350.5C 661.259,1348.1 661.926,1346.1 663.5,1344.5 Z"/></g>
11<g><path style="opacity:1" fill="#e7ab98" d="M 659.5,1362.5 C 659.435,1365.43 658.768,1368.09 657.5,1370.5C 657.294,1367.5 657.96,1364.84 659.5,1362.5 Z"/></g>
12<g><path style="opacity:1" fill="#e29880" d="M 1479.5,1377.5 C 1480.89,1382.27 1481.56,1387.27 1481.5,1392.5C 1480.11,1387.73 1479.44,1382.73 1479.5,1377.5 Z"/></g>
13<g><path style="opacity:1" fill="#cd512a" d="M 748.5,1422.5 C 748.392,1417.13 748.725,1411.8 749.5,1406.5C 758.098,1388.88 771.764,1383.38 790.5,1390C 804.46,1397.43 809.627,1408.93 806,1424.5C 796.881,1444.87 782.048,1450.71 761.5,1442C 754.602,1437.26 750.269,1430.76 748.5,1422.5 Z"/></g>
14<g><path style="opacity:1" fill="#ecb9a9" d="M 575.5,1399.5 C 575.472,1402.92 574.472,1405.92 572.5,1408.5C 572.69,1405.14 573.69,1402.14 575.5,1399.5 Z"/></g>
15<g><path style="opacity:1" fill="#de896f" d="M 1481.5,1396.5 C 1482.97,1400.92 1483.64,1405.59 1483.5,1410.5C 1483.17,1410.5 1482.83,1410.5 1482.5,1410.5C 1482,1405.85 1481.67,1401.18 1481.5,1396.5 Z"/></g>
16<g><path style="opacity:1" fill="#de876b" d="M 1186.5,1410.5 C 1186.83,1413.49 1185.83,1415.82 1183.5,1417.5C 1183.93,1414.84 1184.93,1412.51 1186.5,1410.5 Z"/></g>
17<g><path style="opacity:1" fill="#fefcfc" d="M 1390.5,1457.5 C 1390.74,1460.65 1391.57,1463.65 1393,1466.5C 1393.5,1470.49 1393.67,1474.49 1393.5,1478.5C 1392.85,1480.44 1392.52,1482.44 1392.5,1484.5C 1391.09,1484.97 1390.43,1485.97 1390.5,1487.5C 1378.38,1507.78 1362.54,1511.11 1343,1497.5C 1339.97,1493.11 1337.8,1488.44 1336.5,1483.5C 1336.5,1475.48 1336.83,1467.48 1337.5,1459.5C 1337.5,1458.83 1337.5,1458.17 1337.5,1457.5C 1338.92,1455.49 1339.59,1453.15 1339.5,1450.5C 1341.94,1445.5 1343.61,1440.17 1344.5,1434.5C 1346.83,1432.82 1347.83,1430.49 1347.5,1427.5C 1348.94,1422.62 1350.94,1417.96 1353.5,1413.5C 1354.36,1412.42 1355.36,1412.25 1356.5,1413C 1371.08,1425.4 1382.41,1440.24 1390.5,1457.5 Z"/></g>
18<g><path style="opacity:1" fill="#e39c85" d="M 749.5,1406.5 C 748.725,1411.8 748.392,1417.13 748.5,1422.5C 747.352,1418.02 747.185,1413.35 748,1408.5C 748.278,1407.58 748.778,1406.92 749.5,1406.5 Z"/></g>
19<g><path style="opacity:1" fill="#edc0b2" d="M 572.5,1408.5 C 572.177,1451.88 572.511,1495.21 573.5,1538.5C 572.883,1538.39 572.383,1538.06 572,1537.5C 571.169,1494.33 571.335,1451.33 572.5,1408.5 Z"/></g>
20<g><path style="opacity:1" fill="#e5a28d" d="M 1182.5,1420.5 C 1182.59,1423.15 1181.92,1425.49 1180.5,1427.5C 1180.41,1424.85 1181.08,1422.51 1182.5,1420.5 Z"/></g>
21<g><path style="opacity:1" fill="#e8ab98" d="M 1303.5,1426.5 C 1302.54,1430.39 1301.2,1434.06 1299.5,1437.5C 1299.68,1433.29 1301.01,1429.63 1303.5,1426.5 Z"/></g>
22<g><path style="opacity:1" fill="#edbbab" d="M 1347.5,1427.5 C 1347.83,1430.49 1346.83,1432.82 1344.5,1434.5C 1344.93,1431.84 1345.93,1429.51 1347.5,1427.5 Z"/></g>
23<g><path style="opacity:1" fill="#e9b1a0" d="M 1180.5,1427.5 C 1180.59,1430.15 1179.92,1432.49 1178.5,1434.5C 1178.41,1431.85 1179.08,1429.51 1180.5,1427.5 Z"/></g>
24<g><path style="opacity:1" fill="#e8a996" d="M 1344.5,1434.5 C 1343.61,1440.17 1341.94,1445.5 1339.5,1450.5C 1340.39,1444.83 1342.06,1439.5 1344.5,1434.5 Z"/></g>
25<g><path style="opacity:1" fill="#ecbbac" d="M 1482.5,1410.5 C 1482.83,1410.5 1483.17,1410.5 1483.5,1410.5C 1484,1423.66 1484.34,1436.83 1484.5,1450C 1484.71,1462.37 1484.04,1474.54 1482.5,1486.5C 1483.79,1461.17 1483.79,1435.83 1482.5,1410.5 Z"/></g>
26<g><path style="opacity:1" fill="#e2947c" d="M 1178.5,1436.5 C 1177.45,1445.63 1176.45,1454.63 1175.5,1463.5C 1175.5,1460.83 1175.5,1458.17 1175.5,1455.5C 1175.37,1448.86 1176.37,1442.53 1178.5,1436.5 Z"/></g>
27<g><path style="opacity:1" fill="#e08e74" d="M 1433.5,1447.5 C 1435.07,1449.1 1435.74,1451.1 1435.5,1453.5C 1433.93,1451.9 1433.26,1449.9 1433.5,1447.5 Z"/></g>
28<g><path style="opacity:1" fill="#e39e88" d="M 1339.5,1450.5 C 1339.59,1453.15 1338.92,1455.49 1337.5,1457.5C 1337.41,1454.85 1338.08,1452.51 1339.5,1450.5 Z"/></g>
29<g><path style="opacity:1" fill="#ecbdae" d="M 1175.5,1455.5 C 1175.5,1458.17 1175.5,1460.83 1175.5,1463.5C 1174.86,1473.56 1175.53,1483.22 1177.5,1492.5C 1177.59,1494 1176.92,1495 1175.5,1495.5C 1174.17,1482.01 1174.17,1468.67 1175.5,1455.5 Z"/></g>
30<g><path style="opacity:1" fill="#e7a895" d="M 1337.5,1459.5 C 1336.83,1467.48 1336.5,1475.48 1336.5,1483.5C 1335.83,1480.35 1335.5,1477.02 1335.5,1473.5C 1335.3,1468.56 1335.97,1463.9 1337.5,1459.5 Z"/></g>
31<g><path style="opacity:1" fill="#e7aa97" d="M 1390.5,1457.5 C 1394.39,1464.12 1395.39,1471.12 1393.5,1478.5C 1393.67,1474.49 1393.5,1470.49 1393,1466.5C 1391.57,1463.65 1390.74,1460.65 1390.5,1457.5 Z"/></g>
32<g><path style="opacity:1" fill="#edc0b2" d="M 1297.5,1446.5 C 1295.37,1457.73 1294.37,1469.06 1294.5,1480.5C 1292.77,1468.95 1293.77,1457.62 1297.5,1446.5 Z"/></g>
33<g><path style="opacity:1" fill="#e49f8a" d="M 1392.5,1484.5 C 1392.57,1486.03 1391.91,1487.03 1390.5,1487.5C 1390.43,1485.97 1391.09,1484.97 1392.5,1484.5 Z"/></g>
34<g><path style="opacity:1" fill="#ebb3a1" d="M 1436.5,1480.5 C 1436.44,1484.22 1435.94,1487.89 1435,1491.5C 1434.48,1494.28 1433.31,1496.61 1431.5,1498.5C 1433.35,1492.43 1435.02,1486.43 1436.5,1480.5 Z"/></g>
35<g><path style="opacity:1" fill="#edbcad" d="M 1295.5,1490.5 C 1297.2,1493.94 1298.54,1497.61 1299.5,1501.5C 1297.01,1498.37 1295.68,1494.71 1295.5,1490.5 Z"/></g>
36<g><path style="opacity:1" fill="#e19279" d="M 1481.5,1500.5 C 1481.64,1505.41 1480.97,1510.08 1479.5,1514.5C 1479.36,1509.59 1480.03,1504.92 1481.5,1500.5 Z"/></g>
37<g><path style="opacity:1" fill="#e9af9c" d="M 1479.5,1515.5 C 1479.34,1519.84 1478.34,1523.84 1476.5,1527.5C 1476.66,1523.16 1477.66,1519.16 1479.5,1515.5 Z"/></g>
38<g><path style="opacity:1" fill="#dd866b" d="M 1476.5,1532.5 C 1476.59,1535.15 1475.92,1537.49 1474.5,1539.5C 1474.41,1536.85 1475.08,1534.51 1476.5,1532.5 Z"/></g>
39<g><path style="opacity:1" fill="#e5a48f" d="M 1474.5,1539.5 C 1474.59,1542.15 1473.92,1544.49 1472.5,1546.5C 1472.41,1543.85 1473.08,1541.51 1474.5,1539.5 Z"/></g>
40<g><path style="opacity:1" fill="#e8ac9a" d="M 1468.5,1563.5 C 1467.87,1566.4 1466.87,1569.06 1465.5,1571.5C 1465.35,1568.28 1466.35,1565.62 1468.5,1563.5 Z"/></g>
41<g><path style="opacity:1" fill="#e39c85" d="M 636.5,1570.5 C 645.324,1569.34 654.324,1569.18 663.5,1570C 665.798,1575.73 667.798,1581.56 669.5,1587.5C 666.709,1582.32 664.375,1576.82 662.5,1571C 653.84,1570.5 645.173,1570.33 636.5,1570.5 Z"/></g>
42<g><path style="opacity:1" fill="#e39880" d="M 1465.5,1571.5 C 1464.99,1576.7 1463.32,1581.37 1460.5,1585.5C 1461.8,1580.61 1463.46,1575.94 1465.5,1571.5 Z"/></g>
43<g><path style="opacity:1" fill="#f4d9d2" d="M 1372.5,1730.5 C 1372.67,1757.5 1372.5,1784.5 1372,1811.5C 1371.62,1812.06 1371.12,1812.39 1370.5,1812.5C 1371.15,1785.04 1371.82,1757.71 1372.5,1730.5 Z"/></g>
44<g><path style="opacity:1" fill="#efc7bb" d="M 978.5,1809.5 C 976.869,1813.23 975.869,1817.23 975.5,1821.5C 975.5,1817.17 975.5,1812.83 975.5,1808.5C 976.791,1808.26 977.791,1808.6 978.5,1809.5 Z"/></g>
45<g><path style="opacity:1" fill="#e9b4a3" d="M 1161.5,1809.5 C 1162.57,1808.57 1163.9,1808.23 1165.5,1808.5C 1165.5,1814.17 1165.5,1819.83 1165.5,1825.5C 1164.51,1820.36 1164.18,1815.03 1164.5,1809.5C 1163.5,1809.5 1162.5,1809.5 1161.5,1809.5 Z"/></g>
46</svg>
diff --git a/recipes/firefly/index.js b/recipes/firefly/index.js
new file mode 100644
index 0000000..c57c20b
--- /dev/null
+++ b/recipes/firefly/index.js
@@ -0,0 +1,6 @@
1module.exports = Ferdium =>
2 class Firefly extends Ferdium {
3 buildUrl(url) {
4 return `${url}/`;
5 }
6 };
diff --git a/recipes/firefly/package.json b/recipes/firefly/package.json
new file mode 100644
index 0000000..5b2b3ca
--- /dev/null
+++ b/recipes/firefly/package.json
@@ -0,0 +1,10 @@
1{
2 "id": "firefly",
3 "name": "Firefly",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "hasCustomUrl": true,
8 "serviceURL": "https://{firefly}/"
9 }
10}
diff --git a/recipes/firefly/webview.js b/recipes/firefly/webview.js
new file mode 100644
index 0000000..2a81dec
--- /dev/null
+++ b/recipes/firefly/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};