Home

Awesome

ChatGPT-kodyfire

Version Documentation License: MIT

Interact with the unofficial ChatGPT API chatbot and export the conversation to Markdown, Text, MP3 and more using Kodyfire.

Homepage

Requirements

  1. kodyfire-cli to be installed
npm install -g kodyfire-cli
  1. Node version >= 18
  2. OPENAI_API_KEY in your .env file. head over to Openai to create a key if don't have one.
  3. TTS requires that you are authenticated using gcloud. You'll need a Google Cloud project with Text-To-Speech API enabled. Google Text-To-Speech guide

Install

npm i chatgpt-kodyfire

Usage

In order to generate your exports, run the generate command. As an example, run the following command from your terminal:

kody generate chatgpt:md topic-no-space

Available concepts

md

Initiate a new chat session and saves the output to an md file.

Usage
kody g chatgpt:md topic

text

Initiate a new chat session and saves the output to a text file.

Usage
kody g chatgpt:text topic

tts

Initiate a new chat session, save and reads out the response using Google Text-to-speech. The output is also saved to a text file. Requires a google cloud project with the text-to-speech API enabled. Also You need to login using the google cli gcloud auth application-default login

Usage
kody g chatgpt:tts topic
Arguments

📅 Future Features

Author

Anis Marrouchi

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

Credits

📝 License

Copyright © 2022 Anis Marrouchi.

This project is MIT licensed.


This README was generated with ❤️ by readme-kodyfire