Mobius-SDK is a work-in-progress Node.JS library that allows you to print documents directly to MobilityPrint print servers. It currently only supports per-printer-authenticated printers, but we hope to expand it soon.
We will be putting this on NPM once it's out of the alpha stage. You'll be able to install it using the devel version.
We're working on some docs, as it's technically still in the alpha stage. Please be patient.
Update: TypeScript documentation (in src/index.d.ts) has now been added, VSCode should autocomplete unless its being stoopid
Mobius-SDK was reverse-engineered from the MobilityPrint extension for Chromebooks. Unlike the extension, Mobius-SDK only supports HTTP scanning, not mDNS/DNS-SD. In thoses cases, you can also scan on mDNS yourself, and then pass the hostnames or IP addresses directly to a PrintServer object.
Mobius-SDK uses the same third-party libraries that the MobilityPrint extension uses to maintain compatibility. They've been included with Mobius-SDK. The third-party libraries used are JSEncrypt, jsbn, and AES-JS.
Mobius-SDK is designed to be compatible and have feature parity with the MobilityPrint extension for Chromebooks.
Yes. This library is licensed under the GNU GPLv3 License. You're allowed to use this library, even for commercial purposes.
Mobius-SDK works on Windows, MacOS, Linux, UNIX, BSD (including FreeBSD/OpenBSD), and AIX, and requires Node.JS v20 or newer.
I'm currently planning on making a web version after I finish Mobius-SDK and Mobius.
I've actually been working on a CUPS backend using Mobius-SDK for Linux, UNIX, MacOS. Once I make Mobius-WebSDK, I'll also make drivers for Windows 96 (the website).