SDCH library for nodejs

3 views
Skip to first unread message

Alexey Baranov

unread,
Sep 25, 2014, 5:54:55 PM9/25/14
to SD...@googlegroups.com
Hi all,
while working on https://codereview.chromium.org/423813002/, I made some server for tests.
Eventually I turned it into more or less working nodejs-connect middleware.

https://github.com/baranov1ch/node-vcdiff - nodejs wrapper for open-vcdiff. Tries to mimic node zlib API.
https://github.com/baranov1ch/node-sdch - adds SDCH stuff. Dictionary parsing and validation routines, and SDCH encoding/decoding stuff.
https://github.com/baranov1ch/connect-sdch - middleware to serve dictionaries and encode responses. Also includes small nodejs SDCH client in examples which tries to behave as Chromium does. Hope that may help someone to automate SDCH server testing.

One can use https://github.com/gtoubassi/femtozip to generate dictionaries, although it works quite slow( trying to come up with smth more optimal.

Although nginx module will be more suitable for production use, I hope this nodejs stuff may help the community to play with SDCH more widely:)
Reply all
Reply to author
Forward
0 new messages