Skip to content

Web Proxy made by EnderKingJ, intended as a secondary proxy to Womginx or Corrosion, many sites not supported

Notifications You must be signed in to change notification settings

yeahfs/Palladium

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Palladium

Secondary Web Proxy to the Likes of Womginx and Corrosion.

Made by EnderKingJ

Hosting Services

Speed (Discord)

Palladium is the fastest proxy, severely beating Corrosion by 3x, Alloy - No Discord Support, Womginx - 1.3x

Done

  • hCaptcha Support
  • Discord Support
  • Reddit Support
  • Websocket Support
  • Cookie Rewrites

To-Do

  • Better HTML Rewriter
  • Better JS Rewriter
  • Better Cookie Support
  • LocalStorage Proxying
  • More Native Browser Functions
  • Better Headers Code
  • Single File Version
  • Youtube UI Fix

Supported Sites

Github

Supported + Login (Some Parts of Dashboard Unsupported

Discord

Supported

Reddit

Mostly Supported

Youtube

Somewhat Supported, Errors: Reddit bug, can play video but navigating to other pages requires opening in new tab

Setup

Importing and Initiating

const Palladium = require("palladiumub"); //Outdated package, change to lib/server folder path

const proxy = new Palladium(); //default config

const http = require("http");

Config

{
  "prefix": "/service/",
  "ssl": true,
  "encode": "xor",
  "title": "Service",
  "requestMiddleware": [
    Palladium.blackList(["discord.com", "accounts.google.com"], "Page is Blocked by Host")
  ],
  Corrosion: [false, {}]
  server: your-http-server
}

Server

var server = http.createServer();

proxy.init();

server.on("request", (req, res) => {
  if (req.url.startsWith(proxy.prefix)) return proxy.request(req, res)
  res.end("<form action='/service/gateway' method='POST'><input name='url'><input type='submit'></form>")
})

End Result

index.js

const Palladium = require("palladiumub");

const http = require("http");

var server = http.createServer();

const proxy = new Palladium({
  "prefix": "/service/",
  "encode": "xor",
  "title": "Service",
  "requestMiddleware": [
    Palladium.blackList(["any-link.com", "accounts.google.com"], "Page is Blocked by Host")
  ],
  server: server,
});

proxy.init();

server.on("request", (req, res) => {
  if (req.url.startsWith(proxy.prefix)) return proxy.request(req, res)
  res.writeHead(200, {'content-type': 'text/html'}).end("<form action='/service/gateway' method='POST'><input name='url'><input type='submit'></form>")
})

server.listen(8080)

About

Web Proxy made by EnderKingJ, intended as a secondary proxy to Womginx or Corrosion, many sites not supported

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%