loft-sh / devpod

Codespaces but open-source, client-only and unopinionated: Works with any IDE and lets you use any cloud, kubernetes or just localhost docker.
https://devpod.sh
Mozilla Public License 2.0
8.64k stars 318 forks source link

VSCodium support is missing, while it exists for VSCode and VSCode for Insiders #1198

Open KhazAkar opened 1 month ago

KhazAkar commented 1 month ago

Which solution do you suggest?
Similar as for VSCode for Insiders or VSCode :)

Which alternative solutions exist?
Remote via SSH or just launching it with devpod plugin while vscodium is open.

Additional context
VSCodium is a project which provides an open source binaries for VSCode

bkneis commented 3 weeks ago

Hi @KhazAkar thanks for the suggestion, I was not aware of vs codium existed! It looks like an interesting project. One solution to this problem could be to symlink vs codium binary as vscode in your bin. Depending on your set up something like ln -s /usr/bin/codium /usr/bin/code

3timeslazy commented 3 weeks ago

@KhazAkar the problem with VS Codium is that it doesn’t support dev containers. VS Code DevContainer extension is proprietary and won’t work with VS Codium even if you download vsix package from the marketplace. See: https://github.com/VSCodium/vscodium/issues/1229.

The best you can get is to create a container using devpod cli and connect to it via https://github.com/jeanp413/open-remote-ssh

Alternatively, you can try this: https://github.com/3timeslazy/vscodium-devpodcontainers

I faced the same problem some time ago and made this as a workaround. It does exactly what I’ve described: runs devpod up and connects to it using ssh extension from above. It works on two my machines, but very raw and only used by me.

KhazAkar commented 3 weeks ago

@3timeslazy I'm using yours extension for dev containers in VSCodium and works great. It would be great to have slightly better integration from DevPod side, just like official VSCode have.

3timeslazy commented 3 weeks ago

@KhazAkar wow, I didn’t know that. Glad to hear this! Will be more careful with new releases now hah

In fact, DevPod supporting Codium would be very cool and beneficial to both the Codium and DevPod communities for at least two reasons:

  1. Supporting a more private and truly open VS Code alternative. DevPod users might see Codium on the list of supported IDEs and get interested in it.
  2. Promoting DevPod to Codium users. Codium users are currently excluded from the devcontaineirs movement due to a lack of open implementations. DevPod integration could encourage devs to develop open alternatives for remote development extensions such as dev containers and remote k8s development. All of that will be good promotion for DevPod among Codium users.
KhazAkar commented 1 week ago

@bkneis I will check it tomorrow, but it might work. Currently plugin by 3timeslazy opens it in VSCodium, but having CLI "devpod up" do it automagically, even by linking, will be awesome :)