Transform your X (Twitter) posts into stunning motion graphics videos with AI-powered composition generation.
X Article to Video is a Chrome extension that captures tweets and converts them into professional video content using Remotion and the Grok AI API. Choose from multiple video styles, preview in real-time, and download instantly.
Sponsored by Postful.ai - The AI-powered social media management platform that helps you create, schedule, and optimize content across all platforms.
- One-Click Capture - Extract tweet content directly from X/Twitter
- Multiple Video Styles - Choose from Minimal, Terminal, or Kinetic typography designs
- AI-Powered - Grok AI generates optimized video compositions
- Professional Animations - Built with Remotion for smooth, high-quality output
- Local Processing - Your data stays on your machine
- Instant Preview - See your video before downloading
- Node.js 18+ installed
- Chrome browser
- Grok API key (Get one here)
- Clone the repository:
git clone https://github.com/pooriaarab/x-article-to-video.git
cd x-article-to-video- Install dependencies:
npm install- Start the local server:
npm run server-
Load the extension in Chrome:
- Open
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked"
- Select the
extension/folder
- Open
-
Configure your Grok API key:
- Click the extension icon
- Open settings (⚙️)
- Enter your API key
- Save
- Navigate to any tweet on X/Twitter
- Click the extension icon in your toolbar
- Capture the tweet with one click
- Select your preferred video style:
- ✨ Minimal - Clean, modern card design
- 💻 Terminal - Retro computing aesthetic with typewriter effects
- 🎬 Kinetic - Dynamic typography with bold animations
- Generate the video (takes 15-30 seconds)
- Preview and download your video
x-article-to-video/
├── extension/ # Chrome extension source
│ ├── manifest.json # Extension configuration
│ ├── popup.html # Main UI
│ ├── popup.js # Extension logic
│ ├── content.js # Tweet extraction
│ └── background.js # Service worker
├── src/ # Remotion video compositions
│ ├── TweetMinimal.tsx
│ ├── TweetTerminal.tsx
│ └── TweetKinetic.tsx
└── server.js # Local API server
Professional card-based design with smooth fade-in animations. Perfect for business and professional content.
Retro terminal interface with typewriter effects and a classic green-on-black color scheme. Great for technical or nostalgic content.
High-energy dynamic typography with animated backgrounds. Ideal for impactful quotes and announcements.
Launch Remotion Studio to preview and edit video compositions:
npm startEdit the composition files in src/:
TweetMinimal.tsx- Minimal styleTweetTerminal.tsx- Terminal styleTweetKinetic.tsx- Kinetic style
- Create a new composition file:
src/TweetYourStyle.tsx - Register it in
src/Root.tsx - Add the style option in
extension/popup.html - Update
server.jsto handle the new style
- Frontend: Chrome Extension (Manifest V3), Vanilla JavaScript
- Video Engine: Remotion - React-based video framework
- AI: Grok API - Advanced language model for composition generation
- Backend: Express.js - Local API server
- Runtime: Node.js 18+
- Render Time: 15-30 seconds per video
- Output Quality: 1080x1080 @ 30fps
- File Size: 500KB - 2MB
- Local Processing: No cloud upload required
Ensure you selected the extension/ folder, not the root project folder.
Make sure you're on an individual tweet page, not the timeline.
Verify the server is running on http://localhost:3000 and the URL is correctly set in extension settings.
Check server logs for errors. Restart the server if needed. Ensure your Grok API key is valid and has credits.
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- Fork the repository
- Create your feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
- Additional video styles
- Custom color schemes
- Multiple aspect ratios (16:9, 9:16, 4:5)
- Background music support
- Text overlay customization
- Batch processing
- Cloud rendering option
- Firefox extension support
MIT License - see LICENSE file for details
- Built with Remotion
- Powered by Grok AI
- Inspired by modern motion graphics design
- Sponsored by Postful.ai
If you encounter issues or have questions:
- Check the Troubleshooting section
- Open an issue on GitHub
- Review the documentation in the
.ai/folder
Made with ❤️ for the X community