Skip to content

Navigation Menu

Sign up

Developers

SReject edited this page Oct 7, 2021 · 38 revisions

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.

IDE

We highly recommend you use Visual Studio Code, but you are welcome to use whatever IDE you prefer.

Linux-only Prerequisites

You will need libx11-dev libxtst-dev libpng-dev installed
For Debian distros use:

apt install libx11-dev libxtst-dev libpng-dev

Prerequisites

  • Git
  • Nodejs v12 through v14 - v15+ does not currently work
  • Npm v5 or later (comes with nodejs)
  • Python 3.7, 3.8, or 3.9 - Installers can be found here
  • Windows Build Tools - If you do NOT have Visual Studio Community installed, you can get the stand-alone installer here

Install Global Packages - Run from a console/terminal with admin privileges:

npm install --global --production node-gyp grunt-cli

Clone Repo

Create a new directory/folder Open the folder/directory in a console/terminal and run:

git clone https://github.com/crowbartools/Firebot.git .

Install Dependencies

Open the folder/directory of Firebot's repo in a console/terminal with admin privileges and run:

npm run setup

Create secrets.json

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.json file. Rename it to secrets.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
  • Input your client ID and client secret into the secrets.json file.

Starting Firebot

npm start

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /