Hey everyone, Gc here! 👋
This project blends social media analytics, AI image generation, and user customization to create unique T-shirts featuring viral tweets. By leveraging official Twitter APIs, we analyze likes, retweets, and comments to identify the most engaging tweet. The selected tweet is then transformed into a stunning AI-generated image using Stability AI’s Stable Diffusion Model.
Users can personalize their T-shirts by selecting size and color while the system handles order processing, shipping, and tracking to ensure a smooth experience from tweet selection to doorstep delivery. 🚀
✅ Social Media Analysis – Fetches trending tweets via official Twitter APIs 📊
✅ AI Image Generation – Transforms tweets into eye-catching visuals using Stability AI 🎨
✅ User Customization – Allows selection of T-shirt size & color 👕
✅ Order Processing – Captures user details for seamless fulfillment 📦
✅ Delivery Tracking – Sends real-time tracking updates to customers 📩
1️⃣ Fetch and analyze trending tweets based on engagement metrics.
2️⃣ Identify the most popular tweet and generate an image using Stability AI.
3️⃣ Users select T-shirt size & color for customization.
4️⃣ Collect shipping details and process the order.
5️⃣ Generate tracking details and notify the customer upon dispatch.
- Backend: Node.js, Express.js 🌐
- Frontend: Next.js ⚡
- AI Model: Stability AI – Stable Diffusion 🖼️
- Database: MongoDB (for order & user data) 📂
- API Integration: Twitter API (for tweet retrieval) 🔗
- Node.js (v16+) & npm/yarn
- MongoDB (for storing user data)
- API Keys for Twitter API & Stability AI
1️⃣ Clone the repository:
git clone [https://github.com/your-username/tweet-to-tshirt.git](https://github.com/Guru-1205/Tweeshirt.git)
cd tweet-to-tshirt
2️⃣ Install dependencies:
npm install
3️⃣ Set up environment variables (.env
file):
STABILITY_AI_KEY=your_ai_key
4️⃣ Start the server:
npm run dev
1️⃣ User enters a trending tweet.
2️⃣ AI generates an image based on the tweet.
3️⃣ User customizes their T-shirt (size, color).
4️⃣ Order is processed and shipped.
5️⃣ User receives tracking details.
🙌 Contributions are welcome! Want to improve the project? Feel free to submit a pull request.
📧 Email: [email protected]
💻 GitHub: Guru-1205
Happy coding! 🚀
Cheers, Gc 🎉