di-sukharev / opencommit

Generate conventional git commit messages with AI in 1 second 🤯🔫
https://www.npmjs.com/package/opencommit
MIT License
5.98k stars 318 forks source link

[Feature]: Possible to use with Fork? #359

Closed YipingRuan closed 2 months ago

YipingRuan commented 2 months ago

Description

https://fork.dev/

Is it possible to integrate with Fork's custom command? The commit message generation is an interactive session, it is not obvious how to do it.

image

Suggested Solution

This is a question..

Alternatives

No response

Additional Context

No response

di-sukharev commented 2 months ago

opencommit is a cli that runs js under the hood, i dont use fork, you can try to test it by starting with oco hook set command sources in src/commands/githook.ts — this is integrated into vscode Source Control pipeline and prob can be used to embed into fork.dev