Code Monkey home page Code Monkey logo

aih's Introduction

Talk to AI models in terminal.

screenshot

Usage

Download binary file then type:

./aih

Command list

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

Prerequisites

Tips

  • 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.

screenshot

Supported OS

  • Mac/Linux/Windows

Installation

$ git clone https://github.com/Databingo/aih
$ go clean -cache && go clean -modcache 
$ cd aih && go mod tidy && go build 

Acknowledgements

  • 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

License

MIT and "You can choose not to include this MIT license into your copies".

aih's People

Contributors

databingo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.