To communicate with the ChatGPT API, I created standalone scripts without external modules.
Easy to customize and you don't have to rely on third-party developers.
The first script is a PowerShell script, the second is a Linux shell script (Working alpha Version).
I am open for further suggestions.
You can find your own API key here: https://openai.com/api/
Alternatively, ChatGPT can be operated via the following website: https://chat.openai.com/chat