SnDjVu is an in-progress implementation of the DjVu document format, hosted on GitHub here.
API documentation for the master branch is deployed here.
An incomplete, unofficial transcription of the DjVu specification (version 3), developed as part of the SnDjVu project, is available here.