Coder Social home page Coder Social logo

chatgpt-term's Introduction

chatgpt-term

python script to run gpt inside bash/zsh terminal

#README -- To run this python program you need to have the following modules installed either by pipx or your linux package manager:

1.  Python 3.6 or higher
 2.  openai    #a python library for interfacing with the OpenAI API
 3.  pyfzf     #a python library for fuzzy searching
 4.  rich      #a python library for rich text and beautiful formatting
 5.  pyperclip #a python library for copy and pasting to clipboard
 6.  dotenv    #a python library for loading environment variables from .env file
 7.  sys       #a python library for system-specific parameters and functions
 8.  os        #a python library for interacting with the operating system
 9.  threading #a python library for threading
 10. time      #a python library for time

You must have an OpenAI account for this program, and be sure that your OpenAIkey is export inside your .bashrc/.zshrc (or in your environment so that any shell you want could read it)

Then it's as easy as python chatgpt-term.py or rename it to "chatgpt" and place it inside your .local/bin folder, which should be in your $PATH -- if not export PATH=$PATH:/path/to/new/directory to add any directory ( in this case ~/.local/bin)

chatgpt-term's People

Contributors

dedguy21 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.