twitterbotlib v0.2.5
Twitter Bot (Library)
What does it do
This library (node module) provides api for include twitter-bot.js function in your application. This bot helps you increase the engagement of your Twitter profile through different social algorithms. Increase the likes on your tweets and followers.
Features
- ✓ Easy to use
- ✓ Login
- ✓ 2FA (sms pin enabled)
- ✓ Multi-Session
- ✓ Multi-Platform (Windows 10, Mac OSX, Linux, Raspberry PI 3)
- ✓ Errors manager (bad pin, bad password)
- ✓ Screenshot and Verbose logger
- ✓ Like Mode Realistic: bot select random hashtag from config list and like fast 19-20 tweet, sleep 15-20min and repeat this all time. Sleep at night.
- ✓ Retweet Mode Realistic: bot select random hashtag from config list and rt fast 19-20 tweet, sleep 15-20min and repeat this all time. Sleep at night.
- ✘ Comment Mode Classic: select random comment and random hashtag and write comment under tweet.
- ✘ Follow/Defollow Classic: follow user from random hashtag and defollow after 1h.
- ✘ Defollow All: defollow all your following (ignore users in whitelist).
Fast usage
- Run
npm install twitterbotlib
- Get config.js file for step 3, fill it properly and remove
.tpl
suffix. - On your code require library, config and run bot, example:
const config = require ("./config");
const Bot = require("twitterbotlib");
let bot = new Bot(config);
bot.start();
- If work add star :star: at this project :heart:
- If you want help me: donate on paypal or become a backer on patreon..
For advanced configuration see INSTALL.md.
2FA: SMS Pin
If you received sms or email pin edit loginpin.txt
and insert it on first line. Wait 50-60 seconds...
Tips: hide browser
Edit config.js
and switch chrome_headless
option to true
.
Check if work:
See images in ./logs/screenshot or disable chrome_headless
flag.
API
Method | Description |
---|---|
start() | run twitter.bot.js |
Desktop setup (GUI Version)
- Download Social Manager Tools GUI.
- Run application.
Docker setup
If you prefer to run this using Docker, an official container is available from the Docker Hub.
In order to run it, copy the config.js.tpl
file, configure it as you prefer, then use it through volume mapping,
like in this example:
$ docker run \
--restart=always \
--name=twitter-bot \
-d \
-v /path/to/config.js:/app/config.js \
socialmanagertools/twitter-bot.js &>/dev/null
Roadmap
See full roadmap (open task, todo and bugs) in project page.
Sorry for snake_case
I love :snake: snake_case syntax sorry for this :sob: don't hate me.
Social Manager Tools
Social Manager Tools GUI
InstagramBot.js (LIB)
TwitterBot.js (LIB)
FacebookBot.js (LIB)
WordpressTelegramBot.js (LIB)
MediumTelegramBot.js (LIB)
License
GNU GENERAL PUBLIC LICENSE
Copyright (c) 2018 Patryk Rzucidło (PTKDev)