Repository navigation
Developers
We welcome all community developers who would like to help with Firebot. If you'd like to participate we recommend starting with some "Entry Level" bugs or feature requests on the issues page. After a commit or two you'll be invited to the Firebot developer discord where we discuss everything.
We highly recommend you use Visual Studio Code, but you are welcome to use whatever IDE you prefer.
- Nodejs v12 through v14
Note that v16 currently does NOT work
- Npm v5 or later
Required packages:
(run with admin privs)
- grunt-cli (
npm install -g grunt-cli) - node-gyp(
npm install -g node-gyp) - windows-build-tools (
npm install -g windows-build-tools) OR make sure Visual Studio Community with build tools package is installed
- Clone the Firebot repo to your computer.
- Using a shell of your preference (powershell, cmd, git bash),
cdto the newly cloned repo directory (iecd C:\some\path\GitHub\Firebot\) - Run
npm run setup(This will install packages, rebuild robotjs, and build node packages for Electron) - After the setup command completes (may take awhile), run
npm start - Once it is done building, Firebot should automatically start.
Preparing development environment on Debian 10.x or newer & Ubuntu 18.04 or newer.
apt install nodejs npm libx11-dev libxtst-dev libpng-dev
The last three packages are needed to compile robot.js / node-gyp.
npm install -g grunt-cli
npm install -g node-gyp
git clone https://github.com/crowbartools/Firebot.git
npm run setup
npm start
- Node
- Xcode with additional build tools for c++
npm install --global --production grunt-cli node-gyp
git clone https://github.com/crowbartools/Firebot.git
npm run setup
npm start
Before firebot will start, a secrets.json file will need to be setup.
- At the root level of the project, you will find a
secrets.template.jsonfile. Rename it tosecrets.json. - In this file are empty strings for oauth client and secret keys for twitch and various 3rd party integrations. The only needed keys for development are the twitch ones (unless you plan to dev features for any of the integrations)
- To create your own oauth client for twitch, you can register a twitch "application" at: https://dev.twitch.tv/console/apps/create
- For the name you can call it anything ie
FirebotDev - Set the callback URL to
http://localhost:7472/api/v1/auth/callback
- For the name you can call it anything ie
- Input your client ID and client secret into the
secrets.jsonfile.
Still need help? Come chat with us in the #help channel of our Discord server.