GIFSockets are never-ending animated GIFs for sending text and images between people.
To run this website locally:
npm install -g gifsockets-server phantomjs-pixel-server phantomjs-pixel-server & gifsockets-server # Website will be available at http://localhost:8000/
This code was written during Node Knockout 2013, a 48 hour hackathon, but it is slowly being organized.
The server you are running is at
server/app.js and the
gif logic is inside of
Modules which are part of this project include:
gifsocketsThe heart of the
gifsockets project, a mediator for subscribing any writable stream to newly written GIF frames
gifsockets-middlewarePlug and play middlewares to set up a server with
gif-encoderA fork of gif.js with stream support and is optimized for node.js performance
phantomjs-pixel-serverA PhantomJS server which takes text and converts it to an
rgbaarray of pixels
npm install # npm http GET https://registry.npmjs.org/marked # npm http GET https://registry.npmjs.org/express # ... grunt install # Running "curl-dir:public/js/" (curl-dir) task # Files "public/js/filereader.js", "public/js/filereader.min.js", "public/js/jquery.js" created. # ... # Done, without errors.
npm install -g grunt-cli
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint via grunt and test via
As of Nov 10 2013, Todd Wolfson has released this repository and its contents to the public domain.
It has been released under the UNLICENSE.