aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/chatwithgpt
diff options
context:
space:
mode:
authorLibravatar Victor B <39555268+victorbnl@users.noreply.github.com>2023-04-25 00:08:42 +0200
committerLibravatar GitHub <noreply@github.com>2023-04-24 23:08:42 +0100
commit95c80a89b911c46bc47cb20e6378a996b210b59b (patch)
treefd6ac876c654e4c1544aae44c7dab96cfc841fda /recipes/chatwithgpt
parentadd victorbnl as a contributor for code (#338) [skip ci] (diff)
downloadferdium-recipes-95c80a89b911c46bc47cb20e6378a996b210b59b.tar.gz
ferdium-recipes-95c80a89b911c46bc47cb20e6378a996b210b59b.tar.zst
ferdium-recipes-95c80a89b911c46bc47cb20e6378a996b210b59b.zip
Add Chat with GPT recipe (#334)
Diffstat (limited to 'recipes/chatwithgpt')
-rw-r--r--recipes/chatwithgpt/icon.svg41
-rw-r--r--recipes/chatwithgpt/index.js1
-rw-r--r--recipes/chatwithgpt/package.json9
-rw-r--r--recipes/chatwithgpt/webview.js9
4 files changed, 60 insertions, 0 deletions
diff --git a/recipes/chatwithgpt/icon.svg b/recipes/chatwithgpt/icon.svg
new file mode 100644
index 0000000..26e2e30
--- /dev/null
+++ b/recipes/chatwithgpt/icon.svg
@@ -0,0 +1,41 @@
1<svg
2 viewBox="0 0 24 24"
3 width="24"
4 height="24"
5 xmlns="http://www.w3.org/2000/svg">
6 <rect
7 style="fill:#222222"
8 width="24"
9 height="24"
10 x="0"
11 y="0"
12 ry="2.6431646" />
13 <circle
14 cx="11.952789"
15 cy="11.9999"
16 r="2.05"
17 fill="#61dafb" />
18 <g
19 stroke="#61dafb"
20 stroke-width="1"
21 fill="none"
22 transform="matrix(0.90136184,0,0,0.90136184,11.952789,11.9999)">
23 <ellipse
24 rx="11"
25 ry="4.1999998"
26 cx="0"
27 cy="1.5713599e-09" />
28 <ellipse
29 rx="11"
30 ry="4.1999998"
31 transform="rotate(60)"
32 cx="-4.5361268e-10"
33 cy="7.8567997e-10" />
34 <ellipse
35 rx="11"
36 ry="4.1999998"
37 transform="rotate(120)"
38 cx="-4.5361262e-10"
39 cy="-7.8567997e-10" />
40 </g>
41</svg>
diff --git a/recipes/chatwithgpt/index.js b/recipes/chatwithgpt/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/chatwithgpt/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/chatwithgpt/package.json b/recipes/chatwithgpt/package.json
new file mode 100644
index 0000000..42748dc
--- /dev/null
+++ b/recipes/chatwithgpt/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "chatwithgpt",
3 "name": "Chat with GPT",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://www.chatwithgpt.ai/"
8 }
9}
diff --git a/recipes/chatwithgpt/webview.js b/recipes/chatwithgpt/webview.js
new file mode 100644
index 0000000..56a20b6
--- /dev/null
+++ b/recipes/chatwithgpt/webview.js
@@ -0,0 +1,9 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9};