Skip to main content
Home

Built and signed on GitHub Actions

Works with
This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score100%
License
MIT
Downloads6/wk
Published14 hours ago (2.0.5)

Embedded ActivityPub debug dashboard for Fedify

@fedify/debugger: Embedded ActivityPub debug dashboard for Fedify

JSR npm Follow @fedify@hollo.social

This package is available since Fedify 2.0.0.

This package provides an embedded real-time debug dashboard for inspecting ActivityPub traces and activities in your federated server app. It works as a proxy that wraps your existing Federation object, intercepting HTTP requests matching a configurable path prefix and serving the debug dashboard, while delegating everything else to the inner federation.

import { createFederation, MemoryKvStore } from "@fedify/fedify";
import { createFederationDebugger } from "@fedify/debugger";

const innerFederation = createFederation<void>({
  kv: new MemoryKvStore(),
  // ... other federation options
});

const federation = createFederationDebugger(innerFederation);

The federation object returned by createFederationDebugger() is a drop-in replacement for the original. You can use it everywhere you would normally use the inner federation object, including with framework integrations such as @fedify/hono and @fedify/express.

Warning

The debug dashboard is intended for development use only. It is strongly recommended to enable authentication if the dashboard is accessible over a network, as it exposes internal trace data.

For more details on configuration, authentication, dashboard pages, and advanced setup, see the Debugging section of the Fedify manual.

Installation

deno add jsr:@fedify/debugger  # Deno
npm  add     @fedify/debugger  # npm
pnpm add     @fedify/debugger  # pnpm
yarn add     @fedify/debugger  # Yarn
bun  add     @fedify/debugger  # Bun
Built and signed on
GitHub Actions

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@fedify/debugger

Import symbol

import * as debugger from "@fedify/debugger";
or

Import directly with a jsr specifier

import * as debugger from "jsr:@fedify/debugger";