HUB
Sign inSign up

iromu/weplay-compressor

By iromu

•Updated almost 9 years ago

weplay-compressor

Image
0

1.0K

iromu/weplay-compressor repository overview

⁠weplay-compressor

Small script that compress incoming png Buffers with pngquant, and broadcasts it.

⁠How to install

$ npm install -g node-pngquant-native
$ npm install

And run it with the following ENV vars:

  • WEPLAY_REDIS - redis uri (localhost:6379)
  • WEPLAY_IO_URL - io server url (http://localhost:3001)
$ node index

⁠License

MIT

Tag summary

Content type

Image

Digest

Size

371.7 MB

Last updated

almost 9 years ago

docker pull iromu/weplay-compressor