Summarize Go, Python, C, C++, Rust, Java, Kotlin, Haskell, JavaScript or TypeScript projects as a Markdown or JSON document.
This makes it quick and easy to ie. copy several source files to the clipboard and then paste them into an AI / LLM frontend.
go install github.com/xyproto/codesum@latest
Run codesum
in the root directory of a project.
codesum -j | xclip -selection clipboard
codesum -j | pbcopy