cf8db556a6ce9e4edf1a1ab094335cb5e4efd5a2
* update clear multisrc script * ignore generated multisrc .ts files * Squashed commit of the following: commitb3ef1a83a9Author: Rajarshee Chatterjee <rajarshee.adm@gmail.com> Date: Sun Jan 7 16:56:12 2024 +0530 plugins: update json files for new plugins (#679) commitf36e93d0a6Author: Rider21 <58046032+Rider21@users.noreply.github.com> Date: Sun Jan 7 14:25:02 2024 +0300 fix: Update Plugins (#677) * typo * update * fix * fix * update * ifreedom * fix * fix ranobelib * ... commit8a267561cbAuthor: Rajarshee Chatterjee <rajarshee.adm@gmail.com> Date: Sun Jan 7 16:54:09 2024 +0530 plugins: update json files for new plugins (#673) * clear generated multisrc files * generate .js files
LNReader Plugins
Repository to host plugins and related issues, and requests for LNReader.
Prerequisites
- Nodejs >= 18
Contributing
- Choose your language in plugins/
- If your language doenst exist or you need some other packages, please request us. We will add it soon.
- Write your scripts
- See example: Hako
Multisrc: multisrc
Test your script
We use expressjs to make an UI web for testing.
- Installing
npm install
- Running
npm start
or
nodemon
- Then open http://localhost:3000
- 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.
- Create
config.jsonfile in root dir - Add your github infomation. Here is an example.
{
"githubUsername": "LNReader",
"githubRepository": "lnreader-sources",
"githubBranch": "plugins"
}
- 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.
Languages
TypeScript
93.2%
JavaScript
5.5%
CSS
1%
Shell
0.2%