Migrate from Gambiarra
The project is now called Gambi. This guide covers everything you need to update.
What Changed
Section titled “What Changed”| Before | After |
|---|---|
gambiarra | gambi |
gambiarra-sdk | gambi-sdk |
createGambiarra() | createGambi() |
~/.gambiarra | ~/.gambi |
gambiarra-hub / _gambiarra | gambi-hub / _gambi |
Gambi is the official abbreviation of gambiarra. For the naming background, read Why Gambi?.
Fastest Migration
Section titled “Fastest Migration”Run the automated script for your platform:
curl -fsSL https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/migrate-from-gambiarra.sh | bashirm https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/migrate-from-gambiarra.ps1 | iexManual CLI Migration
Section titled “Manual CLI Migration”npm uninstall -g gambiarranpm install -g gambiThe new gambi package installs a wrapper plus the matching platform binary for the current machine.
bun remove -g gambiarrabun add -g gambicurl -fsSL https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/uninstall.sh | bashcurl -fsSL https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/install.sh | bashirm https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/uninstall.ps1 | iexirm https://raw.githubusercontent.com/arthurbm/gambi/main/scripts/install.ps1 | iexSDK Migration
Section titled “SDK Migration”Replace imports and provider names:
import { createGambi } from "gambi-sdk";
const gambi = createGambi({ roomCode: "ABC123",});What changed:
gambiarra-sdk→gambi-sdkcreateGambiarra→createGambiGambiarra*types →Gambi*types- response metadata key
gambiarra→gambi
Local Config Migration
Section titled “Local Config Migration”The CLI and TUI now use:
~/.gambi/config.jsonIf you already have ~/.gambiarra/config.json, the migration script copies it into the new location when possible.
Service and Network Names
Section titled “Service and Network Names”If you run Gambi as a service or rely on discovery, update these names too:
| Before | After |
|---|---|
gambiarra-hub.service | gambi-hub.service |
_gambiarra._tcp.local | _gambi._tcp.local |
gambiarra-hub-{port} | gambi-hub-{port} |
Verify
Section titled “Verify”gambi --versiongambi --helpIf you use the SDK, also update your app imports and run your normal build or typecheck.
Next Steps
Section titled “Next Steps”- Quick Start — set up a hub and room from scratch
- CLI Reference — full list of commands and flags
- SDK Reference — routing methods and provider options