Azul — Easy & Powerful Studio-first Two-Way Sync

Azul

Quick Start — GitHub — Documentation

Azul is a two-way code synchronization tool between Roblox Studio and your local filesystem (with full IntelliSense/autocomplete support).

Azul’s main goal is simple: Bridge the gap between professional tools like VSCode (or any other IDE!) and Studio without the complications & complexities of traditional sync tools like Rojo.

The name is a pun on Rojo (Spanish for “red”), Azul means “blue”.

:money_with_wings: Consider donating R$ if you found Azul helpful!

Features

  • :counterclockwise_arrows_button: Bi-directional sync: Changes in Studio update files, and file edits update Studio

  • :deciduous_tree: DataModel mirroring: Instance hierarchy 1:1 mapped to folder structure

  • :bullseye: No manual config / required structure: Works out of the box with new and existing Roblox Studio projects, regardless of structure

  • :building_construction: Build command: Sync your local files into Studio with azul build.

  • :package: Push command: Selectively push local files into Studio using azul push. Useful when importing external libraries or using package managers (i.e Wally)

  • :classical_building: Fully hermetic builds: Fully serialize Instance properties using azul pack, allowing for clean, reproductible builds when building or pushing.

  • :desktop_computer: Console streaming: View the Roblox Studio console directly in your terminal when you playtest, with tracebacks resolved to your local files.

  • :red_circle: Rojo compatibility mode: Supports importing from Rojo projects with the --rojo flag.

  • :world_map: Automatic sourcemap generation: Generates a Rojo-compatible sourcemap.json so tools like Luau-lsp work out of the box.


Philosophy

Azul treats Studio as the source of truth. The local filesystem mirrors what’s in Studio, not the other way around.

Azul also allows pushing local files into Studio using the azul build command, which creates or overwrites instances in Studio based on your local files.


Why Azul?

Because Azul is as simple as it gets: Run the azul command in your project folder, connect the companion plugin in Studio & start coding.

Compatible with projects both old and new, no more extra worrying about how to “Rojo-ify” your project. Your code is literally 1:1 mapped to what’s in Studio.

Why not use Rojo?

Rojo is the industry standard for a reason, but it’s built on a specific premise: the filesystem must be the source of truth. While this works for traditional software, it creates a massive “philosophy gap” when applied to a visual, instance-based engine like Roblox.

Whether you use Rojo fully or partially, you run into the same fundamental problems:

  • Fully Managed: To keep everything on the filesystem, you have to define your entire game hierarchy in JSON or manage opaque .rbxm files. This turns a visual engine into a text-config chore.
  • Partially Managed: Most settle for a hybrid approach to avoid the pitfalls of fully managed, but this also introduces new problems. Your local files are no longer a true reflection of your Studio project, since they are missing literal chunks of your project. This leads to confusion & a fractured workflow where you constantly switch contexts between Studio and your IDE.

Instead of fighting Studio, Azul embraces it as the source of truth and mirrors it to your filesystem in real-time. You get the best of both worlds: the power of external tooling & the seamless, visual workflow of Studio.

Why not use Script Sync?

Azul offers several advantages over Roblox’s own Script Sync feature:

  • Azul mirrors everything: Script Sync can only sync specified folders and scripts, not entire projects. Azul directly mirrors the entire DataModel, meaning you don’t have to worry about manually syncing specific parts of your project.

  • Building from filesystem: Script Sync is a “live-only” link with no manual override. Azul gives you the azul build command, allowing you to forcefully push your local state into Studio. This is essential for maintaining a clean state or recovering from accidental Studio changes.

  • First-class Package Support: Syncing external libraries or using package managers (Wally, pesde) is seamless with azul push. You don’t have to manually set up sync roots for every new package you install; Azul just handles it.

  • Rojo compatibility: Azul can import existing Rojo projects using the --rojo & --rojo-project <file> flags, making Azul compatible with many existing open source projects.

    • Generates a Rojo-compatible sourcemap.json: This allows any tooling that require Rojo-style sourcemaps (like luau-lsp, the language server) to work seamlessly.
  • Zero commitment: Azul requires no commitment to a specific project structure. If you want to try out Script Sync (or any other tool) in the future, Azul won’t get in your way.


