NPM Package Documentation
Automatic social media content generation for your code releases. Install once, works forever—just like Sentry.
Works out of the box with sensible defaults for Next.js, React, and more
Integrates seamlessly with GitHub Actions, Vercel, Netlify
API key authentication, encrypted communication, no source code storage
Using npm:
npm install -D pubdev
Using pnpm:
pnpm add -D pubdev
Using yarn:
yarn add -D pubdev
- Create an account on pubdev.app
- Create a project from your dashboard
- Navigate to your project's API Keys section
- Generate a new API key
npx pubdev init
Follow the interactive prompts to configure your project. This creates a pubdev.config.js
file.
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
- 1
Scan
pubdev analyzes your Git history and code changes
- 2
Detect
Identifies new/modified React components, pages, and features
- 3
Parse
Extracts component names, descriptions, and context
- 4
Generate
AI creates engaging social media posts with your branding
- 5
Review
You review and edit generated content in the dashboard
- 6
Publish
One-click publishing to X (Twitter) and other platforms