webos-pdf
mujs
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
webos-pdf
-
MuPDF WASM Viewer Demo
If webOS came out with WASM already in place, it would have been even better :)
When the Touchpad was firesaled, I got one and was disappointed with the PDF viewer. Because there was no such thing as WASM (or even asm.js) at the time, it used out of the box a service provided by Adobe that on request from the UI rendered tiles of the PDF at different resolutions, depending on the zoom level.
Since the frontend code was JS, it was easy to implement an alternative via mupdf (https://github.com/filmor/webos-pdf/blob/master/arxservice.c...). Via the same inefficient process (rendering png tiles onto the filesystem), the mupdf implementation was about 3 times faster than the original (though, it's been 13 years, the actual speedup might have been less :)).
mujs
-
MuPDF WASM Viewer Demo
Very cool project. I noticed in the dependencies section its using its own equally-impressive JS interpreter: https://mujs.com/
-
A list of JavaScript engines, runtimes, interpreters
MuJS
-
WebDev Recommendations to Mimic AWS Textract Demo Functionality
There is MuJS, but I don't know much about it to know if it's viable.
-
Is there any way to interop with JS in Zig/RS/C/C++?
MuJS is a nice JS interpreter with a C API which is pretty much a clone of Lua.
-
[HELP] I'm frustratingly close to getting mpv 0.34 and mpvDLNA to work, any advice?
You need to download, compile and make install mujs: https://github.com/ccxvii/mujs
What are some alternatives?
mpv - 🎥 Command line video player
Tesseract.js - Pure Javascript OCR for more than 100 Languages 📖🎉🖥
quickjs - Public repository of the QuickJS Javascript Engine.