See https://github.com/j-evins/glbarcode for standalone version.