ask4me
generate description of source file content and directory for AI Chat
How to use
- Install ask4me with
go install github.com/airylinus/ask4me@latest
- Create a new directory at home directory with name ".ask4me"
- Copy examples/prompts.yaml to.ask4me directory, and edit it to fit your needs.
- Run the following command in terminal:
ask4me pyqt5-ui-fix
Further more
You may want to use this tool by keyboard shortcut, for me at Windows 11 system I use AHK (AutoHotkey) for convenience. Here's the code:
#Requires AutoHotkey v2.0
; blow here is ctrl+j to run `ask4me client2-ui-fix`
^j::
{
ppressed := KeyWait("c", "DT0.2")
if (ppressed = 0) ; "c" pressed in 0.2 seconds
{
Run A_ComSpec " /c ask4me client2-ui-fix" ; change this line to fit your need
}
}
Save as shutcut-ask4me.ahk and run it with ahk, pres Ctrl + j + c will trigger the prompt genration. Then you can paste to anywhere you want.