# LNReader Plugins

GitHub issues by-label GitHub issues by-label

Repository to host plugins and related issues, and requests for [LNReader](https://github.com/LNReader/lnreader). ## Installing - Prerequisites: Nodejs >= 18 1. `npm install` 2. Create `config.json` file in root dir ```json { "githubUsername": "", "githubRepository": "", "githubBranch": "" } ``` Example ```json { "githubUsername": "LNReader", "githubRepository": "lnreader-sources", "githubBranch": "master" } ``` ## Contributing 1. Choose your language in [plugins](./plugins) 2. Write your scripts ## Examples: + [Hako](./plugins/vietnamese/LNHako.ts) + Multisrc: [multisrc](./scripts/multisrc) ## Testing - If you are making a [multisrc](./scripts/multisrc): `npm run generate` - `npm start` - Open http://localhost:3000 and test ### If you want to test in app side. - Commit and push changes. Check your own json files in github fork: `.dist//` - Change these in [pluginManager.ts](https://github.com/LNReader/lnreader/blob/master/src/plugins/pluginManager.ts) (app repo) to yours ```ts const githubUsername = 'LNReader'; const githubRepository = 'lnreader-sources'; const githubBranch = 'master'; ``` - Note: No need to modify `.dist` folder when opening PR. There's already action for that job. ---------- The developer of this application does not have any affiliation with the content providers available.