
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
node-red-contrib-chatbot
Advanced tools
REDBot a Chat bot for a full featured chat bot for Telegram, Facebook Messenger and Slack. Almost no coding skills required
:heavy_exclamation_mark: New! RedBot 1.0 is out, read here
With RedBot you can visually build a full featured chat bot for Telegram, Facebook Messenger, Viber, Twilio and Slack with Node-RED. Almost no coding skills required.
Node-RED is a tool for wiring together hardware devices, APIs and online services in new and interesting ways.
Maintaining RedBot is very time-consuming, if you like it, please consider:
First of all install Node-RED
$ sudo npm install -g node-red
Then open the user data directory ~/.node-red
and install the package
$ cd ~/.node-red
$ npm install node-red-contrib-chatbot
Then run
node-red
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). Use @BotFather to create a chat bot, follow instructions here then copy you access token.
Then open your Node-RED and add a Telegram Receiver
, in the configuration panel, add a new bot and paste the token
Now add a Message
node and connect to the Telegram Receiver
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
Now you have a useful bot that answers "Hi there!" to any received message. We can do a lot better.
Permission is hereby granted, free of charge, to any person obtaining a copy 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:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
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 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.
Coded with :heart: in :it:
FAQs
REDBot a Chat bot for a full featured chat bot for Telegram, Facebook Messenger and Slack. Almost no coding skills required
The npm package node-red-contrib-chatbot receives a total of 177 weekly downloads. As such, node-red-contrib-chatbot popularity was classified as not popular.
We found that node-red-contrib-chatbot demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.