A Firefox extension that helps automate post creation and replies on X using ChatGPT-4o or XAI api.
- Dual AI Provider Support:
- OpenAI GPT-4o/GPT-4o-mini integration
- X.AI Grok models with vision capabilities
- Smart Content Generation:
- Create engaging new posts
- Generate contextual replies
- Image understanding for posts with media
- Modern Dark Mode Interface:
- Clean, responsive design
- Character counter
- Real-time content preview
- Advanced Features:
- Debug logging
- Secure API key storage
- State preservation
- Auto-posting option
- Open Firefox and go to
about:debugging
- Click on "This Firefox" in the left sidebar
- Click "Load Temporary Add-on"
- Navigate to the extension folder and select
manifest.json
- Get your API key:
- For OpenAI: https://platform.openai.com/account/api-keys
- For XAI: https://x.ai/api
- Click the extension icon in Firefox
- Choose your AI provider (OpenAI or X.AI)
- Select your preferred model:
- OpenAI: GPT-4o or GPT-4o-mini
- XAI: Grok-2 Vision (supports image analysis)
- Enter your API key and save settings
- Click the extension icon
- Select "New Post" mode
- Enter your post topic or idea
- Click "Generate Content"
- Review the generated content
- Click "Post to X" to publish
- Navigate to a post on X
- Click the extension icon
- Select "Reply" mode
- The extension will automatically:
- Capture the original post text
- Analyze any images (when using Grok Vision)
- Generate a contextual reply
- Review and edit the generated reply
- Click "Post to X" to publish
When using X.AI's Grok Vision model:
- The extension automatically detects images in posts
- Generates responses that reference both text and visual content
- Provides more contextually aware replies
The extension includes a comprehensive debug panel that shows:
- API responses
- Content generation process
- Image detection status
- Error messages
- State changes
-
API Issues:
- Verify your API key format
- Check debug logs for response errors
- Ensure you're using the correct provider settings
-
Post Generation Issues:
- Make sure you're logged into X
- Check your internet connection
- Review debug logs for specific errors
-
Image Analysis Issues:
- Ensure you're using the Grok Vision model
- Check if the image is loading properly
- Verify image URL accessibility
- API keys are stored securely in local browser storage
- No data is sent to third-party servers
- Only communicates with OpenAI/X.AI APIs and X
- All API communications are encrypted
- No tracking or analytics
MIT License - Feel free to modify and distribute as needed.