Skip to content

Conversational multi-chat SMS text messaging user interface using SMPP over Web Sockets and JavaScript. Provided as an example of building conversational UIs.

License

Notifications You must be signed in to change notification settings

melroselabs/ml-conversations-smpp-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ml-conversations-smpp-js

Conversational multi-chat SMS text messaging user interface using SMPP over Web Sockets and JavaScript

Screenshot 2021-04-10 at 15 47 05

Example conversational UI comprising:

  • SMPP over Web Sockets between browser and web server
  • SMPP library (simple) in JavaScript
  • Multiple chats based on mobile number
  • Inbound (MO) and outbound (MT) SMS
  • Delivery confirmation (using delivery receipts)

Uses SMPP accounts for the Melrose Labs Tyr SMS Gateway (https://melroselabs.com/services/tyr-sms-gateway/). This is due to the code making a web sockets (WSS) connection to melroselabs.com and the web sockets proxy being configured to direct connections to Tyr SMS Gateway SMPP hosts. Deploy your own web sockets proxy and update the code if you want to use another SMS gateway.

This project is not intended as best practice in conversational UI design, however its purpose is to demonstrate how relatively simple it is to implement a conversational application and UI using web technologies, SMPP and a suitably capable SMS gateway provider.

Further improvements are required to address robustness, message entry, connection stability/keep-alive, and chat management.

About

Conversational multi-chat SMS text messaging user interface using SMPP over Web Sockets and JavaScript. Provided as an example of building conversational UIs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published