graphgarden 0.2.0

CLI for GraphGarden — crawl a site and generate its protocol file
graphgarden-0.2.0 is not a library.

GraphGarden CLI

CLI for GraphGarden — crawl a site and generate its protocol file.

Usage

# Build the graph from the default config (graphgarden.toml)
graphgarden build

# Use a custom config file
graphgarden build --config path/to/config.toml

Configuration

graphgarden.toml — at the project root.

friends = [
  "https://bob.dev/",
  "https://carol.dev/",
]

[site]
base_url = "https://alice.dev/"
title    = "Alice's Garden"
# description = "A blog about …"
# language    = "en"

[output]
dir = "./dist"    # default

[parse]
include = ["**/*.html"]            # default
exclude = ["admin/**"]
exclude_selectors = ["header", "footer", "nav"]   # CSS selectors to skip when extracting links

Development

Refer to CONTRIBUTING.md for development setup and workflow details.