aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/perplexity
diff options
context:
space:
mode:
authorLibravatar Victor B <39555268+victorbnl@users.noreply.github.com>2023-07-20 01:34:17 +0200
committerLibravatar GitHub <noreply@github.com>2023-07-20 05:04:17 +0530
commit587c10aa53eeeec036b2420c1514ea37907958eb (patch)
tree52dbae2f508f576deb3cde3623abbd741ec8a3ed /recipes/perplexity
parentAdd Bard recipe (#389) (diff)
downloadferdium-recipes-587c10aa53eeeec036b2420c1514ea37907958eb.tar.gz
ferdium-recipes-587c10aa53eeeec036b2420c1514ea37907958eb.tar.zst
ferdium-recipes-587c10aa53eeeec036b2420c1514ea37907958eb.zip
Add Perplexity AI recipe (#388)
Diffstat (limited to 'recipes/perplexity')
-rw-r--r--recipes/perplexity/icon.svg1
-rw-r--r--recipes/perplexity/index.js1
-rw-r--r--recipes/perplexity/package.json9
-rw-r--r--recipes/perplexity/webview.js9
4 files changed, 20 insertions, 0 deletions
diff --git a/recipes/perplexity/icon.svg b/recipes/perplexity/icon.svg
new file mode 100644
index 0000000..da383fc
--- /dev/null
+++ b/recipes/perplexity/icon.svg
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="480" height="480" fill="none"><path fill="#1E1E1E" d="M0 0h480v480H0z"/><path fill="#212125" fill-opacity=".3" d="M0 0h480v480H0z"/><circle cx="145" cy="145" r="30" fill="#fff"/><circle cx="240" cy="145" r="30" fill="#fff"/><circle cx="335" cy="145" r="30" fill="#fff"/><circle cx="145" cy="240" r="30" fill="#fff"/><circle cx="240" cy="240" r="30" fill="#fff"/><circle cx="335" cy="240" r="30" fill="#fff"/><circle cx="145" cy="335" r="30" fill="#fff"/><circle cx="240" cy="335" r="30" fill="#fff"/><circle cx="335" cy="335" r="30" fill="#fff"/></svg> \ No newline at end of file
diff --git a/recipes/perplexity/index.js b/recipes/perplexity/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/perplexity/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/perplexity/package.json b/recipes/perplexity/package.json
new file mode 100644
index 0000000..4da64ae
--- /dev/null
+++ b/recipes/perplexity/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "perplexity",
3 "name": "Perplexity AI",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://www.perplexity.ai/"
8 }
9}
diff --git a/recipes/perplexity/webview.js b/recipes/perplexity/webview.js
new file mode 100644
index 0000000..56a20b6
--- /dev/null
+++ b/recipes/perplexity/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};