TwitterXDownload
TwitterXDownload is a powerful Twitter video downloader (not only video). And it’s also a marketing tool that helps you republish the content efficiently. You can translate threads with one click.
So, its perfect for content creators, marketers.
BTW: also a best project for Developers to learn Next.js, HeroUI, TailwindCSS, MongoDB, etc.
✨ Key Features
-
🎥 Advanced Media Extraction: Extract videos and other media from tweets, with support for batch extraction from thread tweets.
-
🔍 Smart Search: Search tweets by creator, date, and media type (images/videos)
-
🌐 Translation & Republishing: One-click translation and republishing of tweets - an essential tool for Twitter thread marketing
-
🌍 Multi-language Support: Available in 12 languages for global accessibility
-
📦 Self Hosted:
- 💰 AdSense Ready: optimized for AdSense approval
- 📈 SEO Optimized: optimized for SEO
🚀 Self Hosted Guide
Prerequisites
- Node.js 20+
- Git
- A server with Coolify installed
Get a supercheap and stable server from RackNerd (https://my.racknerd.com/aff.php?aff=10399)
Local Development Setup
Star and Fork this repository to your own GitHub account.
- Clone the repository:
git clone https://github.com/your-github-username/twitterxdownload.git
cd twitterxdownload
- Install dependencies:
npm install
- Create a
.env.localfile and configure environment variables:
cp .env.example .env.local
# MONGODB URI is required
MONGODB_URI=your-mongodb-uri
- Start the development server:
npm run dev
Production Deployment with Coolify
You can skip this step if you use another deployment service like Vercel, Dokploy, etc.
1. Setting up Coolify Server
- Install Coolify on your server:
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
- Access Coolify dashboard through your server IP:
http://YOUR_SERVER_IP:8000
2. Database Setup in Coolify
You can skip this step if you use another MongoDB service
-
Navigate to
Projectsin Coolify side menu -
Click
New Resourceand selectMongoDB -
Configure MongoDB settings:
- Make it publicly available [✔]
- Copy the Mongo URL (public)
-
Paste the Mongo URL to your
.env.localfile
3. Environment Variables in Coolify
- Navigate to
Projectsin Coolify side menu - Click
New Resourceand selectPublicorPrivateRepository - Select your repository (keep the default settings)
- Click
Environment Variablesand set the variables same as.env.localfile
4. Deploying Your Site
- Click
Deploybutton in Project’s page
💡 Making Money with AdSense
it’s perfect designed for SEO, so you can make money with AdSense easily.
- Deploy your instance following the guide above
- Apply for Google AdSense
- Set up your custom domain and fill the
NEXT_PUBLIC_GOOGLE_ADSENSE_IDin.env.localfile - Monitor and optimize your earnings through the AdSense dashboard
🌟 Support
If you find this project helpful, please consider giving it a star ⭐️
For support, please contact me at Twitter: @ezshine
📄 License
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.