🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@shaneholloman/aria-bridge

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shaneholloman/aria-bridge

Development-only bridge for capturing errors and logs in web, Node, and React Native

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@shaneholloman/aria-bridge

Development-only bridge that captures errors, logs, and optional controls from your app and streams them to a workspace host. Works across web, Node.js, React Native, Roblox/Lua (HTTP), and thin backend SDKs.

  • Usage & configuration: docs/usage.md
  • Language quickstarts: docs/clients/README.md
  • SDK status matrix: docs/clients/status.md
  • Roblox / Lua guide: docs/clients/roblox.md

Install (JS/TS)

bun add @shaneholloman/aria-bridge

Quickstart (JS/TS)

  • Start the host (writes .aria/aria-bridge.json with url + secret):

    bunx aria-bridge-host
    
  • Bootstrap the bridge early in your app:

    import { startBridge } from '@shaneholloman/aria-bridge';
    
    startBridge({
      url: process.env.ARIA_BRIDGE_URL,      // or read from .aria/aria-bridge.json
      secret: process.env.ARIA_BRIDGE_SECRET,
      projectId: 'my-app',
      enableControl: false,                  // opt-in features; see docs/usage.md
    });
    
  • In React Native, the same call works; in Node.js you can also enable network/control capture.

Other runtimes (preview / experimental)

Export ARIA_BRIDGE_URL and ARIA_BRIDGE_SECRET (read them from .aria/aria-bridge.json), then run:

LanguageDev one-linerDocs
Roblox / Luabun run copy:lua-client (then require AriaBridge.lua)guide
Pythonpython python/examples/basic_usage.pyguide
Gogo run go/examples/main.goguide
PHPphp php/examples/basic.phpguide
Rubybundle exec ruby ruby/examples/basic.rbguide
Rustcargo run --example basic --manifest-path rust/Cargo.tomlguide
Swiftswift run --package-path swift AriaBridgeExampleguide
Java (scaffold)bun run sdk:javaguide

Host in one paragraph

aria-bridge-host is a singleton WebSocket server per workspace. It locks at .aria/aria-bridge.lock, writes .aria/aria-bridge.json with url, port, and secret, and fans out events from bridges to consumers (e.g., Aria, MCP). Start it with bunx aria-bridge-host [workspace-path].

Demos & tests (JS/TS)

  • Node demo: bun test (runs demo/node-demo.js, assumes host running)
  • Web demo: bun run build then open demo/web-demo.html
  • Workspace bridge demo: node demo/workspace-bridge-demo.js /path/to/workspace

Keywords

development

FAQs

Package last updated on 07 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts