Sign inSign up

garcianavalon/firebase-chat-bot

By garcianavalon

Updated almost 10 years ago

An automated bot with Firebase to auto reply your users! :D

Image
0

10K+

garcianavalon/firebase-chat-bot repository overview

Firebase Chat Bot

Automatically answer to user chat messages.

WARNING: the service_account_key.json file should be kept secret!!

Set up
  1. Install docker and docker-compose:

  2. Build the image

docker-compose build
  1. Run the bot
docker-compose run bot
How does it work

The bot listens to child_added events in the /messages path. If the sender is not the bot itself, it will send a new message to the same sender.

Further improvements
  • Answer selection logic
  • Only answer if message sent to bot
  • Configurable path
  • Automatic build in Docker Hub
  • Configurable credentials
  • Deploy it

Tag summary

Content type

Image

Digest

Size

249.3 MB

Last updated

almost 10 years ago

docker pull garcianavalon/firebase-chat-bot