Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Clai – OpenAI models brought to the terminal (github.com/baalimago)
9 points by baalimago 8 months ago | hide | past | favorite | 6 comments
Supports text and image generation. For text generation you can query, chat or enter a glob + a query. For any of the commands xargs-like argument replacement can be used.

It's written using only go's standard library (plus go experimental, within my boilerplate package)




This looks awesome. I like how clean it looks. I made something similar called Cha (https://github.com/MehmetMHY/cha) that supports image generation, answer search, and web scrapping.


Very cool! The way to swap between models and 'live configure' is neat, also the ascii picture previews.

I think the idea of a cli text/photo generator is so simple I think that anyone who is technically adept enough to appreciate it are also able to write a version of their own within a short amount of time.


This looks great -- I've been using https://github.com/ibigio/shell-ai (aliased to `q` ) but this looks even more apt for my use case. I use TypingMind for any real conversation with LLMs, but for quick answers in terminal, these kinds of tools are super useful.

I love the `ask` and `rask` shortcuts!

Would love support for Claude APIs :)


Thanks, I'm glad you like it! I plan on adding support for Claude whenever it available in Finland.


Awesome! I might open a PR for Gemini 1.5 in the meantime too, its huge context is awesome for dumping files into it


Heard from a friend that I can just VPN to USA and setup claude that way. With registration done, the account remains active (apparently). So my easter project will be to scale up clai to support multiple ai-model vendors with claude and also add midjourney/stable diffusion for photo generation.

Once that's setup, I'd highly appreciate your addition for gemini 1.5!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: