New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@strav/herald

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@strav/herald

Strav micro-publishing — provider-agnostic abstraction for publishing posts to social platforms (Google Business Profile, Meta/Facebook + Instagram, WordPress). Normalized PublishInput + capability-flagged drivers + inbound webhook registry for engagement

latest
npmnpm
Version
1.0.3
Version published
Weekly downloads
2
-86.67%
Maintainers
1
Weekly downloads
 
Created
Source

@strav/herald

Provider-agnostic micro-publishing for Strav apps.

@strav/herald is the publish-side counterpart to @strav/instant (chat) and @strav/notification (per-user delivery). It lets an app publish a post to one or more external platforms (Google Business Profile, Facebook Page, Instagram, WordPress, …) behind a single normalized API, then receive engagement events (reviews, comments, reactions) back through a typed webhook registry.

Status: alpha — scaffold (skeleton + driver contract). Drivers ship in follow-up slices: WordPress first, then Meta, then GBP.

Install

bun add @strav/herald

Minimal example

import { HeraldManager } from '@strav/herald'

const herald = app.resolve(HeraldManager)

const result = await herald.publish(
  { provider: 'wordpress', accountId: 'wp-tenant-42' },
  {
    text: "We just opened our garden patio — come by for the sunset!",
    attachments: [{ type: 'image', url: 'https://cdn.example.com/patio.jpg' }],
  },
)

console.log(result.providerPostId, result.url)

Drivers (planned subpaths)

SubpathStatusPlatform
@strav/herald/wordpressplannedWordPress REST
@strav/herald/metaplannedFacebook Page + Instagram (Graph API)
@strav/herald/gbpplannedGoogle Business Profile
@strav/herald/xfutureX (Twitter)
@strav/herald/tiktokfutureTikTok

See docs/herald/ for setup, OAuth scopes, and webhook wiring.

FAQs

Package last updated on 01 Jun 2026

Related posts