3 ms·
Show HN: Talk to AI Models in Terminal
Hi everyone, nice to meet you and I am a newcomer of HN.
I have made a binary tool Aih that could communicate with Bard, ChatGPT, Claude, and Llama(HuggingChat) from the terminal. https://github.com/Databingo/aih https://github.com/Databingo/aih
Since CAPTCHA challenges and bots detecting have become increasingly difficult, I've changed my strategy from hacking the APIs to simulating a real browser's action. The tool first takes the logged-in cookies of Google, ChatGPT, Claude, and HuggingChat accounts from the real Chrome browser, then it opens an invisible instance of Chromium for communication, then displays the answers in terminal.
I think it's useful especially when I am researching some topics and need to compare answers of those AI models at the same time.
Feel free to test and welcome provide feedback!
- today072 3y agoHi! We have a milestone update that introduces a mini VI mode for editing the inspirational quests to AI models by just type .v, then you have hjkl, wbyd... and :ai to send question, :q cancel it. As a thought2source tool, we believe that the next generation of user interface would be LUI which stands for Language User Interface. With this insight we think that VI mode is a wonderful tool for editing the representation of the profound thought--our languages's writing form besides the living voice. Enjoy and welcome feedback:)
- deleted 3y ago[deleted]
- sshine 3y agoI might consider adding Kagi’s (paid) FastGPT. They have an API and it’s quite easy to use. I already switched some of my searching to CLI AI.
- today072 3y agoThank you for your suggestion. I checked the project and found that it's a bit expensive($1.5~15 per 1000 queries, 2023.8.21 https://help.kagi.com/kagi/api/fastgpt.html#pricing https://help.kagi.com/kagi/api/fastgpt.html#pricing) and we are "freelancers".