A Telegram bot running on Cloudflare Workers — extensible via plugins.
Send a message or file to the bot and it routes it to the best matching plugin based on file type, MIME type, text patterns, and keywords.
Register external plugins at runtime with /add_plugin. The Worker POSTs a PluginRequest to the plugin's endpoint and expects a PluginResponse back.
{ message, file_url, chat_id }{ type: 'text' | 'file' | 'binary' | 'noop', ... }Highest score wins; priority breaks ties.