Skip to content

Small Go CLI to generate llm context markdown file with files contents.

Notifications You must be signed in to change notification settings

hightemp/go_project_context_maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Project Context Maker

Small Go CLI to generate llm context markdown file with files contents.

Quick usage

  • Create default config:
./gpcm -config config.yaml init
  • Generate output:
./gpcm -config config.yaml generate

Config (YAML)

Minimal example matching the requested behavior:

projectPath: "."
documents:
  - description: "Project structure overview"
    outputPath: project-structure.md
    sources:
      - type: tree
        sourcePaths:
          - src
          - migrations
          - templates
        filePattern: "*.php,*.twig"
        excludePaths:
          - vendor
          - node_modules
          - .git        
      - type: file
        sourcePaths:
          - src
          - migrations
          - templates
        filePattern: "*.php,*.twig"
        excludePaths:
          - vendor
          - node_modules
          - .git        

License

MIT

About

Small Go CLI to generate llm context markdown file with files contents.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published