Code Monkey home page Code Monkey logo

HTTP Proxy

A proxy server. WIP

Dependencies

To run or build the code you must first run

$ mix deps.get

Running

$ mix run --no-halt

will start the proxy server.

The server can be accessed at localhost:8080

Building

To create a release use:

$ mix release

To create a production release use:

$ MIX_ENV=prod mix release

You'll then be able to package up the release folder or run the executable rel/proxy/bin/proxy

Blocking Hosts

You can dynamically block particular hosts using the console. First create a release as described above. Then start up the proxy. If you want it to run in the background use

$ rel/proxy/bin/proxy start

If you want to see the logs use the following instead:

$ rel/proxy/bin/proxy foreground

You can then start up a management console with

$ rel/proxy/bin/proxy remote_console

In the console you can call functions such as

Proxy.BlockList.block "google.com"

Proxy.BlockList.unblock "google.com"

Proxy.BlockList.unblock_all

To save typing fully qualified function names enter import Proxy.BlockList.

Now you can use block unblock unblock_all etc. without typing the module name.

All future requests to hosts specified will be blocked

dummyaccountforforgeforking's Projects

elixir icon elixir

Elixir is a beautiful proxy made using Tailwind CSS, Ultraviolet and bare-server!

mcp-reborn icon mcp-reborn

MCP-Reborn is an MCP (Mod Coder Pack) for Minecraft for making modded clients and researching its code. (1.13-1.20.1)

minecraftforge icon minecraftforge

Modifications to the Minecraft base files to assist in compatibility between mods. New Discord: https://discord.minecraftforge.net/

rammerhq-unblocker icon rammerhq-unblocker

Welcome to the Ultimate Web Proxy site- Updated with the top proxies everyday -Powered By Rammerhead and Rammerhq.github.io

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.