From 9f2b614ba9930ba301486300b474520d213838f8 Mon Sep 17 00:00:00 2001
From: Tomas Adamek <50672285+Kureii@users.noreply.github.com>
Date: Fri, 4 Oct 2024 19:16:29 +0200
Subject: [PATCH] add 80lv, cara, claude.ai, daily.dev, google geminy and quora
(#588)
---
recipes/80lv/icon.svg | 63 ++++++++++++++++++++++++
recipes/80lv/index.js | 1 +
recipes/80lv/package.json | 9 ++++
recipes/80lv/webview.js | 9 ++++
recipes/cara/icon.svg | 33 +++++++++++++
recipes/cara/index.js | 1 +
recipes/cara/package.json | 9 ++++
recipes/cara/webview.js | 9 ++++
recipes/claude-ai/icon.svg | 1 +
recipes/claude-ai/index.js | 1 +
recipes/claude-ai/package.json | 9 ++++
recipes/claude-ai/webview.js | 13 +++++
recipes/daily-dev/icon.svg | 77 ++++++++++++++++++++++++++++++
recipes/daily-dev/index.js | 1 +
recipes/daily-dev/package.json | 9 ++++
recipes/daily-dev/webview.js | 9 ++++
recipes/google-gemini/icon.svg | 1 +
recipes/google-gemini/index.js | 1 +
recipes/google-gemini/package.json | 9 ++++
recipes/google-gemini/webview.js | 21 ++++++++
recipes/quora/icon.svg | 27 +++++++++++
recipes/quora/index.js | 1 +
recipes/quora/package.json | 9 ++++
recipes/quora/webview.js | 9 ++++
24 files changed, 332 insertions(+)
create mode 100644 recipes/80lv/icon.svg
create mode 100644 recipes/80lv/index.js
create mode 100644 recipes/80lv/package.json
create mode 100644 recipes/80lv/webview.js
create mode 100644 recipes/cara/icon.svg
create mode 100644 recipes/cara/index.js
create mode 100644 recipes/cara/package.json
create mode 100644 recipes/cara/webview.js
create mode 100644 recipes/claude-ai/icon.svg
create mode 100644 recipes/claude-ai/index.js
create mode 100644 recipes/claude-ai/package.json
create mode 100644 recipes/claude-ai/webview.js
create mode 100644 recipes/daily-dev/icon.svg
create mode 100644 recipes/daily-dev/index.js
create mode 100644 recipes/daily-dev/package.json
create mode 100644 recipes/daily-dev/webview.js
create mode 100644 recipes/google-gemini/icon.svg
create mode 100644 recipes/google-gemini/index.js
create mode 100644 recipes/google-gemini/package.json
create mode 100644 recipes/google-gemini/webview.js
create mode 100644 recipes/quora/icon.svg
create mode 100644 recipes/quora/index.js
create mode 100644 recipes/quora/package.json
create mode 100644 recipes/quora/webview.js
diff --git a/recipes/80lv/icon.svg b/recipes/80lv/icon.svg
new file mode 100644
index 000000000..ce81ac1ee
--- /dev/null
+++ b/recipes/80lv/icon.svg
@@ -0,0 +1,63 @@
+
+
diff --git a/recipes/80lv/index.js b/recipes/80lv/index.js
new file mode 100644
index 000000000..dd41f7287
--- /dev/null
+++ b/recipes/80lv/index.js
@@ -0,0 +1 @@
+module.exports = Ferdium => Ferdium;
diff --git a/recipes/80lv/package.json b/recipes/80lv/package.json
new file mode 100644
index 000000000..7f9abd4e4
--- /dev/null
+++ b/recipes/80lv/package.json
@@ -0,0 +1,9 @@
+{
+ "id": "80lv",
+ "name": "80LV",
+ "version": "1.0.0",
+ "license": "MIT",
+ "config": {
+ "serviceURL": "https://80.lv"
+ }
+}
diff --git a/recipes/80lv/webview.js b/recipes/80lv/webview.js
new file mode 100644
index 000000000..11192196b
--- /dev/null
+++ b/recipes/80lv/webview.js
@@ -0,0 +1,9 @@
+function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+}
+
+const _path = _interopRequireDefault(require('path'));
+
+module.exports = Ferdium => {
+ Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
+};
diff --git a/recipes/cara/icon.svg b/recipes/cara/icon.svg
new file mode 100644
index 000000000..dd0b7c125
--- /dev/null
+++ b/recipes/cara/icon.svg
@@ -0,0 +1,33 @@
+
+
diff --git a/recipes/cara/index.js b/recipes/cara/index.js
new file mode 100644
index 000000000..dd41f7287
--- /dev/null
+++ b/recipes/cara/index.js
@@ -0,0 +1 @@
+module.exports = Ferdium => Ferdium;
diff --git a/recipes/cara/package.json b/recipes/cara/package.json
new file mode 100644
index 000000000..c1350512d
--- /dev/null
+++ b/recipes/cara/package.json
@@ -0,0 +1,9 @@
+{
+ "id": "cara",
+ "name": "Cara",
+ "version": "1.0.0",
+ "license": "MIT",
+ "config": {
+ "serviceURL": "https://cara.app"
+ }
+}
diff --git a/recipes/cara/webview.js b/recipes/cara/webview.js
new file mode 100644
index 000000000..11192196b
--- /dev/null
+++ b/recipes/cara/webview.js
@@ -0,0 +1,9 @@
+function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+}
+
+const _path = _interopRequireDefault(require('path'));
+
+module.exports = Ferdium => {
+ Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
+};
diff --git a/recipes/claude-ai/icon.svg b/recipes/claude-ai/icon.svg
new file mode 100644
index 000000000..342d40be8
--- /dev/null
+++ b/recipes/claude-ai/icon.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/recipes/claude-ai/index.js b/recipes/claude-ai/index.js
new file mode 100644
index 000000000..dd41f7287
--- /dev/null
+++ b/recipes/claude-ai/index.js
@@ -0,0 +1 @@
+module.exports = Ferdium => Ferdium;
diff --git a/recipes/claude-ai/package.json b/recipes/claude-ai/package.json
new file mode 100644
index 000000000..d4cf0b48d
--- /dev/null
+++ b/recipes/claude-ai/package.json
@@ -0,0 +1,9 @@
+{
+ "id": "claude-ai",
+ "name": "claude.ai",
+ "version": "1.0.0",
+ "license": "MIT",
+ "config": {
+ "serviceURL": "https://claude.ai"
+ }
+}
diff --git a/recipes/claude-ai/webview.js b/recipes/claude-ai/webview.js
new file mode 100644
index 000000000..a471ad398
--- /dev/null
+++ b/recipes/claude-ai/webview.js
@@ -0,0 +1,13 @@
+function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+}
+
+const _path = _interopRequireDefault(require('path'));
+
+module.exports = Ferdium => {
+ Ferdium.handleDarkMode(isEnabled => {
+ localStorage.setItem('theme', isEnabled ? 'dark' : 'light');
+ });
+
+ Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
+};
diff --git a/recipes/daily-dev/icon.svg b/recipes/daily-dev/icon.svg
new file mode 100644
index 000000000..b184c2b1e
--- /dev/null
+++ b/recipes/daily-dev/icon.svg
@@ -0,0 +1,77 @@
+
+
diff --git a/recipes/daily-dev/index.js b/recipes/daily-dev/index.js
new file mode 100644
index 000000000..dd41f7287
--- /dev/null
+++ b/recipes/daily-dev/index.js
@@ -0,0 +1 @@
+module.exports = Ferdium => Ferdium;
diff --git a/recipes/daily-dev/package.json b/recipes/daily-dev/package.json
new file mode 100644
index 000000000..2da2fa3d7
--- /dev/null
+++ b/recipes/daily-dev/package.json
@@ -0,0 +1,9 @@
+{
+ "id": "daily-dev",
+ "name": "Daily.dev",
+ "version": "1.0.0",
+ "license": "MIT",
+ "config": {
+ "serviceURL": "https://app.daily.dev"
+ }
+}
diff --git a/recipes/daily-dev/webview.js b/recipes/daily-dev/webview.js
new file mode 100644
index 000000000..11192196b
--- /dev/null
+++ b/recipes/daily-dev/webview.js
@@ -0,0 +1,9 @@
+function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+}
+
+const _path = _interopRequireDefault(require('path'));
+
+module.exports = Ferdium => {
+ Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
+};
diff --git a/recipes/google-gemini/icon.svg b/recipes/google-gemini/icon.svg
new file mode 100644
index 000000000..787c83710
--- /dev/null
+++ b/recipes/google-gemini/icon.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/recipes/google-gemini/index.js b/recipes/google-gemini/index.js
new file mode 100644
index 000000000..dd41f7287
--- /dev/null
+++ b/recipes/google-gemini/index.js
@@ -0,0 +1 @@
+module.exports = Ferdium => Ferdium;
diff --git a/recipes/google-gemini/package.json b/recipes/google-gemini/package.json
new file mode 100644
index 000000000..868a3d6db
--- /dev/null
+++ b/recipes/google-gemini/package.json
@@ -0,0 +1,9 @@
+{
+ "id": "google-gemini",
+ "name": "Google Gemini",
+ "version": "1.0.0",
+ "license": "MIT",
+ "config": {
+ "serviceURL": "https://gemini.google.com"
+ }
+}
diff --git a/recipes/google-gemini/webview.js b/recipes/google-gemini/webview.js
new file mode 100644
index 000000000..a358f8055
--- /dev/null
+++ b/recipes/google-gemini/webview.js
@@ -0,0 +1,21 @@
+function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+}
+
+const _path = _interopRequireDefault(require('path'));
+
+module.exports = Ferdium => {
+ if (
+ location.hostname === 'workspace.google.com' &&
+ location.href.includes('products/gemini/')
+ ) {
+ location.href =
+ 'https://accounts.google.com/AccountChooser?continue=https://gemini.google.com/u/0/';
+ }
+
+ Ferdium.handleDarkMode(isEnabled => {
+ localStorage.setItem('theme', isEnabled ? 'dark' : 'light');
+ });
+
+ Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
+};
diff --git a/recipes/quora/icon.svg b/recipes/quora/icon.svg
new file mode 100644
index 000000000..496907759
--- /dev/null
+++ b/recipes/quora/icon.svg
@@ -0,0 +1,27 @@
+
+
diff --git a/recipes/quora/index.js b/recipes/quora/index.js
new file mode 100644
index 000000000..dd41f7287
--- /dev/null
+++ b/recipes/quora/index.js
@@ -0,0 +1 @@
+module.exports = Ferdium => Ferdium;
diff --git a/recipes/quora/package.json b/recipes/quora/package.json
new file mode 100644
index 000000000..0d339abbf
--- /dev/null
+++ b/recipes/quora/package.json
@@ -0,0 +1,9 @@
+{
+ "id": "quora",
+ "name": "Quora",
+ "version": "1.0.0",
+ "license": "MIT",
+ "config": {
+ "serviceURL": "https://www.quora.com"
+ }
+}
diff --git a/recipes/quora/webview.js b/recipes/quora/webview.js
new file mode 100644
index 000000000..11192196b
--- /dev/null
+++ b/recipes/quora/webview.js
@@ -0,0 +1,9 @@
+function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : { default: obj };
+}
+
+const _path = _interopRequireDefault(require('path'));
+
+module.exports = Ferdium => {
+ Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
+};