Sign inSign up

fwdslsh/catalog

By fwdslsh

Updated about 1 year ago

Lightweight CLI that scans Markdown directories to generate llms.txt and index.json files

Image
0

1.9K

fwdslsh/catalog repository overview

Catalog Docker Image

A minimal Docker image for scanning Markdown and HTML documentation directories and generating:

  • llms.txt: Structured index of docs
  • llms-full.txt: Full concatenated content
  • index.json: Directory index JSON files

Usage

Run Catalog in Docker:

docker run --rm -v $(pwd):/docs fwdslsh/catalog:latest --input /docs --output /docs/build
Common Options
  • --input, -i <path>: Source directory of Markdown/HTML files (default: /docs)
  • --output, -o <path>: Destination directory for generated files (default: /docs)
  • --include <pattern>: Include files matching glob pattern
  • --exclude <pattern>: Exclude files matching glob pattern
  • --generate-index: Generate index.json files for navigation/metadata
  • --silent: Suppress non-error output
  • --help, -h: Show usage information
  • --version: Show current version

Example

docker run --rm -v $(pwd):/docs fwdslsh/catalog:latest --input /docs --output /docs/build --generate-index

Output Files

  • llms.txt: Structured index for LLMs
  • llms-full.txt: Full concatenated content
  • index.json (optional): Directory navigation metadata

Documentation

For full documentation and advanced usage, see:

Tag summary

Content type

Image

Digest

sha256:87edb4941

Size

94.4 MB

Last updated

about 1 year ago

docker pull fwdslsh/catalog