robbrad/Generate llms.txt Files from markdown
Automatically generates llms.txt and llms-full.txt from markdown files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| input-directory | Directory containing markdown files | no | . |
| output-directory | Directory where llms.txt files will be generated | no | . |
| base-url | Base URL for generating links (e.g., https://example.com) | yes | — |
| project-name | Project name for the H1 header | yes | — |
| project-description | Short summary for the blockquote section | no | "" |
| exclude-pattern | Glob pattern for files to exclude (e.g., "**/node_modules/**") | no | "" |
| commit-changes | Whether to commit generated files | no | false |
| sections | JSON object mapping section names to directory patterns (e.g., {"Docs": "docs/**", "Examples": "examples/**"}) | no | {"Docs": "**"} |
Outputs
| name | description |
|---|---|
| files-processed | Number of markdown files processed |
| llms-txt-path | Path to the generated llms.txt file |
| llms-full-txt-path | Path to the generated llms-full.txt file |