moved generate to npm script
updated post to point to gist
generate public