Support for adding user defined plugins repo#231
Conversation
Using USER_PLUGINS_REPO env variable one can add a plugins repository and the plugins will be loaded into plugins/user folder
Added "user" category for displaying plugins loaded using USER_PLUGINS_REPO
|
hi @naveennamani, you can just simply fork our plugins repo and add your extra plugins there. why we need an another repo ? |
|
|
yes. but still you can edit this line. very simple. why so much hard work ? Line 163 in 1f67cdd this PR would be better if we can set custom plugins repo by just adding var like your concept. gitClone --depth=1 $CUSTOM_PLUGINS_REPO |
|
I just wanted to keep Userge, Userge-Plugins and user-plugins seperate. If I fork and modify Userge, then I need to always look for changes to userge and update my repo as well. |
You can make a telegram channel and add all of your plugins to there if you don't wanna do hard work, Just add var load all via .loadall (too simple) |
|
update to userge
I even tried that using PLUGINS_CHAT_ID, it is suitable to use when the plugin script is finalized, but version controlling the plugins is quite manual. |
|
@naveennamani yes, i got your idea. its useful in some cases. |
|
@naveennamani thanks for your idea. i optimized some codes and gonna merge. peace :) |
* Added _checkUserPlugins method Using USER_PLUGINS_REPO env variable one can add a plugins repository and the plugins will be loaded into plugins/user folder * Update help.py Added "user" category for displaying plugins loaded using USER_PLUGINS_REPO * optimize suggestion Co-authored-by: rking32 <sljohnwick@gmail.com>
* Added _checkUserPlugins method Using USER_PLUGINS_REPO env variable one can add a plugins repository and the plugins will be loaded into plugins/user folder * Update help.py Added "user" category for displaying plugins loaded using USER_PLUGINS_REPO * optimize suggestion Co-authored-by: rking32 <sljohnwick@gmail.com>
* Added _checkUserPlugins method Using USER_PLUGINS_REPO env variable one can add a plugins repository and the plugins will be loaded into plugins/user folder * Update help.py Added "user" category for displaying plugins loaded using USER_PLUGINS_REPO * optimize suggestion Co-authored-by: rking32 <sljohnwick@gmail.com>
* Added _checkUserPlugins method Using USER_PLUGINS_REPO env variable one can add a plugins repository and the plugins will be loaded into plugins/user folder * Update help.py Added "user" category for displaying plugins loaded using USER_PLUGINS_REPO * optimize suggestion Co-authored-by: rking32 <sljohnwick@gmail.com>
* Added _checkUserPlugins method Using USER_PLUGINS_REPO env variable one can add a plugins repository and the plugins will be loaded into plugins/user folder * Update help.py Added "user" category for displaying plugins loaded using USER_PLUGINS_REPO * optimize suggestion Co-authored-by: rking32 <sljohnwick@gmail.com>
* Added _checkUserPlugins method Using USER_PLUGINS_REPO env variable one can add a plugins repository and the plugins will be loaded into plugins/user folder * Update help.py Added "user" category for displaying plugins loaded using USER_PLUGINS_REPO * optimize suggestion Co-authored-by: rking32 <sljohnwick@gmail.com>
* Added _checkUserPlugins method Using USER_PLUGINS_REPO env variable one can add a plugins repository and the plugins will be loaded into plugins/user folder * Update help.py Added "user" category for displaying plugins loaded using USER_PLUGINS_REPO * optimize suggestion Co-authored-by: rking32 <sljohnwick@gmail.com>
* Added _checkUserPlugins method Using USER_PLUGINS_REPO env variable one can add a plugins repository and the plugins will be loaded into plugins/user folder * Update help.py Added "user" category for displaying plugins loaded using USER_PLUGINS_REPO * optimize suggestion Co-authored-by: rking32 <sljohnwick@gmail.com>
Any user can now add his/her own plugins repository using USER_PLUGINS_REPO env variable.
Use the USER_PLUGINS_REPO structure similar to the userge/userge-plugins repo.
The loaded plugins will be available in userge/plugins/user folder and available as "user" category in the help.