NPM Package Documentation

Automatic social media content generation for your code releases. Install once, works forever—just like Sentry.

npm install pubdev
v0.2.0
View on NPM →
Zero Config

Works out of the box with sensible defaults for Next.js, React, and more

CI/CD Ready

Integrates seamlessly with GitHub Actions, Vercel, Netlify

Secure

API key authentication, encrypted communication, no source code storage

Installation
Install the pubdev package in your project

Using npm:

npm install -D pubdev

Using pnpm:

pnpm add -D pubdev

Using yarn:

yarn add -D pubdev
Get Your API Key
You'll need an API key to use the package
  1. Create an account on pubdev.app
  2. Create a project from your dashboard
  3. Navigate to your project's API Keys section
  4. Generate a new API key
Initialize in Your Project
Run the init command to set up pubdev
npx pubdev init

Follow the interactive prompts to configure your project. This creates a pubdev.config.js file.

Manual Scanning
Scan your project for changes

Scan entire project:

npx pubdev scan

Scan specific files:

npx pubdev scan app/dashboard/page.tsx components/NewFeature.tsx

Scan changes since a commit:

npx pubdev scan --since HEAD~5
How It Works
The pubdev workflow in 6 simple steps
  1. 1

    Scan

    pubdev analyzes your Git history and code changes

  2. 2

    Detect

    Identifies new/modified React components, pages, and features

  3. 3

    Parse

    Extracts component names, descriptions, and context

  4. 4

    Generate

    AI creates engaging social media posts with your branding

  5. 5

    Review

    You review and edit generated content in the dashboard

  6. 6

    Publish

    One-click publishing to X (Twitter) and other platforms

Need Help?
Get support from the pubdev team
📦 NPM Package:npmjs.com/package/pubdev
🏠 Homepage:pubdev.app