setkyar / ask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ask

OpenAI via cli. Make it easer to chat with OpenAI.

Installation

Go to release page and put binary file under /usr/local/bin and you should be able to ask question by typing ask on your CLI. Initially, it will ask you fill up the OpenAI API key which is store under $HOME/.openai.

Example installation for Mac

wget https://github.com/setkyar/ask/releases/download/v1.0.0/ask-darwin-amd64-1.0.0
chmod +x ask-darwin-amd64-1.0.0
sudo mv ask-darwin-amd64-1.0.0 /usr/local/bin/ask

rm ask-darwin-amd64-1.0.0

After that you should be able to type and ask via cli. For inital, you will need to register and get OpenAI (API Key).

image

About


Languages

Language:Go 75.4%Language:Makefile 20.9%Language:Dockerfile 3.7%