Giter VIP home page Giter VIP logo

heycli_client's Introduction

heyCLI

LLM powered command line. Uses GPT-3 davinci-003 as of last update. It works for Linux and MacOS only for now.

This tool Helps you use command line Terminal without need to remember commands or spend time searching Google and stackoverflow. See the demo below.

Website: https://heycli.com

If you find this useful or cool, please give this repo a star ⭐️ :)

how to install

  1. Go to your terminal and download the sh file from this repo
wget -q heycli_client.sh https://raw.githubusercontent.com/HeyCLI/heyCLI/main/heycli_client.sh -O ~/.heycli_client.sh
  1. Source the script, type in your terminal:
source ~/.heycli_client.sh
  1. Go grab an API token here: https://signup.heycli.com/

  2. Finally, set the HEYCLI_API_KEY environment variable in your terminal:

export HEYCLI_API_KEY=<token_you_got_in_step_3>
  1. (Optional) setup context for HeyCLI for improved answers and suggestions. Type:
hey setup

That's it, you should be able to use the "hey" command!

IMPORTANT

The setup command will upload your command history as is. We will add tooling to anonymise and clean the history from potential sensitive data in the future

Demo & use cases

alt text

In addition to simple command suggestions, you can do:

  1. In-terminal debugging of python, nodejs, kubectl, gcloud, aws and many other command errors. When you get an error, just type: hey debug the error above (or something like that, be creative!)

Example:

alt text

To activate this feature, you need to update your heycli_client.sh file. Get the new one from https://github.com/HeyCLI/heyCLI_client

To add a specific command to be debugged, all you need to do is add the command at the end of the heycli_client.sh file (don't forget to source it afterwards!):

alt text

  1. we attached HeyCLI to some commands so you can type "yes" to execute them.

Example:

alt text

Support

Encounter any issues? please open an issue or email me at [email protected]

Also, for timely updates, please follow @hadiazouni on Twitter

License

copyright © 2023 HeyCLI open source project

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

heycli_client's People

Contributors

abdelhadi-azouni 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.