Successor to Palladium
index.js
varreq=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
}"fx": Firefox"gl": Chrome"sf": Safari"ed": Edge"op": Opera"mofx": FirefoxMobile"mogl": ChromeMobile"mosf": SafariMobile"moed": EdgeMobile"moop": OperaMobile// You can also use your own custom one: "epic userAgent name""/service/": DefaultPrefix// 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""true": DefaultSetting// You MUST Add Your HTTP Server to allow the Websocket Server to work"[true, CorrosionInstance]": SettingwhenyouhaveaCorrosionserver"[false, {}]"NoCorrosionServer}"Service": DefaultSetting// You Can set it to any string or number"http.Server()": HTTPServer,DefaultSettingwhennospecifiedservertopreventerrors//This example will NOT work with Websockets, it will simply prevent errors"xor": DefaultSetting//XOR: "https://discord.com/" into "hvtrs8%2F-dksaopd%2Ccmm%2F"//Plain: "https://discord.com/" into "https://discord.com/"//B64: "https://discord.com/" into ""