Giter Site home page Giter Site logo

needto's Introduction

Needto

PyPI - Version PyPI - Python Version

Needto have an AI assistant in your command line?

needto is an AI-powered assistant for the command line, designed to help you with various tasks such as finding and running commands, answering questions by analyzing command outputs, and writing code snippets. It suggests solutions and makes it easy to apply them in your environment. With needto, you can select and run recommended commands safely.

Installation

To install needto, use pipx:

pipx install needto

Configuration

After installation, configure needto by running:

needto config

Needto leverages Groq to run Meta's Llama3 language models. To get started, you'll need a Groq API key (Groq).

Usage

1. Find and Run a Command

Use needto do to find and run commands effortlessly. Simply describe what you need to do, and needto will provide a list of CLI commands for you to choose from. You can then edit the command further if necessary before executing it.

Example:

needto do "kill process on port 8000"

2. Ask Questions

Ask needto ask questions about your system. It will help you find answers by suggesting commands to explore and analyzing the outputs of those commands. Note that, in this case, needto will prioritize safety and avoid recommending commands that could modify your system state. You always remain in full control of what gets executed on your computer.

Example:

needto ask "how many programs I have installed on my system?"

3. Write Code

Use needto write to generate code snippets. Describe the code you need, and needto will provide it along with necessary clarifications.

Example:

needto write "a python script that gets my public IP"

License

needto is distributed under the terms of the MIT license.

needto's People

Contributors

danialkeimasi avatar

Stargazers

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