A modern, minimalist web application that generates engaging social media posts using AI. Built with Flask and styled with a sleek dark theme.
- 🎨 Modern, dark-themed UI with minimalist design
- 📱 Support for multiple social media platforms:
- ⚡ Real-time post generation
- 📋 One-click copy to clipboard
- 🔄 Loading indicators for better UX
- 📱 Responsive design
- 🎯 Platform-specific post optimization
- Backend: Python Flask
- Frontend: HTML5, CSS3, JavaScript
- Font: Inter (Google Fonts)
- Icons: Font Awesome 6
- API Integration: Webhook-based content generation
- Clone the repository:
git clone <repository-url>
cd social-media-post-generator- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Run the application:
python app.py- Open your browser and navigate to:
http://localhost:5000
- Select your target social media platform from the dropdown
- Enter a trending topic or subject
- Click "Generate Post"
- Wait for the AI to generate your post
- Use the "Copy to Clipboard" button to copy the generated content
- Paste and publish on your chosen platform
The application uses a webhook URL for post generation. To configure your own webhook:
- Open
templates/index.html - Locate the webhook URL in the JavaScript section
- Replace with your own webhook URL
To modify the styling:
- Edit
static/css/style.cssfor visual changes - Update
templates/index.htmlfor structural changes
The application can be deployed to various platforms:
- Create a new Web Service
- Connect your repository
- Set build command:
pip install -r requirements.txt - Set start command:
gunicorn app:app
- Heroku
- PythonAnywhere
- AWS Elastic Beanstalk
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Font Awesome for icons
- Google Fonts for the Inter font family
- Flask community for the excellent web framework
