Social Media Post Generator is a cutting-edge application built with the power of Nuxt3 and the OpenAI chatGPT API. This application takes any article link and generates engaging social media posts for Twitter and Facebook, effectively encapsulating the essence of the article for your audience. It also creates an image relevant to the article's context and title, enhancing the visual appeal of your social media posts.
Additionally, we have implemented a customer support bot to assist you and generate what you need within the app's context.
- Nuxt3
- Tailwind CSS
- OpenAI chatGPT API
- Cypress (for end-to-end testing)
preview.webm
A Chrome extension for this application is also available for use. It can be found in the 'extension' folder of this project.
Chrome Extension Preview:
extension.webm
To get the application up and running, you'll need an API key from OpenAI. Get it here.
-
Clone the repository to your local machine using
git clone
. -
Navigate to the project's root directory and install the necessary dependencies by running
npm install
. -
In the root directory, create a new file named
.env
and add your OpenAI API Key like so:NUXT_OPENAI_API_KEY=your_openai_api_key
-
You're all set! Now you can run the application using various commands (described below).
npm install
: This command installs all the required dependencies to run the application.npm run dev
: Runs the application in development mode. Open http://localhost:3000 to view it in your browser.npm run build
: This command builds the application for production to thebuild
folder.npm run preview
: After building the application usingnpm run build
, you can preview the production app using this command.npm run cypress:open
: Opens the Cypress end-to-end testing tool.
We appreciate your contributions! Please feel free to submit a pull request if you have something to add.
This project is licensed under the MIT License.
If you have any questions or suggestions, please feel free to reach out to us at @FADL285