main 1c21c443f873 cached
2 files
2.7 KB
941 tokens
1 requests
Download .txt
Repository: emadshanab/Gf-Patterns-Collection
Branch: main
Commit: 1c21c443f873
Files: 2
Total size: 2.7 KB

Directory structure:
gitextract_koko7vj5/

├── README.md
└── set-all.sh

================================================
FILE CONTENTS
================================================

================================================
FILE: README.md
================================================
gfx will make easier to manage gf patterns its a forked updated version of tomonnom's gf:<br>
```go install github.com/dwisiswant0/gfx@latest```

`./set-all.sh` will set all the gf patterns from the repo list bellow to your path `"$HOME/.gf"`

https://github.com/tomnomnom/gfdecos

https://github.com/r00tkie/grep-pattern

https://github.com/mrofisr/gf-patterns

https://github.com/robre/gf-patterns

https://github.com/1ndianl33t/Gf-Patterns

https://github.com/dwisiswant0/gf-secrets

https://github.com/bp0lr/myGF_patterns

https://github.com/cypher3107/GF-Patterns

https://github.com/Matir/gf-patterns

https://github.com/Isaac-The-Brave/GF-Patterns-Redux

https://github.com/arthur4ires/gfPatterns

https://github.com/R0X4R/Garud

https://github.com/cypher3107/GF-Patterns

https://github.com/seqrity/Allin1gf

https://github.com/Jude-Paul/GF-Patterns-For-Dangerous-PHP-Functions

https://github.com/NitinYadav00/gf-patterns

https://github.com/scumdestroy/YouthCrew-GF-Patterns


================================================
FILE: set-all.sh
================================================
#!/bin/bash

# Set the target directory for the gf-patterns
mkdir -p "$HOME/.gf"
TARGET_DIR="$HOME/.gf"

# Clone each repository and search for JSON patterns
for repo in \
    "https://github.com/tomnomnom/gfdecos" \
    "https://github.com/r00tkie/grep-pattern" \
    "https://github.com/mrofisr/gf-patterns" \
    "https://github.com/robre/gf-patterns" \
    "https://github.com/1ndianl33t/Gf-Patterns" \
    "https://github.com/dwisiswant0/gf-secrets" \
    "https://github.com/bp0lr/myGF_patterns" \
    "https://github.com/cypher3107/GF-Patterns" \
    "https://github.com/Matir/gf-patterns" \
    "https://github.com/Isaac-The-Brave/GF-Patterns-Redux" \
    "https://github.com/arthur4ires/gfPatterns" \
    "https://github.com/R0X4R/Garud" \
    "https://github.com/cypher3107/GF-Patterns" \
    "https://github.com/seqrity/Allin1gf" \
    "https://github.com/Jude-Paul/GF-Patterns-For-Dangerous-PHP-Functions" \
    "https://github.com/NitinYadav00/gf-patterns" \
    "https://github.com/scumdestroy/YouthCrew-GF-Patterns"
do
  # Check if the repository is public
    if curl -s -I "$repo" | grep -q "HTTP/.* 200"; then
        # Clone the repository with --depth 1 option to only download the latest commit
        echo "Cloning $repo"
        git clone --depth 1 "$repo"

        # Search for JSON patterns recursively
        find . -name "*.json" -exec mv {} "$TARGET_DIR" \; 2>/dev/null
        find . -name "*.JSON" -exec mv {} "$TARGET_DIR" \; 2>/dev/null
        find . -name "*.geojson" -exec mv {} "$TARGET_DIR" \; 2>/dev/null
        find . -name "*.GeoJSON" -exec mv {} "$TARGET_DIR" \; 2>/dev/null

        # Remove the cloned repository
        echo "Removing $repo"
        rm -rf $(basename "$repo")
    else
        echo "$repo is no longer public or has been deleted, skipping."
    fi
done
Download .txt
gitextract_koko7vj5/

├── README.md
└── set-all.sh
Condensed preview — 2 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3K chars).
[
  {
    "path": "README.md",
    "chars": 985,
    "preview": "gfx will make easier to manage gf patterns its a forked updated version of tomonnom's gf:<br>\n```go install github.com/d"
  },
  {
    "path": "set-all.sh",
    "chars": 1817,
    "preview": "#!/bin/bash\n\n# Set the target directory for the gf-patterns\nmkdir -p \"$HOME/.gf\"\nTARGET_DIR=\"$HOME/.gf\"\n\n# Clone each re"
  }
]

About this extraction

This page contains the full source code of the emadshanab/Gf-Patterns-Collection GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 2 files (2.7 KB), approximately 941 tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!