Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

D&D Beyond Character API

Choose a D&D Beyond character in desktop Chrome or Brave, then read and control it from any local application through HTTP. The choice is remembered and access stays active automatically. D&D Beyond credentials stay inside the browser.

Download the Windows x64 package. The helper and CLI are self-contained: no .NET, Node or game installation is required to use the package.

Install

  1. Extract the release ZIP into a permanent folder.
  2. Run Install.cmd as your normal Windows user.
  3. Open chrome://extensions or brave://extensions, enable Developer mode, choose Load unpacked, and select extensions/dndbeyond from the package.
  4. Sign in to D&D Beyond and choose a character in the extension.
  5. Run character-api.exe GET /v1/character/summary or connect your own software.

There is one browser-owned API per Windows user. All local applications use the same URL and bearer from %LOCALAPPDATA%/TabletopVR/character-bridge/v2/http.json. Use one connected browser profile at a time. No per-application enrollment or per-edit approval is needed.

Documentation

The specification is also served at authenticated GET /openapi.json. Character endpoints cover HP, inventory, currencies, conditions, spell counters, notes, custom items/actions, rests and local rolls. A restricted authenticated request route covers upstream character-service operations without typed wrappers. Unknown write outcomes are never automatically retried: read the current state before deciding on another action. The listener accepts IPv4 loopback only.

Build and test

Development requires Windows x64 and Node24. Setup downloads the pinned .NET SDK from Microsoft and verifies its checksum. Runtime users do not need these tools.

.\tools\setup-character-api.ps1
.\tools\build-character-api.ps1
.\tools\check-character-api.ps1
npm ci
$env:PLAYWRIGHT_BROWSERS_PATH = Join-Path (Get-Location) '.tools/playwright'
npx playwright install chromium
npm run test:bridge -- --workers=2
.\tools\package-character-api.ps1

Generated binaries/packages stay under dist/. Tests use isolated native processes, HTTP fixtures and invented account responses. They never install a second API, use a personal browser profile or mutate a real character.

After editing an installed development extension, use tools/reload-extension.ps1. Helper updates use tools/build-character-api.ps1 -ReloadExtension, which discovers and updates the existing registered installation instead of creating another host.

The extension is distributed unpacked and has not been submitted to a browser store. D&D Beyond controls the upstream services; this is not an official DDB API. See third-party notices for runtime/development dependencies.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages