/linkedin-bot

Primary LanguageJavaScript

LINKEDIN-BOT

A linkedin-bot which automatically accepts all the connection invitations.

Running it locally on your machine

  1. Clone this repo , cd to project root and add .env file with your username and password.
  2. Make sure node is installed on your system.
  3. Install chrome-driver on your system.
  4. Install dependencies using npm i
  5. Run node index.js

Running it on cloud instance like AWS

  1. SSH into your cloud instance.
  2. Clone this repo.
  3. Configure your environment variables.
     3.a) MacOS/Linux
    > export USERNAME="Replace this with your linkedin username without quotes)"
    > export PASSWORD="Replace this with your linkedin password without quotes)"
     3.b) Windows-CMD
    > setx USERNAME "Replace this with your linkedin username without quotes"
    > setx PASSWORD "Replace this with your linkedin password without quotes"
    & ensp;3.c) Powershell
    > $Env:USERNAME="Replace this with your linkedin username"
    > $Env:PASSWORD="Replace this with your linkedin password"
  4. Install node and chrome-driver.
  5. cd to project root and install dependencies using npm i
  6. Run the application.
     6.a) Launch script by running node index.js
     6.b) Launch using pm2 by running npm install pm2@latest -g && pm2 start index.js