IDE's and Dev enviournments reddit / selfhosted ---------------------------------------------------------------------- AwaywithCharles · 2023-12-09 09:56 What is everyone self-hosting for IDE's/Dev environments? I have a HP elitedesk G3 800 mini or a Zimaboard pro that I want to use for one. I would love to hear what the community uses and enjoys. ---------------------------------------------------------------------- isleepbad · 2023-12-09 10:26 I use Jupyterlab because I write all of my backends in python. However I've heard good things about self hosting VS Code. Although I do not self host it, I use the desktop program + remote plugin to code everything else. ---------------------------------------------------------------------- AwaywithCharles · 2023-12-09 11:00 >Jupyterlab This is one that I have not looked up before; I'll have to give it a look! Do you have it set up so you can access it outside of your network? I appreciate your input :) ---------------------------------------------------------------------- Jonteponte71 · 2023-12-09 12:12 I’m not sure what is gained by running the IDE itself selfhosted outside of having it reachable and consistent from anywhere you are in the world. If you have your network open. On the other hand git and ci/cd services can be nice to run privately and not have to have your code on servers far away. Like Gitea and/or onedev. ---------------------------------------------------------------------- isleepbad · 2023-12-09 12:26 Yes. I use the Base-Notebook version from here: https://jupyter- docker-stacks.readthedocs.io/en/latest/using/selecting.html I have it open via tailscale. I use it whenever I have downtime at work and I want to look busy. So I crack it open and continue my app development. ---------------------------------------------------------------------- BakGikHung · 2023-12-09 13:42 I do a lot of python development and I've got a baremetal proxmox server on hetzner which is exclusively used for development. Here's the setup: * I have a few different VMs, some are for backend code, some for frontend * everything is provisioned using Ansible. this includes creating the VMs and creating things like the python virtual environments, installing necessary packages. * All my VMs are publicly accessible from SSH, using ipv6, so that I can ssh-remote into them from VSCode. They can all host development web servers without proxying (this of course requires your desktop to be ipv6-enabled). * I've also got a code-server instance running on them (web-based open source VSCode), which I can use when i'm at another computer, or from my Chromebook. * I've got hourly rsync backups on all the home directories of all VMs. I never worry about losing work in progress. I basically wanted to replicate something like Github Workspaces, but self hosted. I've got the automation of VMs to a point where I could pretty much create a VM for each feature branch I open on git. ---------------------------------------------------------------------- GenerousAccord · 2023-12-09 17:01 I'm not sure I understand the context. I use the Eclipse IDE in the Java world, no selfhosting is needed, it, like all IDE's is a thick GUI client. I guess I could install it on a server running Xorg then "ssh -X" into that server and run it, that'd be sorta selfhosting. ---------------------------------------------------------------------- [deleted] · 2023-12-09 21:24 [deleted] ---------------------------------------------------------------------- shenanigansbud · 2023-12-09 21:42 I completely agree with your point on ansible. I started managing all of my docker compose with ansible, using ansible vault for secret management and renovate to update image digests, and wrote some roles for configuring a new VM from the ground up to be a new docker host. It took me like 10 minutes to migrate all my services to a new VM, and I felt so cool afterwards LOL. For creating VMs in proxmox using ansible, are you creating them from templates? Is there a reason you are using ansible rather than something like Terraform? I want to start provisioning VMs in a more automated fashion, so I’d love to learn more about your approach. ---------------------------------------------------------------------- BakGikHung · 2023-12-09 22:10 I do use VM templates, which are based on Ubuntu and fedora cloud images. Ansible can create VMs in proxmox and configure them, I honestly don't know much about terraform but with everything in ansible, I can create a new development VM with just a new entry in the host inventory and a command line. I am happy with ansible so I haven't felt the need to look at another tool. ---------------------------------------------------------------------- BakGikHung · 2023-12-10 01:58 The user experience over x windows is not great, lots of input latency. A lot of IDEs can now run on the backend and expose the UI over web. Eclipse also has a similar project. ---------------------------------------------------------------------- BakGikHung · 2023-12-10 01:59 The user experience over x windows is not great, lots of input latency. A lot of IDEs can now run on the backend and expose the UI over web. Eclipse also has a similar project. ---------------------------------------------------------------------- Spuxilet · 2023-12-10 06:28 I am runnig code server. Everything happens on my server it's actually faster then my laptop. Next i want to buy a phone with type c to hdmi capabilities. I always had google phones nexus and now pixel and as many would know sadly pixels can not do that. It will be very cool attaching mouse and keyboard to BT phone connecting it to monitor and working on my self hosted code server. ---------------------------------------------------------------------- AwaywithCharles · 2023-12-11 06:44 I was using vscode before, it became extremely clunky between projects. For instance having all the dependencies for python, c++, web dev, 3d printing firmware things, Java, and other odds and ends. Im lookng at deploying specific containers now for each project on my server, then having the ability to just remote in to that instance than having to spin up a different instance everytime on my laptop. If my laptop is not on the web most likely I'll have a branch that I've worked on and can always just push the changes once I'm back on the web. Overall I'm just frustrated on how slow everything runs and looking to isolate projects I guess