Can I try CheerpX?
I know it's not fully ready yet, but I think it's fine for my use cases in its current state
13 Replies
You can already use CheerpX to run your own custom images in a WebVM-like scenario. We published a blog post about it a few months ago: https://labs.leaningtech.com/blog/mini-webvm-your-linux-box-from-dockerfile-via-wasm
Leaning Technologies Developer
Mini.WebVM: Your own Linux box from Dockerfile, virtualized in the ...
WebVM is a Linux-like virtual machine running fully client-side in the browser. It is based on CheerpX: a x86 execution engine in WebAssembly by Leaning Technologies. With today’s update, you can deploy your own version of WebVM by simply forking the repository on GitHub and editing the included Dockerfile. A GitHub Actions workflow will automat...
Consider clarifying your use case if that is not what you were looking for
I mainly just want to run linux libraries with it
Although the OpenGL emulator looks very interesting as well
OpenGL emulator?
Never mind, I was mixing it up with this: https://labs.leaningtech.com/cheerp/guides/porting/GLES-support-(webGLES)
Leaning Technologies Developer
GLES support - Cheerp Documentation
C/C++ compiler targeting WebAssembly and JavaScript.
oh ok
though tbf stuff going through emscripten is able to kinda use gl4es -> es to webgl to do graphics but this isn't avaliable to CheerpX afaik
wait really?
that is VERY useful, thanks!
The Cheerp (C++ compiler to Wasm/JS) can use OpenGLES and it's mapped to WebGL
CheerpX does not support graphics yet, we are working on that
To run libraries the right solution is to create a small executable that offers the functionality you need. You can then create a custom disk image (following the WebVM documentation) and call your custom executable with the
cx.run
API.Please follow the readme here: https://github.com/leaningtech/webvm and fork the repo to make your own custom image
GitHub
GitHub - leaningtech/webvm: Virtual Machine for the Web
Virtual Machine for the Web. Contribute to leaningtech/webvm development by creating an account on GitHub.
actively? that sound spretty great?
Our next demo will be a full desktop environment running on top of Xorg
Hey, just wanted to ask about the progress with graphics?
We are making steady progress, please understand that our target is much higher than just starting Xorg since we plan to showcase a full graphical distro booting
It will still take another couple of months to release this line of work