A bot used to interact with BlueBubbles and the BlueBubbles Community.
Before using this bot, you will need to setup the environment by performing these requisites.
- Install NodeJS:
- Windows: https://nodejs.org/en/download
- CentOS
curl -sL https://rpm.nodesource.com/setup_18.x | sudo bash -
sudo yum install nodejs
- Debian
sudo apt update
sudo apt install nodejs
- Install git:
- Windows: https://git-scm.com/downloads
- macOS:
brew install git
- CentOS:
sudo yum install git
- Debian:
sudo apt install git
- Create a "Github App" within your user/organization settings (Developer Mode)
- Create a Discord "Application"
- Clone this repository
git clone https://github.com/BlueBubblesApp/bluebubbles-helper.git
- Navigate into the project's directory
cd bluebubbles-helper
- Install the dependencies
- Yarn:
yarn
- NPM:
npm install
- Yarn:
- Build the bot
npm run build:release
- Rename the
.env.example
to.env
- Linux:
mv .env/example .env
- Linux:
- Edit the
.env
file and enter your Github & Discord credentials- Github: Create a
Github App
to generate credentials - Discord: Create an
Application
to generate credentials
- Github: Create a
- Run the bot
node ./build/main.js
Follow these instructions if you wish to contribute to the project.
- Clone this repository
git clone https://github.com/BlueBubblesApp/bluebubbles-helper.git
- Create 2 terminals (A & B) and navigate to the project folder in each.
cd bluebubbles-helper
- In either terminal, rename the
.env.example
to.env
- Linux:
mv .env/example .env
- Linux:
- Edit the
.env
file and enter your Github & Discord credentials - In terminal A, run the following command to create a "watcher" to automatically re-compile the app when changes are made (
./src
)- Yarn:
yarn run build:watch
- NPM:
npm run build:watch
- Yarn:
- In terminal B, run the app using this command:
node ./build/main.js
- The app will run until killed
- Repeat step 5 whenever you make changes.
- Happy developing!