The Clickbait Creator is a web application built with Flask that generates engaging clickbait content based on user input. Users can specify the topic, content type, platform, tone, and additional details to create tailored content. The application utilizes the Google AI API to generate high-quality text.
- User-friendly interface for generating clickbait content.
- Supports multiple content types (website and platform-specific).
- Customizable tone options (informative, casual, humorous, etc.).
- Responsive design for optimal viewing on various devices.
- Loading animation during content generation.
- Copy generated content to clipboard with a single click.
- Python
- Flask
- HTML/CSS
- JavaScript
- Google AI API
- dotenv for environment variable management
- Python 3.x
- pip (Python package installer)
-
Clone the repository:
git clone https://github.com/yourusername/clickbait-creator.git cd clickbait-creator -
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Create a
.envfile in the root directory and add your Google AI API key:GOOGLE_AI_API_KEY=your_api_key_here
-
Run the application:
python main.py
-
Open your web browser and navigate to
http://127.0.0.1:5000/. -
Fill out the form with the desired topic, content type, platform, tone, and any additional details.
-
Click the "Generate Clickbait" button to create your content.
-
The generated content will be displayed below the form, and you can copy it to your clipboard.
Contributions are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the developers of Flask and the Google AI API for providing the tools to create this application.

