Skip to content

Generates UniFi Hotspot vouchers using the UniFi controller API ready for printing

License

Notifications You must be signed in to change notification settings

philhagger/unifi-voucher-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniFi Voucher Generator

Generates UniFi Hotspot vouchers using the UniFi controller API ready for printing. Customise the design using CSS.

This should work on any Linux/Mac machine that can reach the UniFi controller.

Apr 2018: Still works on the UniFi 5.6.26 Controller.

Setup

  1. Clone the repo:
git clone https://github.com/davidmaitland/unifi-voucher-generator.git
  1. Set the variables in unifi-api.sh with your controller's details (username, password, baseurl, site).

  2. Optionally customise the variables in gen.sh and the styles in style.css.

Run

  1. Run ./gen.sh.

  2. Open vouchers.html and print!

About

Generates UniFi Hotspot vouchers using the UniFi controller API ready for printing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 90.9%
  • CSS 9.1%