Skip to content

Commit

Permalink
Add Bard recipe (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
victorbnl committed Jul 19, 2023
1 parent d028830 commit 6a3e5ec
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
22 changes: 22 additions & 0 deletions recipes/bard/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions recipes/bard/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
9 changes: 9 additions & 0 deletions recipes/bard/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "bard",
"name": "Bard",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://bard.google.com/"
}
}
9 changes: 9 additions & 0 deletions recipes/bard/webview.js
Original file line number Diff line number Diff line change
@@ -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'));
};

0 comments on commit 6a3e5ec

Please sign in to comment.