leon icon indicating copy to clipboard operation
leon copied to clipboard

Developing new Leon clients (Facebook, Telegram, Slack ..etc)

Open Stormix opened this issue 6 years ago • 5 comments

Expected Behavior

In a perfect world, as a user, I should be able to communicate with my personal assistant wherever I am and using any communication method available. Basically a build once, run everywhere sort of thing.

Actual Behavior

Communication with Leon is limited to the web app client (which is quite good tbh), but adds the need of hosting it and making it publicly accessible on a web server (though there are ways to handle this).

Proposal

I may be a bit of a feature creep wanting this, but I think you could easily use existing Bot Frameworks that have existing adapters for different services (e.g: messenger, slack, telegram, sms ..etc)

I made a quick prototype client using BotKit's facebook adapter and it works really well ! (Though I only implemented text messages). You can find that here: Eve-client.

If you think this is a good idea, and enough people +1 it, I'de be happy to write a proper PR.

Best regards, Anas

Stormix avatar Mar 02 '20 11:03 Stormix

Hello @Stormiix,

Thanks for suggesting!

This is indeed something I plan to do. Same as having a mobile app.

louistiti avatar Mar 03 '20 00:03 louistiti

an API? that's good plan.

7xt avatar Mar 10 '20 02:03 7xt

Since leon-ai is mainly a mono-repo, is each client will be on that repo or it should be on seperated repo ? In my opinion the clients and the server should be on completely seperated repo. What do you think ? Now there is only a web app under the app folder, we should probably moves it to a seperated repo. Yeah we can imagine multiple ways to interact with leon, maybe we can add Discord. 😃

theoludwig avatar Jul 24 '20 13:07 theoludwig

Each client is gonna be in a different repository as specified in this Trello card. Only the web app client is attached to the main repository because Leon must have at least one client to play with, and it will stay there.

I thought about bringing Leon on Discord too and other third-party apps. Looking forward to work on it once I'm back :smiley:

louistiti avatar Jul 28 '20 02:07 louistiti

love this idea, definitely would help

pupperr avatar Aug 20 '20 16:08 pupperr