Download binary file then type:
./aih
Command | Operation |
---|---|
. | Select AI mode of Bard/ChatGPT/Claude(Claude2)/HuggingChat(Llama2) |
.proxy | Set proxy, for example: socks5://127.0.0.1:7890 |
<< | Start multiple lines input mode |
>> | End multiple lines input mode |
โ | Previous input |
โ | Next input |
.c or .clear | Clear the screen |
.h or .history | Show history of conversations |
j | Scroll down |
k | Scroll up |
g | Scroll to top |
G | Scroll to bottom |
q or Enter | Back to conversation |
.help | Show help |
.exit | Exit Aih |
- Chrome Browser
- Free account of Bard, Claude, OpenAI, HuggingChat logged-in manually on your Chrome browser.
- (Optional) Paid ChatGPT API on Billing.
- Close Chrome browser before run Aih at the first time. )
- More usage of command Liner.
- Answer will be auotmatically saved in system clipboard for pasting.
- Conversations were persisted in
history.txt
beside Aih binary. ./aih -rod=show
to display pages in real browser.- All-In-One mode will display answers from all the AI modes.
- Mac/Linux/Windows
$ git clone https://github.com/Databingo/aih
$ go clean -cache && go clean -modcache
$ cd aih && go mod tidy && go build
- github.com/rivo/tview
- github.com/peterh/liner
- github.com/gdamore/tcell/v2
- github.com/atotto/clipboard
- github.com/go-rod/rod
- github.com/go-rod/stealth
- github.com/tidwall/gjson
- github.com/tidwall/sjson
- github.com/manifoldco/promptui
- github.com/sashabaranov/go-openai
MIT and "You can choose not to include this MIT license into your copies".