A dev container feature that installs Rojo and optionally Rokit, Aftman, or Foreman for toolchain management. Useful for developing Roblox experiences using dev container supported tools such as GitHub Codespaces.
You need a device that can run Roblox Studio to be able to sync code and publish places. This just allows you to use any device to edit code and a bit more. You can still build models and places using Rojo as well as download them.
Rojo can't install the Rojo plugin for Roblox Studio since it is running in the cloud and does not have access to your device. You will to install it manually from GitHub or the Roblox Creator Store.
Because of how GitHub Codespaces works, if you want to sync to Roblox Studio in a codespace, you need to set the port to 80
in the plugin even though it shows it is forwarded as 34872
.
You also need to remove the https://
at the beginning and the /
end of the forwarded address. https://your-project-34872.app.github.dev/
turns into your-project-34872.app.github.dev
.
To use this feature, add the following to your devcontainer.json
file:
"features": {
"ghcr.io/ryanlua/features/rojo:latest": {
"version": "latest",
"toolchainManager": "rokit"
}
}
Learn more about this feature by seeing the feature's README.
For a Roblox template using this feature, see https://github.com/RyanLua/templates.