Create new KOReader plugin boilerplate
Generates KOReader plugin boilerplate with main.lua and _meta.lua files.
/plugin marketplace add uttam-salamander/koreader-dev/plugin install uttam-salamander-koreader-dev@uttam-salamander/koreader-devplugin-nameCreate a new KOReader plugin with the following structure:
Plugin name: $ARGUMENTS (convert to lowercase, replace spaces with underscores)
Create directory: $ARGUMENTS.koplugin/
Create _meta.lua:
local _ = require("gettext")
return {
name = "$ARGUMENTS",
fullname = _("$ARGUMENTS"),
description = _([[Description of plugin functionality.]]),
}
Create main.lua with:
Use the koreader-plugin-dev skill for reference patterns.
After creating files, show the user: