Small script that compress incoming png Buffers with pngquant, and broadcasts it.
$ 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
MIT
Content type
Image
Digest
Size
371.7 MB
Last updated
almost 9 years ago
docker pull iromu/weplay-compressor