Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/archive-pos/terminai

Generate cli commands with natural language
https://github.com/archive-pos/terminai

ai cli css gpt-3 javascript openai

Last synced: 3 months ago
JSON representation

Generate cli commands with natural language

Awesome Lists containing this project

README

        



# TerminAI

TerminAI is a simple, easy to use, and free CLI tool to generate CLI commands from your natural language.

[Support me](https://buymeacoffee.com/posandu) | [Star on GitHub](https://www.github.com/tronic247/terminai) | [Follow me on Twitter](https://www.twitter.com/posandu) | [Follow me on GitHub](https://www.github.com/posandu)

## Installation

You need to have Node.js v16 or higher installed on your system. You can download it from [here](https://nodejs.org/en/download/).

NOTE: You need an OpenAI API key to use TerminAI. You can get one from [here](https://beta.openai.com/).

```bash
npm install -g terminai
```

## Usage

You can use TerminAI in two ways:

1. Using the `terminai` command
2. Using the `tai` command

### Show help

```bash
terminai # or terminai help
```

### Run the interactive configuration

```bash
terminai config
```

### Generate a command

```bash
terminai "create a file named test.txt"
```

This will generate the command based on the configuration you have set.

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.