Skip to content

Commit

Permalink
Add multiple recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
SpecialAro committed Aug 21, 2024
1 parent 38233ee commit 3486f87
Show file tree
Hide file tree
Showing 22 changed files with 208 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ server*.log
*.bmp
*.zwc*
/all.json
/temp
35 changes: 35 additions & 0 deletions recipes/hastebin/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/hastebin/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/hastebin/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "hastebin",
"name": "Hastebin",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://www.toptal.com/developers/hastebin"
}
}
16 changes: 16 additions & 0 deletions recipes/hastebin/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your Hastebin service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};
17 changes: 17 additions & 0 deletions recipes/jsoncrack/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/jsoncrack/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/jsoncrack/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "jsoncrack",
"name": "JSON Crack",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://app.jsoncrack.com/"
}
}
16 changes: 16 additions & 0 deletions recipes/jsoncrack/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your JSON Crack service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};
2 changes: 2 additions & 0 deletions recipes/pastebin/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/pastebin/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/pastebin/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "pastebin",
"name": "Pastebin",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://pastebin.com/"
}
}
16 changes: 16 additions & 0 deletions recipes/pastebin/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your Pastebin service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};
1 change: 1 addition & 0 deletions recipes/phanpy/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/phanpy/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/phanpy/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "phanpy",
"name": "Phanpy",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://phanpy.social/"
}
}
16 changes: 16 additions & 0 deletions recipes/phanpy/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your Phanpy service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};
20 changes: 20 additions & 0 deletions recipes/replit/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/replit/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/replit/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "replit",
"name": "Replit",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://replit.com/login"
}
}
16 changes: 16 additions & 0 deletions recipes/replit/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your Replit service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};
4 changes: 2 additions & 2 deletions recipes/zoom/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"id": "zoom",
"name": "Zoom",
"version": "1.4.1",
"version": "1.4.2",
"license": "MIT",
"config": {
"serviceURL": "https://zoom.us/join",
"serviceURL": "https://app.zoom.us/wc/home",
"hasNotificationSound": true
}
}

0 comments on commit 3486f87

Please sign in to comment.