Only ChatGPT is supported for the moment. But I'm planning to support more models in the future.
brew tap pythops/tenere
brew install tenere
You can download the prebuilt binaries from the release page.
Otherwise, you can build from source. This requires Rust compiler and Cargo package manager.
Once Rust and Cargo are installed, run the following command to build:
cargo build --release
This will produce an executable file at target/release/tenere
that you can copy to a directory in your $PATH
.
You need to export the API key from OpenAI first.
export OPENAI_API_KEY="YOUTR KEY HERE"
There are two modes like vim: Normal
and Insert
.
To enter Insert
mode, You press i
. Once you're in, you can use:
Esc
: to switch back to Normal mode.
Enter
: to create a new line
Backspace
: to remove the previous character
When you launch tenere, it's in Normal
mode by default. In this mode, you can use:
Enter
: to submit the prompt
dd
: to clear the prompt.
ctrl+l
: to clear the prompt AND the chat.
Tab
: to switch the focus between the prompt and the chat history.
j
: to scroll down
k
: to scroll up
q
: to quit the app
h
: to show the help pop-up. You can dismiss the pop-up with Esc
- Highlight the chat messages
- Show the scroll bar
- Support more models
Big thanks to @orhun and @sophacles for their precious help 🙏
AGPLv3