Skip to content

cachebag/sotto

sotto

dmeo.mov

sotto watches your git repo, sends diffs to an LLM API (e.g. OpenRouter), and surfaces a cached commit message in your shell when you commit.

Install

Nothing interesting here yet but I will set something up soon. Just clone the repo and run cargo install --path . and then sotto setup

Current state

I've only got a prototype working for the zsh side, and it is deliberately thin. Control is relenquished at the right time to allow for the cache entry to be surfaced. I just write a (very hacky) widget into your zsh config.

Biggest problems now are implementing an ipc. Right now it's just the filesytem, technically. Eventually, I'd like to setup a unix socket that can get us things like realtime status changes, on demand generation and the ability to covenant over multiple repos on a machine (that is, in a better fashion than simply spawning a sotto process against individual repos).

Please take a look at our issues for more details.

Fish, bash, etc. is all currently in development.

Contributing

Thank you for wanting to contribute. Please take a look at our contributing guide for more details.

License

Licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project shall be dual-licensed as above, without any additional terms or conditions.

About

The only good CLI for generated commit messages.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Contributing

Stars

Watchers

Forks

Releases

No releases published

Contributors