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
apignotti
apignotti14mo ago
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...
apignotti
apignotti14mo ago
Consider clarifying your use case if that is not what you were looking for
Hypex
HypexOP14mo ago
I mainly just want to run linux libraries with it Although the OpenGL emulator looks very interesting as well
smashmaster
smashmaster14mo ago
OpenGL emulator?
Hypex
HypexOP14mo ago
Leaning Technologies Developer
GLES support - Cheerp Documentation
C/C++ compiler targeting WebAssembly and JavaScript.
smashmaster
smashmaster14mo ago
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
Hypex
HypexOP14mo ago
wait really? that is VERY useful, thanks!
apignotti
apignotti14mo ago
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.
apignotti
apignotti14mo ago
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.
smashmaster
smashmaster14mo ago
actively? that sound spretty great?
apignotti
apignotti14mo ago
Our next demo will be a full desktop environment running on top of Xorg
Hypex
HypexOP11mo ago
Hey, just wanted to ask about the progress with graphics?
apignotti
apignotti11mo ago
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
Want results from more Discord servers?
Add your server