Skip to content

Commit

Permalink
feat: add memos recipe (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthalles authored Nov 2, 2023
1 parent 64e2649 commit 1f2ef43
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 0 deletions.
74 changes: 74 additions & 0 deletions recipes/memos/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/memos/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
15 changes: 15 additions & 0 deletions recipes/memos/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"id": "memos",
"name": "memos",
"version": "1.0.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/usememos/memos"
},
"config": {
"message": "A self-hosted privacy-first, lightweight note-taking service. Easily capture and share your great thoughts.",
"hasCustomUrl": true,
"hasDirectMessages": false
}
}
9 changes: 9 additions & 0 deletions recipes/memos/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 1f2ef43

Please sign in to comment.