GithubHelp home page GithubHelp logo

ookangzheng / adblock-proxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nemesisqp/node-adblock-proxy

0.0 1.0 0.0 26.57 MB

:pill: AdBlock Proxy with support for AdBlock Plus Filter Lists and Host files

License: MIT License

Shell 2.62% JavaScript 89.16% CSS 6.89% HTML 1.33%

adblock-proxy's Introduction

AdBlock Proxy (v0.0.1)

brought to you as libre software with joy and pride by Artificial Engineering.

Support our libre Bot Cloud via BTC 1CamMuvrFU1QAMebPoDsL3JrioVDoxezY2.

Overview

The AdBlock Proxy is a proxy that respects your privacy. It is built with lychee.js and node.js and will block advertisements and specified hosts off the internet. You can use it as a drop-in proxy for HTTP (and in future HTTPS) connections.

This project aims to make the interwebz great again!

screenshot

The AdBlock Proxy injects an easy-to-use interface that enables you full control on what content is being loaded. Ads and known spyware are ALWAYS blocked, but this allows you to load CSS, JS, Images and Videos on demand if you choose to do so. By default, only the text-content of the web page will be loaded.

Watch a screencast

Features

Having trouble with exploding memory footprint on your Desktop Web Browser and your mobile devices?

Worry no more, the AdBlock Proxy is ready to rescue!

Installation

Note: You can change the suggested installation folder to whereever you want to install it. Just make sure you change the paths in the bash commands accordingly.

  • Download and install the latest version of nodejs.org with ES6+ support.
  • Download this project (Green Button on the top right).
  • Extract and navigate to the folder in your Terminal (bash) and execute:

Windows users: Use node.exe ./bin/proxy.js if you have no Bash available.

cd /opt/adblock-proxy; # Change if you used a different folder

./bin/do-update.sh;    # Update filter lists first
./bin/proxy.sh;        # Start Proxy on default settings (localhost:8080)

Settings

If you want to use customized parameters, these are the supported parameters and their functionality:

  • --host=<ip> where ip is an IPv4 / IPv6 address or a valid hostname (e.g. 192.168.0.1 or raspberrypi).
  • --port=<port> where port is a valid port number (e.g. 8080).
  • --public=true will allow using the proxy from other hosts (defaulted). Use --public=false to only allow connections using the given ip.
# Example Usage with customized Settings
./bin/proxy.sh --host=192.168.0.1 --port=8080 --public=false

Usage

Read the ./guides/USAGE.md file. It has fancy screenshots and stuff, you'll like it :)

Configuration

All config files are located in the ./config.d folder. If you want to use or create an additional filter list, just place it there and restart the Proxy.

Remember that the ./bin/do-update.sh overrides old files when you manually changed them. So make sure you work only in non-defaulted filenames.

License

The AdBlock Proxy is (c) 2015-2017 Artificial University and released under MIT / Expat license.

adblock-proxy's People

Contributors

cookiengineer avatar martensms avatar

Watchers

 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.