Skip to main content
Storage plugin · listing tai42/storage-local

Install

Permissions

Provides

local

Storage — Storage backend serving text and binary content from a local directory tree. Names one directory on the server’s own disk as the active storage provider. Every stored path resolves under one root, and a path that escapes it raises rather than reading outside. Select it in the manifest:
manifest.yml

Configuration

The root has no default: until STORAGE_LOCAL_ROOT_PATH is set, every storage call, list included, raises RuntimeError, so an unmounted or mistyped location never reads as an empty store. Set STORAGE_LOCAL_ROOT_PATH=./templates to keep files under the working directory’s templates/.

Quirks

Content types are inferred from the path suffix, because a filesystem records none.
Local storage is per-process state on one machine’s disk. A multi-replica fleet gives each replica its own copy — use S3 or GitHub instead.

See also