nodebb-plugin-leech-tool

0.2.0-alpha.1 • Public • Published

Leech tool for NodeBB

Add a button to leech content from many sources and convert to NodeBB posts.

Admin guide

Installation

Install it from ACP > Plugins > Install Plugins > Find Plugins, or using CLI:

npm install nodebb-plugin-leech-tool

Setup

After installing this plugin and restarting NodeBB:

  1. Navigate to ACP > Extend > Widgets.
  2. Select Leech Button in Available widgets.
  3. Drag and drop it to whichever widget area you want. You may drop it in global, the button will only show up in appropriate pages (category and topic).

Settings

(developing)

Navigate to ACP > Plugins > Leech Tool. Here you can customize parsing and rendering behaviors.

Note: using leech tool on a category page will create new topic in that category, on a topic page will reply to that topic.

Development

Hot-reload

  1. Watch for source changes and rebuild es5 code by babel (for now watching not working)
npm start dev
  1. Watch for es5 code changes and reload NodeBB
cd path/to/NodeBB
grunt

test

Lint (eslint):

npm start lint

Unittest:

npm start test

Code coverage:

npm start coverage

Test driven development:

npm start tdd

Note: grunt won't watch for config files change, every time you change plugin.json or language file, stop and start grunt again.

Package Sidebar

Install

npm i nodebb-plugin-leech-tool

Weekly Downloads

5

Version

0.2.0-alpha.1

License

MIT

Last publish

Collaborators

  • voanhcuoc