From 95c80a89b911c46bc47cb20e6378a996b210b59b Mon Sep 17 00:00:00 2001 From: Victor B <39555268+victorbnl@users.noreply.github.com> Date: Tue, 25 Apr 2023 00:08:42 +0200 Subject: Add Chat with GPT recipe (#334) --- recipes/chatwithgpt/icon.svg | 41 ++++++++++++++++++++++++++++++++++++++++ recipes/chatwithgpt/index.js | 1 + recipes/chatwithgpt/package.json | 9 +++++++++ recipes/chatwithgpt/webview.js | 9 +++++++++ 4 files changed, 60 insertions(+) create mode 100644 recipes/chatwithgpt/icon.svg create mode 100644 recipes/chatwithgpt/index.js create mode 100644 recipes/chatwithgpt/package.json create mode 100644 recipes/chatwithgpt/webview.js (limited to 'recipes/chatwithgpt') 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 @@ + + + + + + + + + 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 @@ +{ + "id": "chatwithgpt", + "name": "Chat with GPT", + "version": "1.0.0", + "license": "MIT", + "config": { + "serviceURL": "https://www.chatwithgpt.ai/" + } +} 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 @@ +const _path = _interopRequireDefault(require('path')); + +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; +} + +module.exports = Ferdium => { + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); +}; -- cgit v1.2.3-54-g00ecf