Giter VIP home page Giter VIP logo

captive-portal's Introduction

Captive-portal

An open source Captive portal for use with Ubiquiti external captive portal tool

Reason

I was looking through my UDM (Unifi Dream Machine) and discovered the guest hotspot which allows you to create a wireless access point for others to join with captive portal. the cool part about this was the payments method which could allow you to charge for usage, this is nothing new but i felt like something was missing in the payment options. Bitcoin. UI gives us several payment options out of the box but wouldnt it be nice to have an option to accept bitcoin, so i will now make an custom web portal (fresh ubuntu machine) which allows you to link a BTCpay server to it and start making money. (Past me PLEASE EDIT LATER IN PROJECT THIS SUCKS)

How this will work, I think?

  1. User will choose access point in wifi
  2. UDM will route the incoming request to a local vm, raspberry pi or external server
  3. The VM will log ip of device and mac to a mariadb database which will check if User has accessed service before, how long they have used service, how much data (?), etc
  4. After Vm finds or creates the User it will redirect to correct page by nginx
  5. Database will log all usage and create time records

captive-portal's People

Contributors

orbitalt avatar

Stargazers

Kauã Enrico 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.