Visit the docs for more info: https://docs.tdarr.io/docs/plugins/basics
Make sure NodeJS v16 is installed
Install dependencies:
npm install
Run ESLint:
npm run lint:fix
Check plugins using some extra custom rules:
npm run checkPlugins
Run tests:
npm run test
- Clone this repo
- Set env variable
pluginsDir
to the location of the plugins repo and run Tdarr Server and Node. E.g.export pluginsDir=C:/Tdarr_Plugins
- Browse the typescript plugins here https://github.com/HaveAGitGat/Tdarr_Plugins/tree/master/FlowPluginsTs/CommunityFlowPlugins and make edits locally or create a new one locally:
- Make sure typescript is intalled with
npm i -g typescript
then runtsc
to compile the changes. - Refresh the browser and Tdarr will pick up the changes