Giter Site home page Giter Site logo

terminal_chatgpt's Introduction

Terminal chatgbt installer for MacOS

this shell scripte will downlaod and install a program that you can run in your zshell or bash command line. it support only macos MacOSx64 architecture.

Screen Shot 2023-04-08 at 4 27 39 AM

How to install

Just clone this code in your Desktop:

git clone https://github.com/bahimzabir/terminal_chatgbt_installer.git

then run the shell script:

chmod 777 gptinstall.sh && ./gptinstall.sh

then close your terminal, and open a new one. make sure you are using zshell or bash, otherwise the program will not work .

Run The Program (important)

Please Read Carefully this section

to say "Hi" to chatgpt you can use the following command

chatgpt "Hi"

if you need to update the api key use:

chatgpt -k

please note that you may get an error and it will ask you for an api key, as the key provided with the program may be expired:

Please go to https://platform.openai.com/account/api-keys and click Create new secret key
then past your openAI api key here:
>>

read the following section to learn how to get an api key.

How to get an API Key

  1. login to your openAI account from here: https://platform.openai.com/account/api-keys
  2. make sure you still have cedits on your account from here: https://platform.openai.com/account/usage (if your credits are expired please create a new open ai account with a new phone number or buy more credits)
  3. if everything is okay go to : https://platform.openai.com/account/api-keys and click "Create new secret key" and copy the key.
  4. past the key the the chatgpt program.

Now you can ask chatgpt and it will work.

terminal_chatgpt's People

Contributors

bahimzabir avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.