From 6a12a29e1224939aa115a14715a4415e14b0b389 Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Thu, 19 Jan 2023 22:50:09 +0000 Subject: feat: add several recipes (#293) --- recipes/pixelfed/icon.svg | 25 +++++++++++++++++++++++++ recipes/pixelfed/index.js | 1 + recipes/pixelfed/package.json | 9 +++++++++ recipes/pixelfed/webview.js | 9 +++++++++ 4 files changed, 44 insertions(+) create mode 100644 recipes/pixelfed/icon.svg create mode 100644 recipes/pixelfed/index.js create mode 100644 recipes/pixelfed/package.json create mode 100644 recipes/pixelfed/webview.js (limited to 'recipes/pixelfed') diff --git a/recipes/pixelfed/icon.svg b/recipes/pixelfed/icon.svg new file mode 100644 index 0000000..49b7ebd --- /dev/null +++ b/recipes/pixelfed/icon.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/recipes/pixelfed/index.js b/recipes/pixelfed/index.js new file mode 100644 index 0000000..fb2f9bf --- /dev/null +++ b/recipes/pixelfed/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => class Pixelfed extends Ferdium {}; diff --git a/recipes/pixelfed/package.json b/recipes/pixelfed/package.json new file mode 100644 index 0000000..1c89fea --- /dev/null +++ b/recipes/pixelfed/package.json @@ -0,0 +1,9 @@ +{ + "id": "pixelfed", + "name": "Pixelfed", + "version": "1.0.0", + "license": "MIT", + "config": { + "serviceURL": "https://pixelfed.social" + } +} diff --git a/recipes/pixelfed/webview.js b/recipes/pixelfed/webview.js new file mode 100644 index 0000000..56a20b6 --- /dev/null +++ b/recipes/pixelfed/webview.js @@ -0,0 +1,9 @@ +const _path = _interopRequireDefault(require('path')); + +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; +} + +module.exports = Ferdium => { + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); +}; -- cgit v1.2.3-54-g00ecf