iforget is a command-line interface tool that uses OpenAI's GPT-4 to convert user instructions into executable terminal commands. Who remembers every command anyway?
- Bun as the JavaScript runtime.
- An OpenAI API key.
To install dependencies, run:
bun install
Before using CLI-AI, you need to provide your OpenAI API key. The key will be requested upon your first run and stored locally at ~/.your_script_api_key
.
To run CLI-AI, use the following command with your instruction:
bun run index.ts "your instruction here"
The tool will generate a terminal command based on your instruction and execute it.
bun run index.ts "list all files in the current directory"
This project is licensed under the MIT License - see the LICENSE file for details.
Please submit a pull request if you would like to contribute to this project.