by fernmyth on 5/26/25, 7:50 PM with 0 comments
#@
hi
Save it as foo.chat, run `$ chatfile foo.chat`, and watch the AI response appear at the end of the file.This turns out to be quite convenient! Text feels smoother in my editor than a webpage, and I can run it from a shortcut. I can prune history and retry as I like. Shell commands give the model exactly the context I choose.
I know there are other people like me on HN who demand close control over their tools. To broaden the audience, I've extended `chatfile` to use multiple model providers and sanded off some of the rough edges. I hope you find it useful!