Skip to content

Condense your Whatsapp contact list and automate the sending of messages with Bandung! 🥤

License

Notifications You must be signed in to change notification settings

jianzhi-1/bandung

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bandung

Bandung Logo

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 Architecture

Features

Bandung is powered by Twilio API (for Whatsapp messaging) and Wit.AI (for training intents).

  1. 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!

  2. 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?

  1. Keep track of conversations via @last Retrieve last sent messages with $last <code_name>

  2. 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%!

Setting Up

  1. 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
  1. Running the app

a) Running Bandung app

$ sh run.sh

b) Running ngrok (for mapping of ports)

$ cd /path/to/ngrok
$ ./ngrok http 5000
  1. Update Twilio address in the Twilio sandbox Copy the url generated by ngrok and paste it in Twilio sandbox

  2. Done!

Credits

  1. Wit.AI (see LICENSE)

About

Condense your Whatsapp contact list and automate the sending of messages with Bandung! 🥤

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •