DevTrendsDeveloper trends
Accent color

opencoredev /

social-sdk

Project URL Category JS Project Title Social SDK: one TypeScript client for seven social platforms Project Description Social SDK is an MIT TypeScript library for adding social features to an app. One client talks to X, …

LanguageTypeScriptDTLifestyle & entertainmentDTSoftware developmentDTLibrary / SDKOriginalapi-integrationOriginalatprotoOriginalblueskyOriginalbunOriginaldeveloper-toolsOriginalinstagramOriginallinkedinOriginalnodejsOriginaloauth

About

Project URL Category JS Project Title Social SDK: one TypeScript client for seven social platforms Project Description Social SDK is an MIT TypeScript library for adding social features to an app. One client talks to X, Threads, Bluesky, LinkedIn, Instagram, TikTok and YouTube directly, or to managed backends like Postiz and Buffer. Runs on Node.js 22.12+ or Bun. Highlights Each publish target returns its own outcome (published, processing, accepted, failed, unknown) instead of one success flag. Capability checks say up front what each platform and backend supports. A deterministic mock backend lets you test without calling live APIs. Example Code ts import { createSocial, connectedAccountRef } from "@opencoredev/social-sdk"; import { mockBackend } from "@opencoredev/social-sdk/testing"; const social = createSocial({ backend: mockBackend({ scenario: "immediate-text-success" }), }); const result = await social.posts.publish({ targets: [ { account: connectedAccountRef({ backend: "default", platform: "x", accountId: "mock-account-1", }), }, ], content: { text: "Hello from Social SDK" }, idempotencyKey: "quickstart-1", }); console.log(result.status, result.outcomes[0]?.state); // complete published Screenshots or Demo Videos

Discovery history

  1. Show HN

    Oct 3, 2026 · 1 observations

  2. HelloGitHub·用户投稿

    Oct 19, 2026 · 1 observations

  3. 阮一峰周刊·用户投稿

    Oct 19, 2026 · 1 observations

Discuss this product