explaingit

1061700625/github_vps

Analysis updated 2026-06-24

38ShellAudience · ops devopsComplexity · 2/5Setup · moderate

TLDR

Shell scripts that turn a GitHub Codespace into a free Ubuntu or Windows 11 remote desktop with SSH, RDP, and a web terminal preconfigured.

Mindmap

mindmap
  root((github-vps))
    Inputs
      Codespace runtime
      Env vars for creds
      OS choice flag
    Outputs
      Ubuntu desktop
      Windows 11 desktop
      Open RDP and SSH ports
    Use Cases
      Free cloud VPS
      Disposable test machine
      Remote Windows app runner
    Tech Stack
      Bash
      Docker
      Codespaces
      RDP
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Spin up a free Ubuntu desktop in a GitHub Codespace for quick remote work

USE CASE 2

Run a full Windows 11 environment inside Codespaces for testing apps

USE CASE 3

Get an SSH or RDP target without paying for a cloud VPS

USE CASE 4

Provision a temporary remote machine with custom RAM, CPU, and disk size

What is it built with?

BashDockerGitHub CodespacesRDP

How does it compare?

1061700625/github_vpsjurisupport/jurisupport-pluginssirfetch-d/codex-proxy
Stars384135
LanguageShellShellShell
Setup difficultymoderatemoderateeasy
Complexity2/53/52/5
Audienceops devopsops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a GitHub Codespace with the port visibility flipped from private to public, and the built-in VNC is slow enough that a third-party remote desktop tool is recommended.

In plain English

This project is a small set of shell scripts that lets you use GitHub itself as a free VPS, meaning a free remote computer you can log into and use over the network. The README is written in Chinese and links to an illustrated tutorial on WeChat. The trick is that GitHub Codespaces, which is normally for running coding environments, can be used to run a full Ubuntu or Windows 11 desktop. To start it up, you give the start.sh script execute permission with chmod, then run bash start.sh ubuntu to launch Ubuntu, or bash start.sh by itself to launch Windows 11. The Ubuntu side exposes a web terminal on port 4200, SSH on port 8022, and RDP on port 3389. The default username and password are both root. The Windows 11 side exposes a management web UI on port 8006 and RDP on 3389, with the default account MASTER and password admin@123. You can change the default credentials by setting environment variables before the start command, for example ROOT_PASSWORD for Ubuntu, or WINDOWS_USERNAME and WINDOWS_PASSWORD for Windows. For Windows you can also set the RAM, CPU core count, and disk size through WINDOWS_RAM_SIZE, WINDOWS_CPU_CORES, and WINDOWS_DISK_SIZE. The Windows version is configurable via the underlying dockurr/windows Docker image. To stop everything, run bash start.sh stop. The README warns that Ubuntu and Windows share port 3389 for RDP, so you can only run one at a time. The FAQ explains that the built-in VNC is slow, so the author suggests installing a remote desktop tool like Todesk or Sunlogin inside the system. It also notes that you need to switch the Codespace URL from private to public to reach it from outside, and that Codespaces auto-delete after an idle period unless you keep some activity going.

Copy-paste prompts

Prompt 1
Walk me through start.sh and explain how it launches Ubuntu versus the dockurr/windows image.
Prompt 2
Show me how to change the default root password and Windows admin password before the Codespace boots.
Prompt 3
Help me add a keep-alive trick so the Codespace does not auto-delete from inactivity.
Prompt 4
Explain the port mapping in github-vps and how to expose RDP safely when both OSes share port 3389.
Prompt 5
Generate a devcontainer.json that auto-runs bash start.sh ubuntu when the Codespace starts.

Frequently asked questions

What is github_vps?

Shell scripts that turn a GitHub Codespace into a free Ubuntu or Windows 11 remote desktop with SSH, RDP, and a web terminal preconfigured.

What language is github_vps written in?

Mainly Shell. The stack also includes Bash, Docker, GitHub Codespaces.

How hard is github_vps to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is github_vps for?

Mainly ops devops.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.