Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/archive-pos/terminai
- Owner: archive-pos
- Archived: true
- Created: 2023-01-22T05:44:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T10:23:08.000Z (almost 2 years ago)
- Last Synced: 2024-07-17T18:46:34.642Z (4 months ago)
- Topics: ai, cli, css, gpt-3, javascript, openai
- Language: TypeScript
- Homepage: https://terminai.tronic247.com/
- Size: 34.2 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- project-awesome - archive-pos/terminai - Generate cli commands with natural language (TypeScript)
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.