Skip to content

IQ-Inc/craas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

craas

Card reading as a service (CRAAS). craas presents a TCP server that publishes Wiegand card read events from a serial device to TCP subscribers. Want to know when an IQ employee badges into the Foosball table or the front door? Use craas.

  • client debugging. craas -testing sets up a REPL so that you can publish arbitrary card events from the command line. Useful for testing your subscriber implementation without having a card reader.
  • TODO: read card events from a serial device.

Usage

Download the relevant binary for your system, or build from source. Requires go 1.9.x to build from source.

$ ./crass -h # print help
$ ./craas -serial /dev/ttyUSB0 -port :8080 # read from /dev/ttyUSB0, and publish to localhost port 8080
$ ./craas -testing -port 127.0.0.1:9999 # read from the testing REPL, and publish to 127.0.0.1:9999

About

Card reading as a service (CRAAS)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages