CustomBAR is a 90s-styled progress bar designed for streamers on Rumble. It dynamically updates based on your follower count and displays your progress towards your goals.
- Install Node.js:
-
Windows:
- Visit the Node.js download page.
- Download the Windows installer (
.msi
) for the LTS (Long-Term Support) version. - Run the installer and follow the setup wizard. Make sure to check the box that says “Automatically install the necessary tools” to install
npm
along with Node.js. - Once installed, you can verify the installation by opening Command Prompt and running:
node -v npm -v
- This will display the installed versions of Node.js and npm.
-
macOS:
- Visit the Node.js download page.
- Download the macOS installer (
.pkg
) for the LTS version. - Open the downloaded file and follow the instructions in the installer.
- After installation, open Terminal and run:
node -v npm -v
- This will display the installed versions of Node.js and npm.
-
Linux:
- Open Terminal.
- Update your package index:
sudo apt update
- Install Node.js and npm:
sudo apt install nodejs npm
- Verify the installation by running:
node -v npm -v
- This will display the installed versions of Node.js and npm.
-
-
Clone the Repository:
- Open Terminal or Command Prompt.
- Run the following command to clone the repository:
git clone https://github.com/tinyplayerss/custombar.git
- Change into the project directory:
cd custombar
-
Install Dependencies:
- Run the following command to install the required Node.js packages:
npm install
- This will read the
package.json
file and install all necessary dependencies.
- Run the following command to install the required Node.js packages:
-
Configure Your API Key:
- Open
server.js
in a text editor (e.g., VSCode, Sublime Text). - Find the line with
const externalApiUrl = 'YOUR_API_URL';
and replace'YOUR_API_URL'
with your actual API URL. - You can find your API URL at
https://rumble.com/account/livestream-api
- Save the file.
- Open
-
Start the Server:
- In Terminal or Command Prompt, run:
npm start
- This will start the server, and you should see output indicating that the server is running.
- In Terminal or Command Prompt, run:
-
Open Your Browser:
- Open a web browser and navigate to
http://localhost:3000
to view the progress bar.
- Open a web browser and navigate to
To display the progress bar on your stream, follow these steps:
-
Run the Local Server:
- Ensure that your server is running by executing
npm start
.
- Ensure that your server is running by executing
-
Add a Browser Source in OBS:
- Open OBS Studio.
- Click the
+
button in the "Sources" panel and selectBrowser
. - Name the source (e.g., "Follower Progress Bar") and click
OK
.
-
Configure the Browser Source:
- In the "URL" field, enter
http://localhost:3000
. - Set the width and height to match the dimensions of your progress bar (e.g., 600x150).
- Click
OK
to add the source.
- In the "URL" field, enter
-
Adjust the Layout:
- Position and resize the browser source in your OBS scene as needed.
-
If the Progress Bar Does Not Load:
- Ensure the local server is running and accessible at
http://localhost:3000
. - Check for any errors in the browser console or the terminal running the server.
- Ensure the local server is running and accessible at
-
If the Progress Bar Is Not Updating:
- Check the API response by visiting
http://localhost:3000/api/followers
in your browser. - Verify that your API URL is correctly set and that there are no issues with the external API.
- Check the API response by visiting
This project is licensed under the MIT License.
Feel free to submit issues or pull requests if you have suggestions or improvements!
Happy streaming, and best of luck with your follower goals!