Skip to content

zackenichi/chatgpt-adgen

Repository files navigation

Headline Generator

This is a web application that generates headlines and copies for digital advertisements based on website content. It utilizes the OpenAI API for text generation.

Technologies Used

  • React.js
  • Material-UI
  • Next.js
  • Node.js
  • OpenAI API
  • Cheerio
  • Node-fetch

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/headline-generator.git

  2. Navigate to the project directory:

    cd headline-generator

  3. Install the dependencies:

    npm install

  4. Set up environment variables:

    • Create a .env file
    • Change OPENAI_API_KEY= to your api key
    • Provide your OpenAI API key in the .env file.
  5. Usage

  • Start the development server: npm run dev
  • Open your browser and go to http://localhost:3000 to access the application.
  • Enter a URL in the search field and click the "Search" button to generate headlines and copies for digital advertisements based on the website content.
  • The generated headlines and copies will be displayed in the results section. Click the "Generate" button to cycle through different options.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published