Skip to content

Latest commit

 

History

1,218 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1: 2:

3: 4:
5: ❗ New! RedBot 2.0 is out, see the changelog 6:
7:

8:

9: Release 10: Downloads 11: License: MIT 12: Issues 13:

14:
15: 16: With RedBot you can visually build a full featured chat bot for Telegram, Facebook Messenger, WhatsApp, Viber and Slack with Node-RED. Almost no coding skills required. 17: 18: > Node-RED is a tool for wiring together hardware devices, APIs and online services in new and interesting ways. 19: 20: Maintaining RedBot is very time-consuming, if you like it, please consider: 21: 22: 23: 24:

RedBot

25: 26: ## Documentation 27: 28: 1. RedBot documentation 29: 2. Nodes index 30: 3. Examples 31: 4. Advanced examples 32: 5. Chat context 33: 6. Changelog 34: 35: ## Getting started 36: 37: RedBot requires Node.js >= 18 and Node-RED >= 2.0. 38: 39: First of all install Node-RED 40: 41: bash 42: sudo npm install -g node-red 43: 44: 45: Then open the user data directory ~/.node-red and install the package 46: 47: bash 48: cd ~/.node-red 49: npm install node-red-contrib-chatbot 50: 51: 52: Then run 53: 54: bash 55: node-red 56: 57: 58: The next step is to create a chat bot, I recommend to use Telegram since the setup is easier (Telegram allows polling to receive messages, so it's not necessary to create a https certificate). 59: Use @BotFather to create a chat bot, follow instructions here then copy your access token. 60: 61: Then open your Node-RED and add a Telegram Receiver, in the configuration panel, add a new bot and paste the token 62: 63:

Telegram Receiver

64: 65: Now add a Message node and connect it to the Telegram Receiver 66: 67:

Simple Message

68: 69: Finally add a Telegram Sender node, don't forget to select in the configuration panel the same bot of the Telegram Receiver, this should be the final layout 70: 71:

Example Simple

72: 73: Now you have a useful bot that answers "Hi there!" to any received message. We can do a lot better. 74: 75: ## Credits 76: * Inspired by the Karl-Heinz Wind work node-red-contrib-telegram 77: * Telegram Bot API for NodeJS 78: 79: ## The MIT License 80: 81: Copyright (c) 2026 Guidone 82: 83: Permission is hereby granted, free of charge, to any person obtaining a copy 84: of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 85: 86: The above copyright notice and this permission notice shall be included in 87: all copies or substantial portions of the Software. 88: 89: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 90: AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 91: 92: Coded with ❤️ in 🇮🇹

About

Visually build a full featured chat bot for Telegram, Facebook Messenger, Whatsapp and Slack with Node-RED. Almost no coding skills required.

Topics

Resources

Stars

981 stars

Watchers

42 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages