nodebb-plugin-leech-tool v0.2.0-alpha.1
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-toolSetup
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
Watch for source changes and rebuild es5 code by babel(for now watching not working)
npm start dev- Watch for es5 code changes and reload NodeBB
cd path/to/NodeBB
grunttest
Lint (eslint):
npm start lintUnittest:
npm start testCode coverage:
npm start coverageTest driven development:
npm start tddNote: grunt won't watch for config files change, every time you change plugin.json
or language file, stop and start grunt again.
8 years ago