friendly-telegram / friendly-telegram

REPOSITORY MOVED
https://gitlab.com/friendly-telegram/friendly-telegram
GNU Affero General Public License v3.0
57 stars 64 forks source link

Too many modules #12

Closed penn5 closed 5 years ago

penn5 commented 5 years ago

We are on the verge of getting actively bloated. I propose to move non-core modules to an external module, and add an easy module to download these external modules. Once loaded, they must live in the modules/ directory, and they must persist heroku restarts and updates, ideally without making a git commit. This could be implemented with a config value containing URLs to load after client is initialised.

AvinashReddy3108 commented 5 years ago

We are on the verge of getting actively bloated. I propose to move non-core modules to an external module, and add an easy module to download these external modules. Once loaded, they must live in the modules/ directory, and they must persist heroku restarts and updates, ideally without making a git commit. This could be implemented with a config value containing URLs to load after client is initialised.

IDK about the restart persistence, but we can hack the init script of the userbot to download all module URL's defined in the config value. [Users can be given a template repo with minimal examples to host new modules for the userbot]

penn5 commented 5 years ago

@AvinashReddy3108 Don't worry, I have a plan and it's almost done