Re: [Gancio-list] Plugin system and bridges to other platfor…

Nachricht löschen

Nachricht beantworten
Autor: lesion
Datum:  
To: gancio-list
Betreff: Re: [Gancio-list] Plugin system and bridges to other platforms
On Mon, Jul 04, 2022 at 06:31:29PM +0200, fadelkon wrote:
>Hey, I bring something new today :)
>I have a basic working plugin to send new and updated events to telegram.


\o/
that's super nice!

>El 30/6/22 a les 23:46, lesion via Gancio-list ha escrit:
>>On Thu, Jun 30, 2022 at 06:49:32PM +0200, fadelkon wrote:
>>>Bona tarda!
>>>
>>>I'd like to try to develop a basic plugin to republish content to
>>>other platforms (ideally for me: telegram, twitter, matrix), thus
>>>throwing the bait to massive, privative sites that link back to
>>>the federated radical internet :3
>>
>>this is super
>>
>>>I could write an issue for that, but I prefer to open a discussion
>>>here, if it's the place.
>>
>>it's the place :)
>>
>>>The docs in https://gancio.org/dev/plugins tell me that any
>>>javascript file inside /plugins directory will be loaded and its
>>>hooks will be executed. However, thinking of writing a republisher
>>>to telegram, some doubts arise:
>>>
>>>1. there's no interface from the admin panel to set up some ids or
>>>options for each plugin, right? could it be somehting generic for
>>>each plugin? For the telegram bridge, I would think of the
>>>channel/group id and bot auth token, at least. This would help a
>>>lot in cases like convoca.la where the instance webadmins are
>>>almost all different people from those who manage the server
>>>internally
>>
>>support for plugins are at an early stage. we can think to implement a
>>page in admin panel to manage them (enable / disable) and to expose
>>a list of settings declared by the plugin itself (a map like name:type,
>>in your case would be something like channel:string).
>>but I really don't want the plugins to become a catch-all thing (I'm
>>thinking at wordpress theme for example!!).
>
>
>https://framagit.org/bcn.convocala/gancio-plugin-telegram-bridge
>
>It's very basic, but I'm confident we can build something on top of it
>to do a proper plugin and to help to improve the plugin system! :D



so this is working?
what do you need?

as we discussed, we probably need a way to specify plugin settings,
in this case I think we should publish plugins within the release, do you?

thanks!

>Whoever wants to give a hand, I can add them as a member.
>
>
>Cheers!
>fadel
>
>





>--
>Gancio-list mailing list
>Gancio-list@???
>https://www.autistici.org/mailman/listinfo/gancio-list