diff options
Diffstat (limited to 'recipes/scribens')
-rw-r--r-- | recipes/scribens/LICENSE | 21 | ||||
-rw-r--r-- | recipes/scribens/README.md | 2 | ||||
-rw-r--r-- | recipes/scribens/icon.svg | 13 | ||||
-rw-r--r-- | recipes/scribens/index.js | 2 | ||||
-rw-r--r-- | recipes/scribens/package.json | 12 | ||||
-rw-r--r-- | recipes/scribens/service.css | 1 | ||||
-rw-r--r-- | recipes/scribens/webview.js | 7 |
7 files changed, 58 insertions, 0 deletions
diff --git a/recipes/scribens/LICENSE b/recipes/scribens/LICENSE new file mode 100644 index 0000000..99d6f23 --- /dev/null +++ b/recipes/scribens/LICENSE | |||
@@ -0,0 +1,21 @@ | |||
1 | MIT License | ||
2 | |||
3 | Copyright (c) 2020 Vijay Raghavan Aravamudhan | ||
4 | |||
5 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
6 | of this software and associated documentation files (the "Software"), to deal | ||
7 | in the Software without restriction, including without limitation the rights | ||
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
9 | copies of the Software, and to permit persons to whom the Software is | ||
10 | furnished to do so, subject to the following conditions: | ||
11 | |||
12 | The above copyright notice and this permission notice shall be included in all | ||
13 | copies or substantial portions of the Software. | ||
14 | |||
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
21 | SOFTWARE. | ||
diff --git a/recipes/scribens/README.md b/recipes/scribens/README.md new file mode 100644 index 0000000..49f3908 --- /dev/null +++ b/recipes/scribens/README.md | |||
@@ -0,0 +1,2 @@ | |||
1 | # scribens for Ferdi | ||
2 | This is a Ferdi recipe for scribens | ||
diff --git a/recipes/scribens/icon.svg b/recipes/scribens/icon.svg new file mode 100644 index 0000000..94a5831 --- /dev/null +++ b/recipes/scribens/icon.svg | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" standalone="no"?> | ||
2 | <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" | ||
3 | "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> | ||
4 | <svg version="1.0" xmlns="http://www.w3.org/2000/svg" | ||
5 | width="1.000000pt" height="1.000000pt" viewBox="0 0 1.000000 1.000000" | ||
6 | preserveAspectRatio="xMidYMid meet"> | ||
7 | <metadata> | ||
8 | Created by potrace 1.16, written by Peter Selinger 2001-2019 | ||
9 | </metadata> | ||
10 | <g transform="translate(0.000000,1.000000) scale(0.100000,-0.100000)" | ||
11 | fill="#000000" stroke="none"> | ||
12 | </g> | ||
13 | </svg> | ||
diff --git a/recipes/scribens/index.js b/recipes/scribens/index.js new file mode 100644 index 0000000..3851554 --- /dev/null +++ b/recipes/scribens/index.js | |||
@@ -0,0 +1,2 @@ | |||
1 | module.exports = Ferdi => class Scribens extends Ferdi { | ||
2 | }; | ||
diff --git a/recipes/scribens/package.json b/recipes/scribens/package.json new file mode 100644 index 0000000..dbdfbb2 --- /dev/null +++ b/recipes/scribens/package.json | |||
@@ -0,0 +1,12 @@ | |||
1 | { | ||
2 | "id": "scribens", | ||
3 | "name": "Scribens", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://scribens.{teamId}", | ||
8 | "urlInputPrefix": "https://scribens.", | ||
9 | "hasTeamId": true, | ||
10 | "message": "Insert your language in team, e.g. com for English or fr for french" | ||
11 | } | ||
12 | } | ||
diff --git a/recipes/scribens/service.css b/recipes/scribens/service.css new file mode 100644 index 0000000..38dcab0 --- /dev/null +++ b/recipes/scribens/service.css | |||
@@ -0,0 +1 @@ | |||
/* Insert custom styles you want to insert here */ \ No newline at end of file | |||
diff --git a/recipes/scribens/webview.js b/recipes/scribens/webview.js new file mode 100644 index 0000000..0a6434d --- /dev/null +++ b/recipes/scribens/webview.js | |||
@@ -0,0 +1,7 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||