Skip to content

Instant messaging app with real-time language translation (Frontend code)

Notifications You must be signed in to change notification settings


Repository files navigation


Protocol is a messaging app that translates languages in real time. For the first time, many people can communicate in different languages and each person will see all the messages translated in their own language automatically. Developed by J.D. Bean and Jeremy Gottfried. This project is unmaintained and is not seeking contributions at this time.


Today we can message people all across the world in real time, yet one of the few remaining communication barriers is spoken language. Protocol makes it possible for people who speak different languages to have conversations in real time. No copying and pasting into Google Translate is required. Every message is translated automatically.

Screenshot gif

Tech/Frameworks used

  • JWT + bcrypt authentication and authorization
  • Vanilla JS frontend
  • Ruby on Rails backend
  • Web Sockets through Action Cable
  • Google Translate API

Installation and using the app

  1. Clone this repo
  2. Clone the backend repo at
  3. Run bundle install on the backend repo.
  4. Run rails db:create and rails db:migrate on the backend repo.
  5. Alter the seed.rb file to add your own info.
  6. Set up your own Google Translate API credentials -- follow directions here:
  7. Run rails s on the backend repo.
  8. Run python -m SimpleHTTPServer 8000 on the frontend server
  9. Navigate to http://localhost:8000

Rails Backend API Docs


Instant messaging app with real-time language translation (Frontend code)






No releases published