61f06788b2
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1.1 KiB
1.1 KiB
Quick start
Requirements
- git basics
- Typescript or Javascript basics
- Node >=22
- Installing the dependencies with
npm i
Guide
- Create plugin script in
/plugins(learn more) - Copy code from plugin-template.ts
- Start coding (documentation)
- Run
npm run check:plugin -- plugins/<lang>/yourPlugin.tsbefore opening a PR — see Testing your plugin
Creating plugin script
- Remember to create your plugin inside the language folder corresponding to the language of the novels
- File should have the
.tsextension Exampleplugins/english/nobleMTL.ts - Add an icon to
public/static/src/<lang>/<plugin-name>/icon.png
Warning
Icon size should be 96x96px!