diff options
Diffstat (limited to 'recipes/wakatime')
-rw-r--r-- | recipes/wakatime/LICENSE | 21 | ||||
-rw-r--r-- | recipes/wakatime/README.md | 2 | ||||
-rw-r--r-- | recipes/wakatime/icon.svg | 1 | ||||
-rw-r--r-- | recipes/wakatime/index.js | 2 | ||||
-rw-r--r-- | recipes/wakatime/package.json | 9 | ||||
-rw-r--r-- | recipes/wakatime/service.css | 1 | ||||
-rw-r--r-- | recipes/wakatime/webview.js | 3 |
7 files changed, 39 insertions, 0 deletions
diff --git a/recipes/wakatime/LICENSE b/recipes/wakatime/LICENSE new file mode 100644 index 0000000..99d6f23 --- /dev/null +++ b/recipes/wakatime/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/wakatime/README.md b/recipes/wakatime/README.md new file mode 100644 index 0000000..7a9f8f7 --- /dev/null +++ b/recipes/wakatime/README.md | |||
@@ -0,0 +1,2 @@ | |||
1 | # wakatime for Ferdi | ||
2 | This is a Ferdi recipe for wakatime | ||
diff --git a/recipes/wakatime/icon.svg b/recipes/wakatime/icon.svg new file mode 100644 index 0000000..aca2747 --- /dev/null +++ b/recipes/wakatime/icon.svg | |||
@@ -0,0 +1 @@ | |||
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>WakaTime</title><path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm0 2.824a9.176 9.176 0 1 1 0 18.352 9.176 9.176 0 0 1 0-18.352zm5.097 5.058c-.327 0-.61.19-.764.45-1.025 1.463-2.21 3.162-3.288 4.706l-.387-.636a.897.897 0 0 0-.759-.439.901.901 0 0 0-.788.492l-.357.581-1.992-2.943a.897.897 0 0 0-.761-.446c-.514 0-.903.452-.903.96a1 1 0 0 0 .207.61l2.719 3.96c.152.272.44.47.776.47a.91.91 0 0 0 .787-.483c.046-.071.23-.368.314-.504l.324.52c-.035-.047.076.113.087.13.024.031.054.059.078.085.019.019.04.036.058.052.036.033.08.056.115.08.025.016.052.028.076.04.029.015.06.024.088.035.058.025.122.027.18.04.031.004.064.003.092.005.29 0 .546-.149.707-.36 1.4-2 2.842-4.055 4.099-5.849A.995.995 0 0 0 18 8.842c0-.508-.389-.96-.903-.96"/></svg> \ No newline at end of file | |||
diff --git a/recipes/wakatime/index.js b/recipes/wakatime/index.js new file mode 100644 index 0000000..f16f627 --- /dev/null +++ b/recipes/wakatime/index.js | |||
@@ -0,0 +1,2 @@ | |||
1 | module.exports = Ferdi => class Wakatime extends Ferdi { | ||
2 | }; | ||
diff --git a/recipes/wakatime/package.json b/recipes/wakatime/package.json new file mode 100644 index 0000000..2923701 --- /dev/null +++ b/recipes/wakatime/package.json | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "id": "wakatime", | ||
3 | "name": "Wakatime", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://wakatime.com/login" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/wakatime/service.css b/recipes/wakatime/service.css new file mode 100644 index 0000000..38dcab0 --- /dev/null +++ b/recipes/wakatime/service.css | |||
@@ -0,0 +1 @@ | |||
/* Insert custom styles you want to insert here */ \ No newline at end of file | |||
diff --git a/recipes/wakatime/webview.js b/recipes/wakatime/webview.js new file mode 100644 index 0000000..d18a37d --- /dev/null +++ b/recipes/wakatime/webview.js | |||
@@ -0,0 +1,3 @@ | |||
1 | module.exports = (Ferdi) => { | ||
2 | Ferdi.injectCSS(_path.default.join(__dirname, "service.css")); | ||
3 | }; | ||