Skip to content

Commit

Permalink
add 80lv, cara, claude.ai, daily.dev, google geminy and quora
Browse files Browse the repository at this point in the history
  • Loading branch information
Kureii authored and vraravam committed Oct 4, 2024
1 parent 59f445e commit b872591
Show file tree
Hide file tree
Showing 24 changed files with 332 additions and 0 deletions.
63 changes: 63 additions & 0 deletions recipes/80lv/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/80lv/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/80lv/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "80lv",
"name": "80LV",
"version": "1.0.1",
"license": "MIT",
"config": {
"serviceURL": "https://80.lv"
}
}
9 changes: 9 additions & 0 deletions recipes/80lv/webview.js
Original file line number Diff line number Diff line change
@@ -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'));
};
33 changes: 33 additions & 0 deletions recipes/cara/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/cara/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/cara/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "cara",
"name": "Cara",
"version": "1.0.1",
"license": "MIT",
"config": {
"serviceURL": "https://cara.app"
}
}
9 changes: 9 additions & 0 deletions recipes/cara/webview.js
Original file line number Diff line number Diff line change
@@ -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'));
};
1 change: 1 addition & 0 deletions recipes/claude-ai/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/claude-ai/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/claude-ai/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "claude-ai",
"name": "claude.ai",
"version": "1.0.1",
"license": "MIT",
"config": {
"serviceURL": "https://claude.ai"
}
}
13 changes: 13 additions & 0 deletions recipes/claude-ai/webview.js
Original file line number Diff line number Diff line change
@@ -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'));
};
77 changes: 77 additions & 0 deletions recipes/daily-dev/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/daily-dev/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/daily-dev/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "daily-dev",
"name": "Daily.dev",
"version": "1.0.1",
"license": "MIT",
"config": {
"serviceURL": "https://app.daily.dev"
}
}
9 changes: 9 additions & 0 deletions recipes/daily-dev/webview.js
Original file line number Diff line number Diff line change
@@ -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'));
};
1 change: 1 addition & 0 deletions recipes/google-gemini/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/google-gemini/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/google-gemini/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "google-gemini",
"name": "Google Gemini",
"version": "1.0.1",
"license": "MIT",
"config": {
"serviceURL": "https://gemini.google.com"
}
}
21 changes: 21 additions & 0 deletions recipes/google-gemini/webview.js
Original file line number Diff line number Diff line change
@@ -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'));
};
27 changes: 27 additions & 0 deletions recipes/quora/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/quora/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/quora/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "quora",
"name": "Quora",
"version": "1.0.1",
"license": "MIT",
"config": {
"serviceURL": "https://www.quora.com"
}
}
9 changes: 9 additions & 0 deletions recipes/quora/webview.js
Original file line number Diff line number Diff line change
@@ -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'));
};

0 comments on commit b872591

Please sign in to comment.