From 00b36e811b3012fa67aa3eedb4edcf8011b85f35 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 16 Jul 2019 16:39:36 +0200 Subject: [PATCH] First commit --- README.md | 1 + assets/style.css | 0 client/common-client-plugin.js | 7 +++++++ main.js | 12 ++++++++++++ package.json | 28 ++++++++++++++++++++++++++++ public/images/.gitkeep | 0 6 files changed, 48 insertions(+) create mode 100644 README.md create mode 100644 assets/style.css create mode 100644 client/common-client-plugin.js create mode 100644 main.js create mode 100644 package.json create mode 100644 public/images/.gitkeep diff --git a/README.md b/README.md new file mode 100644 index 0000000..376eec6 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# PeerTube plugin Quickstart diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 0000000..e69de29 diff --git a/client/common-client-plugin.js b/client/common-client-plugin.js new file mode 100644 index 0000000..50df4e7 --- /dev/null +++ b/client/common-client-plugin.js @@ -0,0 +1,7 @@ +function register ({ registerHook, peertubeHelpers }) { + +} + +export { + register +} diff --git a/main.js b/main.js new file mode 100644 index 0000000..5771888 --- /dev/null +++ b/main.js @@ -0,0 +1,12 @@ +async function register ({ registerHook, registerSetting, settingsManager, storageManager }) { + +} + +async function unregister () { + return +} + +module.exports = { + register, + unregister +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..48f3ea0 --- /dev/null +++ b/package.json @@ -0,0 +1,28 @@ +{ + "name": "peertube-plugin-quickstart", + "version": "0.0.1", + "description": "PeerTube plugin quickstart", + "engine": { + "peertube": ">=1.3.0" + }, + "keywords": [ + "peertube", + "plugin" + ], + "homepage": "https://framagit.org/framasoft/peertube/peertube-plugin-quickstart", + "author": "Chocobozzz", + "bugs": "https://framagit.org/framasoft/peertube/peertube-plugin-quickstart/issues", + "library": "./main.js", + "staticDirs": { + "images": "public/images" + }, + "css": [ + "assets/style.css" + ], + "clientScripts": [ + { + "script": "client/common-client-plugin.js", + "scopes": [ "common" ] + } + ] +} diff --git a/public/images/.gitkeep b/public/images/.gitkeep new file mode 100644 index 0000000..e69de29