Skip to content

v0.5.0 — Social Media Content Engine

Choose a tag to compare

@AdametherzLab AdametherzLab released this 05 Mar 06:30
· 6 commits to main since this release

What's New

Social media content generation and posting — turn your metrics into viral #BuildInPublic posts.

socialFormat() — Platform-Aware Formatting

  • Auto-truncates to platform char limits: X (280), Bluesky (300), Mastodon (500), Threads (500), Instagram (2200), YouTube (5000)
  • Smart word-boundary splitting, hashtag appending, custom truncation markers

thread() — Smart Thread Splitter

  • Splits long text into numbered posts with paragraph → sentence → word fallback
  • Header/footer support, per-platform limits

buildInPublic() — Metric-to-Post Generator

  • Generates #BuildInPublic social posts from dashboard metrics
  • Includes sparklines, trend arrows, kaomoji mood faces, and hashtags
  • 5 kaomoji themes (classic, cats, bears, stars, minimal)
  • Perfect for indie hacker / SaaS daily updates

socialCaption() — Multi-Section Caption Builder

  • Build structured IG/YT captions with titled sections, emoji prefixes, CTA, and hashtags
  • Auto-truncates to platform limit

postToBluesky() — AT Protocol Posting

  • Post directly to Bluesky with just handle + app password
  • No OAuth complexity, zero deps, pure HTTP

postToX() — X/Twitter API v2 Posting

  • Full OAuth 1.0a HMAC-SHA1 signing using Node built-in crypto
  • Zero external dependencies

Stats

  • 31 new tests (94 total passing)
  • +975 lines across 7 files (new: src/social.ts)
  • Still zero dependencies