Giter Site home page Giter Site logo

palladium's Introduction

This Proxy has been Archived.

Please visit the new and better proxy, Rhodium

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)

palladium's People

Contributors

s-tn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

palladium's Issues

Speed

How were the speed comparisons measured in the README?

YouTube not working

I'm using the repl.it version and when I try to watch YouTube videos, it doesn't work.

Error when using Express

/home/runner/Palladium/lib/server/index.js:20
if (server!={}) server.on('request', (req, res) => {if(req.headers.useragent === 'googlebot') return res.writeHead(403).end('');})
^

TypeError: server.on is not a function
at new Smoke (/home/runner/Palladium/lib/server/index.js:20:28)
at Object. (/home/runner/Palladium/examples/express-server/index.js:6:15)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47

Geforce

I got bad new geforcenow got blocked i was hopeing you could add support to it(you dont corently) heres a link it it play.geforcenow.com if you dont know it try it out

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.