diff --git a/README.md b/README.md index d3acf48ede3ecf9873a2c516c4e72c1e3f6c94e8..31cf95cd14464767464ca1d53f22d39261ad5614 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,12 @@ A lightweight bash script for querying AI models via the OpenRouter API, optimiz # Clone and setup git clone https://github.com/yourusername/ask.git cd ask + chmod +x ask +sudo cp ask /usr/local/bin/ + -# Set your API key +# Make sure you have you OpenRouter API key export OPENROUTER_API_KEY="your-api-key-here" # Test it @@ -18,36 +21,17 @@ export OPENROUTER_API_KEY="your-api-key-here" grep -vFf file2 file1 > file3 && mv file3 file1 -[inception/mercury-coder via Inception - 0.86s - 20.9 tok/s] +[inception/mercury-coder via Inception - 0.66s - 20.9 tok/s] ``` -## Installation - -### Option 1: Using install.sh -```bash -sudo ./install.sh -``` - -### Option 2: Manual installation -```bash -chmod +x ask -sudo cp ask /usr/local/bin/ -``` - -### Persistent API key setup - -Add to your shell profile (`~/.bashrc`, `~/.zshrc`, etc.): -```bash -export OPENROUTER_API_KEY="your-api-key-here" -``` +We also provide a handy install script. ## Usage ### Basic usage ```bash -ask "What is 2+2?" -ask "Write a Python hello world" +ask "ffmpeg command to convert mp4 to gif" ``` ### Model selection