-
Notifications
You must be signed in to change notification settings - Fork 0
The Social Media Content Generator is a Flask-based web application that allows users to generate large batches of social media content with a single prompt using OpenAI's GPT-4o model. Simply enter a topic, and the app automatically creates.
License
Couchtr26/Content_Generator
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
🧰 Social Media Content Generator This project is a Flask-based web app that automatically generates multiple types of content for social media platforms using OpenAI's GPT-4o model. Users enter a topic and instantly receive: 25 Tweets 10 YouTube video titles 5 TikTok captions 5 Blog post starters The generated content is saved to CSV for easy export. 🚀 Features Web form interface via Flask Dynamic GPT-4o powered content generation CSV export functionality (Pandas) Environment-based API key management (dotenv) Fully local deployment (run on your own machine) ⚙ How It Works User submits a single topic. The app builds a multi-task prompt for GPT-4o. GPT-4o generates all requested content types. Output is rendered on the web page and exported to exports/output.csv. 🧮 Tech Stack Python Flask OpenAI API Pandas python-dotenv 📦 Installation 1️⃣ Clone Repository: bash Copy Edit git clone <your-repo-url> cd <your-repo-directory> 2️⃣ Install Dependencies: bash Copy Edit pip install -r requirements.txt 3️⃣ Set OpenAI API Key: Create a .env file in the project directory. Add your OpenAI key like this: bash Copy Edit OPENAI_API_KEY=your-api-key-here 4️⃣ Run Application: bash Copy Edit python app.py The app will launch locally at http://127.0.0.1:5000/. 📝 Files app.py — Main Flask application handling form input and CSV export generator.py — Core GPT content generation logic requirements.txt — All project dependencies
About
The Social Media Content Generator is a Flask-based web application that allows users to generate large batches of social media content with a single prompt using OpenAI's GPT-4o model. Simply enter a topic, and the app automatically creates.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published