LNReader Plugins

GitHub issues by-label GitHub issues by-label

Repository to host plugins and related issues, and requests for LNReader.

Prerequisites

  • Nodejs >= 18

Contributing

  1. Choose your language in plugins/
  • If your language doenst exist or you need some other packages, please request us. We will add it soon.
  1. Write your scripts

Multisrc: multisrc

Test your script

We use expressjs to make an UI web for testing.

  1. Installing
npm install
  1. Running
npm start

or

nodemon
  1. Testing
  • Find you plugin

  • Check if all functions of your plugin work properly

No need to reload webpage after changing your plugin script.


If you want to test plugin in app side, remember to config these things.

  1. Create config.json file in root dir
  2. Add your github infomation. Here is an example.
{
	"githubUsername": "LNReader",
	"githubRepository": "lnreader-sources",
	"githubBranch": "plugins"
}
  1. Just commit and push it. And you will see your own json files in github fork: dist/username/

also in pluginManager.ts (app repo)

const  githubUsername  =  'LNReader';
const  githubRepository  =  'lnreader-sources';
const  githubBranch  =  'plugins';
  • Note: You dont have to remove your own json files when creating a PR.
  • Note: You dont have to modify the .dist/LNReader when PR. There's already action for that job.

The developer of this application does not have any affiliation with the content providers available.

S
Description
Personal LNReader plugin repository
Readme MIT 38 MiB
Languages
TypeScript 93.2%
JavaScript 5.5%
CSS 1%
Shell 0.2%