Who is Azul NOT for?
  • You want a ‘build tool’:
    • The purpose of a ‘build tool’ is to replace Studio. While Azul can be used to build games entirely off Roblox (azul build, azul push, manually creating a sourcemap.json), it’s not designed for that use-case.
  • You want non-standard project structures (i.e. feature-based architecture):
    • If you dislike working with Roblox’s containers and prefer Rojo’s arbitrary folder mapping, Azul will not fill your use-case.
  • You want something battle-tested:
    • While Azul is used in a lot of projects today, it’s still a relatively new tool maintained by only one person (me). It may be a bit rougher around the edges compared to more mature tools like Rojo and Argon. These issues will be slowly addressed as the tool matures, however. Contributions are always welcome!

Interested?

Get started with Azul in less than 5 minutes by visiting the GitHub repository!

:star: If you found this tool useful, consider starring the repository to show your support!

136 Likes

Very beautiful, very powerful.

7 Likes

that looks good. i will try this!

6 Likes

it seems very wonderful! i see this like an alternative to Rojo or smth

10 Likes

it quite literally says ‘blue’ in spanish where rojo says ‘red’

its the opposite of rojo, so its fitting

anyway, this is wonderful, ill defo check this out

9 Likes

Question. I might’ve missed it when I read your description. If a large project is in studio, is there a way to generate project files for it from the rbxm? Or does this require rblx-to-rojo?

2 Likes

Since Studio is the source of truth, your system will reflect what’s in Studio. This means you simply install Azul, connect with the plugin, and files of all your project structure will be created instantly.

5 Likes

Wow, this is awesome, an incredible plugin. I will more than likely be using this on all my projects for now on. Thanks!

4 Likes

is it possible to use typescript with this and if so how?

4 Likes

The two-way nature of Azul makes it extremely difficult (if not impossible) to implement something like roblox-ts as a first-party option in the tool itself.

Picture this: You want to code in TypeScript, so you write some valid TS and use rbxtsc to convert it back to valid .luau, then that code gets synced back into Studio. Imagine something about that .luau file changes (the contents get changed, the name changes, the location changes, in Studio or Locally). What should Azul do? Should we juggle two versions of the same file in two different languages? Should we transpile the changes back to TypeScript?

roblox-ts and Rojo work because the workflow is primarely one-way. You manage your project state locally, so you don’t care about what happens with the resulting .luau files or Scripts in Roblox Studio.

If you really wanted to, you could code in TypeScript, transpile it using rbxtsc and output it back to Azul’s /sync folder. After which, you’d have to run azul build to send the changes back into Studio. But you can see why I wouldn’t recommend using this.

6 Likes

That’s cool, but the reason I use Rojo is to use Git as a Version control since Studio doesn’t really have a proper VCS. So, in that sense, Azul is not ideal for my use case, right?

4 Likes

How does this handle file structures that violate file system structures (like having a script as a child of another script)?

This seems quite useful as a simple tool for using external editors, definitely what I would look for if I do use an external editor

2 Likes

The only “illegal” file structure Azul will meet are Scripts nested inside other Scripts. These are handled in the easiest way possible: create a folder with the name of the Script and put all its descendants under it.

Here’s an example I left in the GitHub Readme that illustrates this well:

5 Likes

okay thanks for clarifying it for me :folded_hands:

3 Likes

Azul: Update 1.0.1

New features

  • Plugin settings are now persistent, they will no lo longer get reset once you’ve reloaded the plugin
  • azul --version argument: in case I need to debug, it’s good to know what version the user is on.

Fixes

  • Introduced a fast path index so snapshot rebuilds and reparenting use O(1) lookups instead of scanning every node.
  • Duplicated instances no longer replace the original instance in the sourcemap.
  • Instances with descendants will no longer linger in the sourcemap if deleted.
6 Likes

hello, i noticed error in roblox studio plugin, here a screenshot(see log):

plugin calls a “CreateDockWidgetPluginGuiAsync”, this is weirdo function lol

1 Like

Looks cool so is this similar to like Rojo? Also I swear i’ve seen ur username from somewhere before… Wait, Ender777456 is that you?

3 Likes

Hey! This is not a weird function, it is just the way Roblox allows you to create plugin windows.

Does restarting Studio fix the issue?

4 Likes

this is very strange, i tryed restart studio and this doenst help. i will try
reinstall plugin.

2 Likes

Hey, did reinstalling the plugin work?

2 Likes