Too many contacts in your Whatsapp? Tired of seeing one-time contacts flooding your view? Bandung helps to bundle up these contacts into one single Whatsapp chat. What's more? With each message you send, the easier Bandung differentiates the messages. After a while, you can even send messages without specifying who you are sending to!
Bandung is submitted to RoboHacks 2021 (organised by MLH). This is the last hackathon for two of the team members before they start their university education, and hence the app is named Bandung (a famous drink in Singapore).
🥤 Bandung Devpost
🥤 Bandung Video Demo
Bandung is powered by Twilio API (for Whatsapp messaging) and Wit.AI (for training intents).
-
Bundling up of one-time/temporary/bot contacts! Everyone has these type of contacts, be it the local pizza shop, the dentist, your personal doctor, the plumber, or even a duty officer that you have to report to everyday. Condense all these chats into a single channel!
-
Facilitates easy reference by codifying name You don't have to remember the people's numbers, or even need to save them to your contact list! Simply
$add <code_name> <contact_number>
(e.g.$add pizza 65656565
). The next time you have to Whatsapp the pizza store for ordering, just refer to them using@pizza <message>
.
Example: @pizza can i have a large hawaiian pizza with 2 garlic bread?
-
Keep track of conversations via
@last
Retrieve last sent messages with$last <code_name>
-
Automate your sending of messages! Each time you send a message with
@<code_name>
, it will be used to train Bandung's Wit.AI app in the backend. This means that after sending a substantial amount of messages with Bandung, you no longer need the@person
anymore! Simply just type your message and Bandung will automatically send it if the confidence level is more than 80%!
- Installation and setting up environmental variables (store in
twilio.env
)
export TWILIO_ACCOUNT_SID='<TWILIO_ACCOUNT_SID>'
export TWILIO_AUTH_TOKEN='<TWILIO_AUTH_TOKEN>'
export TWILIO_PHONE_NO='whatsapp:+1415XXXXXXX'
export WIT_AI_ACCESS_TOKEN='<WIT_AI_ACCESS_TOKEN>'
$ sh setup.sh
- Running the app
a) Running Bandung app
$ sh run.sh
b) Running ngrok (for mapping of ports)
$ cd /path/to/ngrok
$ ./ngrok http 5000
-
Update Twilio address in the Twilio sandbox Copy the url generated by ngrok and paste it in Twilio sandbox
-
Done!
- Wit.AI (see LICENSE)