Giter VIP home page Giter VIP logo

rhodium's Introduction

Rhodium

Fast, Light, Capable.

Successor to Palladium

Secondary Proxy to Corrosion and Womginx

index.js

var req=require,
  server=req("http").Server(),
  proxy=new(req("./"))({title:"Rhodium",server:server});proxy.init();server.on("request",(e,r)=>(e.url.startsWith(proxy.prefix)?proxy.request(e,r):r.end(req("fs").readFileSync("./index.html")))).listen(80);

config

{
  "userAgent": "fx", // Firefox userAgent Spoof
  "prefix": "/service/", // Proxy Prefix
  "wss": true, // WebSocket Server
  "corrosion": [false, {}], // Corrosion Dual-Server
  "title": "Rhodium", // Page Title on Proxied Pages
  "server": http.Server(), // Your Http Server
  "encode": "xor" // Encoding for Proxy URLS
}

userAgent

prefix

wss

corrosion

title

server

encode

UserAgent Spoofing

Spoof Your Browser Details

Configuration

Warning: This Can Affect Some Complicated Websites, No Specific Examples

"fx": Firefox
"gl": Chrome
"sf": Safari
"ed": Edge
"op": Opera
"mofx": Firefox Mobile
"mogl": Chrome Mobile
"mosf": Safari Mobile
"moed": Edge Mobile
"moop": Opera Mobile
// You can also use your own custom one: "epic userAgent name"

Prefix

Choose Your Instance's Prefix

Configuration

"/service/": Default Prefix
// Use Any Custom Prefix, make sure it starts and ends with "/"

// Proxy Gateway: "/prefix/gateway?url=https://url.com"
// Proxy Inject File: "/prefix/index"
// Proxy URL: "/prefix/encoded_url"

Websocket Server

Allow Websocket Connections Through Your Proxy Server

Configuration

"true": Default Setting

// You MUST Add Your HTTP Server to allow the Websocket Server to work

Corrosion Integration

You Cannot Have Two WS Servers on one HTTP Server

Configuration

"[true, CorrosionInstance]": Setting when you have a Corrosion server
"[false, {}]" No Corrosion Server
}

Title

Page Title on Proxied Pages

Configuration

"Service": Default Setting
// You Can set it to any string or number

Server

REQUIRED for WS Support

Configuration

"http.Server()": HTTP Server, Default Setting when no specified server to prevent errors

//This example will NOT work with Websockets, it will simply prevent errors

Encoding

Encode Request Links

Configuration

"xor": Default Setting

//XOR: "https://discord.com/" into "hvtrs8%2F-dksaopd%2Ccmm%2F"
//Plain: "https://discord.com/" into "https://discord.com/"
//B64: "https://discord.com/" into ""

rhodium's People

Contributors

s-tn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.