Connectors

Local files connector

The humblest island: a folder.

In short

  • Reads UTF-8 text files from directories on the writer host.
  • Always a fixed connection; every listed reader token reads every file.

Configuration

[[sources]]
id = "handbook"
type = "local-files"
permissions = "fixed"
readers = ["grp:engineering"]       # one or more reader tokens

[sources.scope]
paths = ["/srv/docs"]               # one or more directories
include = ["**/*.md", "**/*.txt"]   # relative glob patterns; default ["**/*"]

There are no settings. Patterns use Python Path.match: they match from the end of the relative path; a leading **/ is also tried without that prefix. Do not assume arbitrary recursive ** glob semantics.

Documents

Limits

Edit this page on GitHub ↗