Giter VIP home page Giter VIP logo

blockpage's Introduction

PiPass

Maintainability version GitHub pull-requests GitHub pull-requests

PiPass is an extention to the Pi-Hole project which adds easy temporary unblocking functionality and a visually appealing blockpage. The whole project currently is written in PHP, so it will integrate very easily with your existing Pi-Hole system. The blockpage is very easy to use, presenting three distinct options, an automated, temporary unblock button among them.


PiPass blockpage

Prerequisites

  • Pi-Hole
  • Root (sudo) access to system
  • php-curl plugin, used to check for new versions of PiPass.
  • Empty webroot - cannot contain index.html, index.php, etc.

Install

Installation on a vanilla Pi-Hole is completely automated. Execute bash <(wget -qO- https://sputnik.roen.us/pipass/scripts/install.sh) to install, and you should be done. Please make sure you have php-curl installed before running the install. Install it by executing sudo apt update && sudo apt install -y php-curl.

If you have a more complex installation (e.g. using NGiNX as a webserver), follow these steps below.

  1. Make your webserver redirect all 404 errors to the webroot. If you use lighttpd, this function is automated.

For NGiNX, this is

        location / {
                try_files $uri $uri/ =404;
                error_page 404 =200 http://$host;
        }
  1. bash <(wget -qO- https://sputnik.roen.us/pipass/scripts/install.sh) - You may be prompted for elevated permissions using sudo.

  2. Optional: fill out the config.php configuration file.

Contributing

PiPass is an open-source project and relies on community support to stay alive. You may find problems in the code, in which I would strongly encourage you to create an issue, or if you're willing to solve it yourself, fork the repository and create a pull request. If you want a feature added, feel free to create an issue.

A list of known caveats is at the bottom of this document. If you'd like to contribute but don't know how, check there for some ideas.

Support

Having problems? Let me know.

Do not ask questions in Pi-Hole communities as PiPass is a separate project.

Pull requests are welcome!

Known Caveats

  • Requires webroot index
  • Will not work on websites supporting HSTS without a trusted self-signed certificate

Future Ideas

  • Ability to trigger permanent whitelist after password entry
  • Admin console for PiPass (currently being worked on)
  • apt repository/package and Docker image

blockpage's People

Contributors

gioxx avatar iroquai avatar joeschubert avatar roenw avatar theh-2090 avatar voip 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.