This is project for scraping youtube live stream chat. It is bootstrapped with Create React Home & puppeteer.
You need to set up your development environment before you can do anything. Install Node.js and NPM
- on OSX use homebrew
brew install node
- on Windows use chocolatey
choco install nodejs
Install yarn globally
yarn global add yarn
- Install all dependencies with
yarn install
or
npm install
- Clone the repository using HTTPS
git clone https://github.com/codevjs/Youtube-Chat-Bot.git <folder name>
- Running in dev mode
yarn start
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser. The page will reload if you make edits. You will also see any lint errors in the console.
- Running in production mode
yarn production
The server address will be displayed to you as http://localhost:8080
node index.js "<youtube live chat url>"