How to disable/remove CheerpX sidebar?

I got my own VM instance runnning following the tutorial. Is there any way to disable the sidebar completely? I would like to just have a fullscreen terminal of the VM on the page, as minimal as possible.
18 Replies
apignotti
apignotti3mo ago
There is no builtin way of completely removing the sidebar, but you can modify the Svelte code to achieve that.
pinpox
pinpoxOP3mo ago
Ok, thanks! I thought there might be a minimal version or code example I havn't found I'll try to remove everything then myself
pinpox
pinpoxOP3mo ago
I need the WebWM app to have a terminal at all, right? I tried deploying the example code from https://cheerpx.io/docs/getting-started#complete-code aswell, but I only get a black screen
Leaning Technologies Developer Hub
Quickstart - CheerpX Documentation
Getting started with CheerpX
apignotti
apignotti3mo ago
No, you don't need the whole WebVM, the quickstart should work as well. Please double check your browser console for errors
pinpox
pinpoxOP3mo ago
It seems to work now, but it downloads a fail.wasm. It's public here: https://vm.0cx.de/index2.html Also, can I load a cusom image? I have one uploaded
apignotti
apignotti3mo ago
That means that there is a JIT failure which will have a negative impact on performance, but it's not fatal If you can share a Dockerfile that reproduces the problem we will investigate at a later time You can use a custom image:
apignotti
apignotti3mo ago
Leaning Technologies Developer Hub
Custom disk images - CheerpX Documentation
How to create custom ext2 images to use as a filesystem for CheerpX
apignotti
apignotti3mo ago
Actually there is no JIT issue, it's just a regression in Firefox
pinpox
pinpoxOP3mo ago
I have build it as shown there, I was just wondering if i need to set the type from "cloud" to "bytes" or something like in the WebVM
apignotti
apignotti3mo ago
Chrome will work fine You need to use bytes
pinpox
pinpoxOP3mo ago
hmm ok but that is not set in the example code anywhere?
apignotti
apignotti3mo ago
Leaning Technologies Developer Hub
Files and filesystems - CheerpX Documentation
Virtual filesystems and how to use them
pinpox
pinpoxOP3mo ago
I currently have (as per the example)
const cloudDevice = await CheerpX.CloudDevice.create(
"wss://disks.webvm.io/debian_large_20230522_5044875331.ext2"
);
const cloudDevice = await CheerpX.CloudDevice.create(
"wss://disks.webvm.io/debian_large_20230522_5044875331.ext2"
);
There is no clouddevice on these docs
apignotti
apignotti3mo ago
No, because it cannot be truly used by users.
pinpox
pinpoxOP3mo ago
ah i see so I need webdevice I guess
apignotti
apignotti3mo ago
No, you need the bytes device
apignotti
apignotti3mo ago
Leaning Technologies Developer Hub
Full OS - CheerpX Documentation
Run bash on a custom disk image
pinpox
pinpoxOP3mo ago
Perfect, thank you very much for the help!

Did you find this page helpful?