Giter VIP home page Giter VIP logo

shell-ai's Introduction

ShellAI

A fantastic little AI Shell Assistant powered by GPT.

Turn natural language into shell commands, and ask open-ended questions!

Install

brew tap ibigio/ibigio
brew install shell-ai

or

curl https://raw.githubusercontent.com/ibigio/shell-ai/main/intsall.sh | bash

and set your OPENAI key (get one here) like so:

export OPENAI_API_KEY=[your key]

Usage

Type q followed by a description of a shell command you want to write!

Nice for beginners...

$ q make a new git branch
git checkout -b "new-branch"

...and those who forget how to use find, like me.

$ q find files that contain "administrative" in the name
find . -name "*administrative*"

You can get really specific too.

$ q print my local ip formatted like so "ip: [ip]" for mac
ifconfig | grep "inet " | grep -v 127.0.0.1 | awk '{print "ip: " $2}'

Or general.

$ q how do i set up a new nextjs project
To set up a new Next.js project, first make sure you have Node.js installed. Then, run the following command in your terminal:

npx create-next-app your-project-name

And deep.

$ q what is the meaning of life
42

More

By default this uses the gpt-3.5-turbo model, but if you want to use gpt-4 you can override like so:

export OPENAI_MODEL_OVERRIDE="gpt-4"

shell-ai's People

Contributors

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