howdyai / botkit-starter-web

Botkit Anywhere - a starter kit for building a bot that lives in your website or app
https://botkit.ai
MIT License
113 stars 75 forks source link

Client as a separate project + react ? #1

Closed znat closed 6 years ago

znat commented 7 years ago

This is a really great and useful initiative. I think it would be wise to make the client a separate project. Botkit suffers a bit from its lack of modularity and that would be a great starting point. Also, the client is a good candidate for React: affordances (quick replies, attachments,...) borrowed from Messenger can be complex and react handles that very well. In addition, long conversations could seriously impact the memory as it could have many hidden nodes. React has components to handle that in a similar way to view recycling in lists on native mobile sdk's

Smooch has full featured live web chat. It's open source but closely tight to their service. However, it shouldn't be that hard (easy to say, I know) to replace the link to Smooch with a simple socket connector.

Naktibalda commented 7 years ago

@znat smooth-js is open source, but it isn't a free software. LICENSE file links to T&C page. There is nothing about modification, but it is only allowed to use it for communication with Smooch platform. https://smooch.io/terms/#licensesdk

benbrown commented 7 years ago

We could certainly think about separating the client out even further - but the current plan is for the client to live as part of this starter kit, while the actual server stuff lives in Botkit Core.

CyrilPepito commented 6 years ago

Hey @znat, I stumbled upon your issue while browsing Github, have you heard of Broid? We offer a full featured (cards, carousel, quick replies, etc.) web messenger that you can plug with any other messaging apps like Slack or flowdock with our API. Basically you can use Broid's API to converse on 20+ messaging channels (including that web messenger) using your favorite app to manager those conversations. And it's free during our beta!

Also open source API here -> Github repo