Start here
How the Rust host and React interface fit together, a tour of the repository, and how to run, test, and debug Toolblox from source.
Toolblox is a desktop app for managing and launching Roblox accounts. It’s built with Tauri 2: a Rust host owns every privileged operation, and a React, TypeScript, and Vite interface renders the window. Windows is the primary platform and macOS is supported. The source is public under the MIT license at github.com/BakedAleska/Toolblox.
The core app is deliberately small. It signs accounts in through Roblox’s own login page, keeps their sessions in the operating system’s credential store, launches Roblox with a chosen account and place, shows which accounts are in game, and can rejoin accounts that disconnect. Everything game-specific is meant to live in widgets: community packages that extend or reshape the app.
These docs are written for widget authors who want to go further than a small add-on panel. A module widget runs inside the app window with the same reach as the app’s own source, so building an ambitious widget means understanding the whole app: how it starts, where state lives, which Rust commands exist, how the interface is composed, and which background services run alongside it.
The docs are a guided tour of the source rather than a replacement for it. Each page explains what a part of the app does, why it’s built that way, how data moves through it, and links the exact files on GitHub. The Rust host’s item-level documentation is generated from its doc comments and published at the API reference.
Toolblox supports two kinds of widget surface, declared in the widget’s widget.json manifest:
module file, an ES module that Toolblox imports into the main
window. Its activate export receives the host API. Module widgets are full-trust.entry, settingsEntry, dashboardEntry) that
render in sandboxed iframes and talk to the host only through permission-checked messages.A module widget can:
| Capability | How | Reference |
|---|---|---|
| Add its own page | registerPage(Component) renders at /widgets/<id> |
Pages and screens |
| Add a settings page | registerSettings(Component) renders at /widgets/<id>/settings |
Host API |
| Replace a core screen | replaceScreen("dashboard" | "accounts" | "widgets", Component) |
Pages and screens |
| Extend existing screens | addToSlot(slot, Component, { order }) for accounts.row, accounts.toolbar, dashboard.stats, dashboard.sections, and sidebar.footer |
Slots |
| Restyle the whole app | addStyles(css) adopts a stylesheet on the document, for example to override theme tokens |
Slots and styles |
| Use the app’s components | toolblox.React and toolblox.ui expose the app’s React instance and shared components |
Host API |
| Read and react to app state | getState(), useAppState(), onStateChange() |
Storage and state |
| Drive app actions | navigate, notify, refresh, and join, which runs the normal Join flow |
Host API |
| Keep data | storage.get/set for one JSON value, plus per-account widgetData.get/set |
Storage and state |
| Call every IPC method | request(method, params) with all permissions granted, including network.fetch and process.spawn |
IPC |
| Run native helpers | Declared sidecar processes under optional-bin/, fed over stdin and read from stdout |
Processes |
| Write to the diagnostic log | log.debug/info/warn/error under widget:<id> |
Logs and failures |
Toolblox’s own Settings screen is the one screen a widget can’t replace, so the app’s settings and diagnostics stay reachable whatever widgets are installed.
Every capability that needs a session, such as checking presence or joining a game, is a Rust command that uses the session internally and returns only the outcome. Widgets build on those commands instead of handling credentials. The architecture page explains this boundary in detail.
Because module widgets are full-trust, safety doesn’t come from limiting the API. It comes from:
--safe-mode opens Toolblox for one session without loading any widget.Start here
How the Rust host and React interface fit together, a tour of the repository, and how to run, test, and debug Toolblox from source.
The app
Each subsystem in depth: startup and updates, accounts, commands and state, the interface, and background services.
Widget tutorials
Step-by-step guides from a first module widget to pages, slots, styles, storage, and processes.
Widget reference
The manifest, host API, slots, IPC methods, permissions, iframe widgets, and how logs and failures surface.