build-in-public-bot
v1.1.0
Published
AI-powered CLI bot for automating build-in-public tweets with code screenshots
Maintainers
Readme
Build-in-Public Bot 🚀
The Ultimate AI-Powered Developer's Companion for Building in Public
Transform your development workflow into engaging social media content with beautiful code screenshots, intelligent tweet generation, and seamless automation.
✨ Key Features
- 🤖 AI-Powered Tweet Generation - Smart, contextual content creation
- 📸 Stunning Code Screenshots - 5 professional themes (Cyberpunk, Matrix, Wave, Halftone, Disruptor)
- 🖥️ Terminal Capture - Smart selections with annotations and arrows
- 🐦 Twitter Integration - Browser automation, no API keys needed
- 🔄 Smart Automation - Watch mode, git analysis, auto-posting
- 🎨 Customizable Themes - Perfect for showcasing your best work
🚀 Quick Start
# Install globally
npm install -g build-in-public-bot
# Setup (30 seconds)
bip init # Initialize configuration
bip setup browser # Twitter authentication
bip setup api # AI configuration
bip auto-alias # Helpful shortcuts
# Your first tweet
bip post "Just shipped my new feature!"🔥 Core Commands
# Generate and post tweets
bip post "Working on authentication system"
# Share beautiful code screenshots
bip code app.js "Clean implementation" --theme cyberpunk
# Capture terminal with annotations
bip terminal --select-errors --theme matrix
# Create drafts (test without posting)
bip draft "New feature preview"
# Watch for changes and suggest tweets
bip watch src/🎨 Screenshot Themes
- Cyberpunk - Neon futuristic aesthetic
- Matrix - Classic green-on-black terminal
- Wave Gradient - Smooth, professional gradients
- Halftone - Retro dot pattern effect
- Disruptor - Bold, high-contrast design
⚙️ Configuration
Supports multiple AI providers:
- OpenRouter (recommended) - Access to multiple models
- OpenAI - GPT-3.5/4 models
- Anthropic - Claude models
# Set up API keys
export OPENROUTER_API_KEY="sk-or-..."
export OPENAI_API_KEY="sk-..."
export ANTHROPIC_API_KEY="sk-ant-..."
# Or configure interactively
bip setup api🔧 Advanced Features
Smart Automation
bip watch src/ # Monitor file changes
bip auto start # Git-based auto-postingTerminal Annotations
bip terminal --arrow "5:1:8:10:Key fix here"
bip terminal --box "1-5:0-80" --note "3:Important"Style Customization
bip style --tone professional --emojis moderate📚 Documentation
🚨 Requirements
- Node.js 16+
- Chrome browser (for Twitter authentication)
- AI API key (OpenAI, Anthropic, or OpenRouter)
🔧 Troubleshooting
# System health check
bip doctor
# Re-authenticate Twitter
bip setup browser
# Check configuration
bip setup status🎯 Real-World Examples
Daily Development
# Morning standup
bip post "Starting work on user authentication"
# Share progress
bip code src/auth.ts "JWT implementation complete"
# End of day
bip post "Wrapped up auth! Tomorrow: user profiles"Feature Launches
# Build anticipation
bip draft "Getting ready to launch..."
# Show the code
bip code src/feature.js "The core implementation"
# Celebrate success
bip post "🚀 Feature is live! Check it out at https://myapp.com"🏆 Why Developers Love It
- 3x More Engagement - Visual content performs better
- Zero API Complexity - Browser automation handles everything
- Beautiful by Default - Professional themes out of the box
- Smart Automation - Suggests content based on your work
- Privacy Focused - All data stays on your machine
📈 Perfect For
- Solo Developers - Share your coding journey
- Startup Teams - Build community around your product
- Open Source - Document contributions and progress
- Content Creators - Generate engaging technical content
- Students - Share learning progress (#100DaysOfCode)
🤝 Community
- 📧 Issues
- 💬 Discussions
📄 License
MIT - See LICENSE for details.
Ready to build in public?
npm install -g build-in-public-bot
bip initStart sharing your journey today! 🚀
Made with ❤️ by developers, for developers who build in public.
