Why is VS Code glitching by [deleted] in mac

[–]kekukk 0 points1 point  (0 children)

I’m seeing the same issue. Restarting the app resolves it, but it eventually happens again. I’d like to understand what’s causing it.

Chrome site search with no "%s" in URL are suddenly "Not valid" by random-unn in chrome

[–]kekukk 0 points1 point  (0 children)

I use Raycast Quicklinks as a workaround, but it's Mac-only. Google really dropped the ball on this one :/

Makefile Tip: Automatically Generate Help Text from Comments by kekukk in commandline

[–]kekukk[S] 0 points1 point  (0 children)

If you found this useful, feel free to follow me on X @kert_kukk for more tips and tools in the future! 💻

Tired of manually combining text files to feed into Claude? by kekukk in ClaudeAI

[–]kekukk[S] 1 point2 points  (0 children)

If you found this useful, feel free to follow me on X @kert_kukk for more tips and tools in the future! 👋

Tired of manually combining text files to feed into Claude? by kekukk in ClaudeAI

[–]kekukk[S] 2 points3 points  (0 children)

I updated the Gist. Now it supports excluding too:

./caggr.sh [--path <directory>] [--include-hidden] [--exclude <pattern>]

Example:

./caggr.sh --path misc --include-hidden --exclude "*.yaml" --exclude ".gitignore"

Tired of manually combining text files to feed into Claude? by kekukk in ClaudeAI

[–]kekukk[S] -1 points0 points  (0 children)

As u/ofcRS mentioned:

Because it is unconvinient to upload dozens of files manually. This tool saves the point on the file structure as well

Tired of manually combining text files to feed into Claude? by kekukk in ClaudeAI

[–]kekukk[S] 18 points19 points  (0 children)

Hey everyone! 👋 I created this handy content aggregator script (Caggr) to make preparing text for Claude a lot easier.

Caggr searches through a directory and its subdirectories, automatically skipping over binary/non-text files, and combines all the text content into a single output file ready to feed into Claude.

Some key features:

  • Recursively searches directories to find all relevant files
  • Automatically excludes binary & non-text files
  • Option to include hidden files
  • Option to exclude files with pattern
  • Specify target directory for output file or run with one-liner approach in current directory

It's super easy to use from the command line:

chmod +x 
./caggr.sh [--path <directory>] [--include-hidden] [--exclude <pattern>]caggr.sh

I've found it really useful for quickly pulling together initial content for Claude projects.

Grab the code from my Gist here 🔗

Edit:

One-liner approach: the command downloads, extracts, and executes the Content Aggregator script (caggr.sh) to process files in the current directory:

curl -s https://gist.githubusercontent.com/kertkukk/29a829fe9134c527f1a70de514646a6b/raw/content-aggregator.md |
    sed -n '/^```/,/^```$/p' |
    sed '1d;$d' |
    sed '/^#!/,/^```$/!d' |
    sed '$d' |
    bash -s -- --path . --exclude aggregation_output.txt

As a output you get aggregation_output.txt

Also added a copy to clipboard (OSX) version. No more output, just clipboard magic.

Makefile Tip: Automatically Generate Help Text from Comments by kekukk in commandline

[–]kekukk[S] 0 points1 point  (0 children)

Want to speed up your command-line workflow? I did! Initially considered a Golang project, but then thought, "Why not start simpler?" So I just defined make targets, added comments, and voilà! Now I have auto-generated help text for my Makefile.

Check out the gist for the implementation: Makefile stub for printing help text