Plugins may render new preference panes or embed themselves into several existing one, store data using simple key -> value data or directly in the database, modify how articles are rendered, alter feed data, and much more.
You can use sample plugins bundled with tt-rss and other plugins as a starting point. Ask on the forums if you need help with anything specific.
WIP: Auto-generated API reference is available here:
Frontend (JS) uses different hooks, defined in js/PluginHost.js.
A few more example plugins are available in the samples repository.
See time_to_read plugin for a complete example here: https://dev.tt-rss.org/fox/ttrss-time-to-read
(plugin dir)/locale/(LANG)/LC_MESSAGES/ name should correspond to Gettext domain name.classes/plugin.php (base class for all plugins) or call _dgettext group of functions directly.__() shortcut function.Sun Jun 18 03:25:02 UTC 2023