The deployable version of BruhProx, a highly sophisticated proxy used for evading internet censorship or accessing websites in a controlled sandbox using the power of service-workers and more!
- CAPTCHA support along with hCAPTCHA support
- URL encoding settings to further hide activity when using Ultraviolet
- Configuration all done on the client-side via service-workers
- Speed in comparison to other web proxies that fully proxy content
- Blacklist setting and more for easy hosting
- Security in mind and leak prevention
- Frequent updates to improve site support or fix security issues
- Youtube
- CAPTCHA/hCAPTCHA
- Spotify
- Discord
- GeForce NOW (Partially Supported)
- And more!
- Service Workers
- HTML, JS, CSS rewriting
- Parse5
- Acorn.js
- Lunar.dev, a popular web proxy service with focus on privacy
- Blurred-X, a popular web proxy service focusing on bypassing web filters and more
- Hypertabs, a web proxy service using a PWA browser as its frontend
- Terbium, a popular webOS that can bypass web filters and has alot of convient things!
- BruhProx repl, The Replit Version of BruhProx
- BruhProx Github (Beta), A experamental version of BruhProx that runs 24/7!
- Installation And Setup
- Basic Guide
- Replit Setup Guide
- Comprehensive Guide
- Configuration
- Frontend
- Core Scripts
Installation of BruhProx is simple. You can find a Tl;DR of the installation and setup process just below. If you are unfamiliar with the "standard" installation process, look a bit farther down for a more comprehensive installation and setup guide.
$ git clone https://github.com/z1g-project/BruhProx --recursive
$ cd BruhProx
$ npm install
$ npm start
To setup on Replit, first click on the "Run on Replit" button. After loading into your repl, click on the green "Run" button. Alternatively, run the following commands:
$ npm install
$ chmod +x main.sh
$ ./main.sh
You will only have to run the second command once. It just allows main.sh
to be executed. By running main.sh
, you will update any submodules and will start the app.
Note: If you choose not to use main.sh
, but would rather just run all commands manually, please note that you will have to manually install submodules by running git update submodules --init
. Without it, static
will not be installed, and that is a required directory.
Below will describe a comprehensive guide to install Ultraviolet on Linux machines.
To clone the repository, simply run the following command:
$ git clone https://github.com/z1g-project/bruhprox --recursive
The --recursive
flag will clone the repository and all submodules.
To begin work on the actual setup, cd into the repository. You can do so by running the following command:
$ cd BruhProx
From here, you can update your submodules and install your dependencies. To do so, run the following command:
$ npm install
Finally, to start BruhProx, run the following command:
$ npm start
You can then find BruhProx on http://127.0.0.1:8080
. If you would like to change the port UV will be running on, edit the last line in index.mjs
.
Please note that BruhProx will not function without HTTPS. If you are hosting on Replit or Heroku, this won't be a problem as they provide you with SSL/TLS by default and will automatically apply it to your instance, however if you are attempting to host BruhProx on a different platform, such as a personal server, you WILL need to use HTTPS.
Configuring Ultraviolet is very simple. Simple descriptions of each configurable option are provided as a comment in the block below. More detailed documentation can be found just below mentioned block.
uv.config.js
self.__uv$config = {
prefix: '/sw/', // Proxy url prefix
bare: '/bare/', // Bare server location
encodeUrl: Ultraviolet.codec.xor.encode, // URL Encoding function
decodeUrl: Ultraviolet.codec.xor.decode, // Decode URL function
handler: '/uv.handler.js', // Handler script
bundle: '/uv.bundle.js', // Bundled script
config: '/uv.config.js', // Configuration script
sw: '/uv.sw.js', // Service Worker Script
};
Configuration | Options and Explanation |
---|---|
Prefix | The prefix is the prefix that you want users to see. Ex: https://example.com/service. The default prefix is service . |
Bare | Bare Servers can run on directories. For example, if the directory was /bare/ then the bare origin would look like http://example.org/bare/ . The bare origin is passed to clients. |
encodeUrl | EncodeUrl is how you want the URL a proxy site's visitors has to be encoded. Options include Ultraviolet.codec.base64.encode , Ultraviolet.codec.plain.encode , or Ultraviolet.codec.xor.encode . It is recommended that you use xor or base64 as it hides the queries your visitors are searching and visiting. |
decodeURL | DecodeUrl is how you want the url to be decoded. It is recommended you keep it the same as encodeUrl . |
Handler | Handler is the path to the UV handler. The default name and path to this file is static/uv/uv.handler.js . |
Bundle | Bundle is the path to the UV bundle file. The default name and path to this file is static/uv/uv.bundle.js . |
Config | Config is the path to the UV config file. The default name and path to this file is static/uv/uv.bundle.js . |
SW | SW is the path to the UV Service Worker script. The default name and path to this file is static/uv/uv.sw.js . |
Static files is the frontend for BruhProx. A standalone repository for it can be found here.
Configuration mentions a few scripts that make up Ultraviolet. To get documentation for what each of the scripts do, check out the documentation for them in their standalone repository.
The client-hooking & service worker scripts required for UV are located in ultraviolet-scripts
- Scripts
uv.sw.js
Service worker gatewayuv.sw-handler.js
- Service worker handleruv.bundle.js
Webpack compiled Ultraviolet rewriteruv.handler.js
Client-side hookinguv.config.js
Configuration
- Caracal.js (Creator of Ultraviolet)
- Divide (Creator of TOMP)
- Blurred#0777 (CSS Designer)
- XSTARS#9715 (Developer)