@hackage / secret-santa

Secret Santa game assigner using QR-Codes

Latest0.1.0.0

About

Metadata

  • Last updated , by RodrigoSetti
  • License GPL-3.0-only
  • Categories Game Development
  • Maintained by: rodrigosetti@gmail.com

  • Lottery factor: 0

Links

Installation

Readme

Secret Santa Assigner

Reads a list of friends from the standard input (or a file) and renders to a specified output file (or "output.pdf" if not specified) all assignments of gift givers and their corresponding receivers encoded in a QR-Code (see --help for options).

Installation

To build and install you will need Haskell's Cabal, then just do:

$ cabal install

It will automatically download the dependencies, compile, and install the executable secret-santa in the Cabal bin path (most likely ~/.cabal/bin).

Example usage

$ secret-santa -h
Usage: secret-santa [OPTION...]
  -o FILE  --output=FILE    output FILE
  -i FILE  --input=FILE     input FILE
  -h       --help, --usage  This help message
$ secret-santa -o output.pdf << EOF
Charlotte
Grayson
Elliot
Benjamin
Willian
EOF
Example output

Image