A fun and quirky Twitter bot that posts random kaomojis, text faces, and emoticons! This bot is designed to bring a smile to your day by sharing a variety of expressive kaomojis. Follow the bot on Twitter at oKaomoji_bot
To run this bot, you will need:
Node.js: The bot is built using Node.js. Make sure you have it installed on your system.
Twitter Developer Account: You need access to the Twitter API, which requires a developer account and a Twitter App with API keys and tokens.
git clone https://github.com/yourusername/oKaomoji_bot.git
cd oKaomoji_bot
Install Dependencies npm install
Create a .env file in the root directory and add your Twitter API credentials:
API_KEY=your-api-key API_SECRET_KEY=your-api-secret-key ACCESS_TOKEN=your-access-token ACCESS_TOKEN_SECRET=your-access-token-secret
Host wherever is clever.
PM2 commands are used to start, stop, restart, reload, list, and monitor applications in background.
Some common PM2 commands are:
pm2 start app.js
: start an application
pm2 restart app_name
: restart an application
pm2 reload app_name
: reload an application
pm2 stop app_name
: stop an application
pm2 delete app_name
: delete an application
pm2 list
: list the status of all applications
pm2 logs
: display logs in realtime
pm2 monit
: display a terminal based dashboard
pm2 plus
: display a web based dashboard