Important
This project is no longer maintained and has been deprecated. This means that I will not be providing any further updates, bug fixes, or support. You are welcome to use the code as-is, but I recommend forking the project if you want to make any changes.
- Create an account on OpenAI and get your API key.
- Copy
.env.exampleto.env. - Fill the
OPENAI_KEYandOPENAI_ORGvariables in.envwith your API key and organization ID. - Install the dependencies with
pnpm install. - Run the script with
pnpm start.
graph LR
A[User Input] --> B[OpenAI API]
B --> C[Text Generation]
C --> D[Generated Tweet]
example.mp4
OPENAI_KEY = "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
OPENAI_ORG = "org-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Note
You can find your API key and organization ID on OpenAI.
If you have any issues with the page please create new issue here
When submitting a pull request:
- Clone the repo.
- Create a branch off of master and give it a meaningful name (e.g. my-awesome-new-feature).
- Open a pull request on GitHub and describe the feature or fix.
This project is licensed under the MIT. See the LICENSE file for details