Skip to content

Commit

Permalink
add recipes for freelancers (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakarimov authored May 9, 2024
1 parent 1d74c9a commit f90e958
Show file tree
Hide file tree
Showing 12 changed files with 285 additions and 0 deletions.
62 changes: 62 additions & 0 deletions recipes/guru/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/guru/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/guru/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "guru",
"name": "guru.com",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://www.guru.com/pro/messages.aspx"
}
}
19 changes: 19 additions & 0 deletions recipes/guru/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

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

module.exports = Ferdium => {
const getMessages = () => {
const directMessages = $(
'.module_btn.lonely_btn.white_btn.globalHeader__btn.accountDropdownBtn',
)?.textContent;

Ferdium.setBadge(directMessages);
};

Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};
74 changes: 74 additions & 0 deletions recipes/peopleperhour/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/peopleperhour/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/peopleperhour/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "peopleperhour",
"name": "People Per Hour",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://www.peopleperhour.com/notification/list"
}
}
Loading

0 comments on commit f90e958

Please sign in to comment.