-
Simple WhatsApp and Telegram Bot to send messages to your friends using Venom Bot and Telegram API.
-
All the datas of your contacts must be inserted in a Neo4J database.
- NodeJS version 15.5.1;
- NPM version 8.1.1;
- Yarn version 1.22.4;
- Neo4J version 4.1 or above;
- Neo4J driver version 4.3.4;
- Express version 4.17.1;
- Venom Bot version 3.1.11;
- Telegram Bot API version 0.54.0
Creating the Project
- Open computer's terminal and tip the follow command:
npm init
Installing Packages
- Open computer's terminal and tip these commands to install the packages:
npm install express
npm install neo4j-driver
npm i --save venom-bot
yarn add node-telegram-bot-api
Running with NodeJS
- Download the index.js file;
- Save it into the project's folder;
- Tip in the computer's terminal:
node index.js
-
Getting Telegram Token: to create and use a bot on Telegram, you should get a token first. This tutorial teaches how to do that (I wasn't made it!): How to get Telegram bot API token
-
Downloading Neo4J: to download Neo4J Database, access this web site: Download Neo4J
- If you know how to create an Instagram Bot or have ideas of how to improve the code, feel free to create branches of this project!!
Email: csfelix08@gmail.com
Linkedin: linkedin.com/in/csfelix/
Instagram: instagram.com/c0deplus/
Portfolio: CSFelix.io