Skip to content

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RepulsBG

Customize your Repuls logo + Loading screen + progress bar colors via JS code injection.

Features

  • 🖼️ Replace the loading screen background image
  • 🎮 Replace the main menu logo
  • 🎨 Customize the progress bar colors (track and fill gradient)
  • 🔄 Auto-updates via Tampermonkey when this repo is updated

How to apply a theme

1. Install the browser extension "Tampermonkey"

Tampermonkey for Chromium based browsers Tampermonkey for Firefox

2. Extra steps only for Chromium based browsers

  • 2.1 Enable developer mode:
image

Chrome versions 138+ also require you to allow user scripts

  • 2.2 Then go right-click the Tampermonkey icon from the extensions toolbar (the puzzle icon)
  • 2.3 Click on "Manage extension"
  • 2.4 Activate "Allow User Scripts" Tampermonkey's FAQ

3. Open the Tampermonkey extension, click on "Create a new script"

Screenshot 2025-04-18 at 3 27 28 PM

4. Delete all the deffault code

5. Paste your theme's JS code,

in case you don't know how to code a theme or you don't have acces to any theme's code try This one (Copy all the code in there and paste it on the Tampermonkey empty script)

6. Save files

Press Crtl + S to save and open Repuls.io to test it!

How create a theme

Default Assets

By default, the script loads its assets from the images/ folder in this repository:

Element File Recommended size / aspect ratio
Loading screen images/loader.png ~683:869 (portrait)
Logo images/logo.png Any (scales to container width)

1. Fork this repository

2. Clone your fork

git clone https://github.com/YOUR_USERNAME/RepulsBG.git
cd RepulsBG

3. Replace the images

Drop your own images into the images/ folder, using the same filenames as the originals so the script picks them up automatically:

images/
├── loader.png   # replaces the loading screen background
└── logo.png     # replaces the main menu logo

Tip: for best results, keep loader.png close to a 683:869 aspect ratio (portrait) to avoid letterboxing or cropping when it's displayed in-game.

4. (Optional) Customize the progress bar colors

Open user.script.js and edit the PROGRESS_BAR object:

const PROGRESS_BAR = {
    backgroundColor: '#00eaff80',      // track (empty bar) color
    blueSpanBackgroundColor: '#ff00e7', // fill base color
    blueSpanGradientStart: '#387eff',   // fill gradient start
    blueSpanGradientEnd: '#5d63ab'      // fill gradient end
};

Any valid CSS color (hex, rgb(), rgba()) works here.

5. Point the script to your own fork

In the same user.script.js, update the BASE constant and the @updateURL / @downloadURL headers to point to your repository instead of the original:

// ==UserScript==
// @updateURL    https://raw.githubusercontent.com/YOUR_USERNAME/RepulsBG/main/user.script.js
// @downloadURL  https://raw.githubusercontent.com/YOUR_USERNAME/RepulsBG/main/user.script.js
// ==/UserScript==

const BASE = 'https://raw.githubusercontent.com/YOUR_USERNAME/RepulsBG/main/images/';

This ensures the script loads your images from your fork, and that Tampermonkey checks your repo for future updates — not the original one.

6. Commit and push

7. Install your version

Go up and read the section called "How to apply a theme", instead of copying my code into Tampermonkey copy yours.

License

MIT — feel free to fork, modify, and share your own themes.

About

Custom loading screen for repuls. Public repo to host the files

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages