leon-ai / leon

🧠 Leon is your open-source personal assistant.
https://getleon.ai
MIT License
15.12k stars 1.24k forks source link

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

Open Stormix opened 4 years ago

Stormix commented 4 years ago

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

louistiti commented 4 years ago

Hello @Stormiix,

Thanks for suggesting!

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

7xt commented 4 years ago

an API? that's good plan.

theoludwig commented 4 years ago

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. 😃

louistiti commented 4 years ago

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:

pupperr commented 3 years ago

love this idea, definitely would help