Coder Social home page Coder Social logo

terminalgpt's Introduction

TerminalGPT logo

TerminalGPT logo TerminalGPT logo TerminalGPT logo TerminalGPT logo

Get GPT like chatGPT on your terminal

Screenshot 2023-01-05 at 09 24 10

terminalGPT - Use OpenAi like chatGPT, on your terminal | Product Hunt

Pre-requisite

You'll need to have your own OpenAi apikey to operate this package.

  1. Go to https://beta.openai.com/
  2. Select you profile menu and go to Manage API Keys
  3. Select + Create new secret key
  4. Copy generated key

Get Started

Using tgpt

npm -g install terminalgpt

or

yarn global add terminalgpt

Run

tgpt chat

ps.: If it is your first time running it, it will ask for open AI key , paste generated key from pre-requisite steps

Changing engine and temperature

tgpt chat --engine "text-davinci-002" --temperature 0.7

Changing api key

It you are not satisfy or added a wrong api key , run

tgpt delete

Using with npx


npx terminalgpt

Run

npx terminalgpt chat

ps.: If it is your first time running it, it will ask for open AI key , paste generated key from pre-requisite steps

Changing engine and temperature

npx terminalgpt chat --engine "text-davinci-002" --temperature 0.7

Changing api key

If you are not satisfied or entered a wrong api key, run

npx terminalgpt delete

๐Ÿ˜Ž Contribute your first spec in < 3 minutes

Use the steps below:


Steps

  1. Click here to fork this repo.

  2. Clone your forked repo and create an example spec

    # Replace `YOUR_GITHUB_USERNAME` with your own github username
    git clone https://github.com/YOUR_GITHUB_USERNAME/terminalGPT.git terminalGPT
    cd terminalGPT
    
    # Add jucasoliveira/terminalGPT as a remote
    git remote add upstream https://github.com/jucasoliveira/terminalGPT.git
    
    # Install packages
    npm install
    
  3. On your terminal, type npm run chat. Your terminalGPT will start. ๐Ÿ˜Š


Extra / Remove from your computer

'npx terminalgpt' doesn't install the terminalgpt package, instead it downloads the package to your pc and directly executes it from the cache.

You can find the package using

ls ~/.npm/_npx/*/node_modules

To delete the package, you can use

rm -r ~/.npm/_npx/*/node_modules/terminalgpt

โœจ Contributors

terminalgpt's People

Contributors

jucasoliveira avatar thanhsonng avatar zerodotnet avatar alsey89 avatar tommy-quitt 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.