A repository serializer inspired by yek.
- Outputs pseudo-XML.
- Uses
sendfilefor blazingly fast performance. - Categorises files as
docs,srcorother(helps the model). - Respects
.gitignoreand.kekignore
cargo install --git https://github.com/koakuma-chan/kekSerialize the repository and write to the clipboard
kek | clip.exeAdd a task prompt
kek "Optimize code." | clip.exe # Adds <task>Optimize code.</task> at the end of the output.Debug which files are included
kek | grep -A2 "<path>"Configuration is managed via kek.toml. Alternatively, the path can be specified using the KEK_CONFIG environment variable.
# Example kek.toml (these aren't the defaults)
scan = [
"../migrations", # include shared SQL migrations
"." # include this project's files
]
[category]
# Globs for the 'docs' category.
# These are matched case-insensitively against relative file paths.
docs = [
"*.md",
"docs/**/*.txt",
"LICENSE"
]
# Globs for the 'src' category.
# Matched case-insensitively.
src = [
"*.rs",
"src/**/*.js",
"Makefile",
"**/.*.conf" # Example to match hidden .conf files
]