je4.github.io

gocfl / ocfl / extensions

View My GitHub Profile

Deutsch

Overview of the gocfl.toml Configuration File

The configuration file gocfl.toml is the central element for controlling complex processes in gocfl. It allows setting default values for commands and configuring the extensive functions of the submodules.

Here is an overview of the main sections of the file:

1. Infrastructure and Global Settings

2. Command Defaults

These sections define fallback values if they are not explicitly specified on the command line:

3. Submodules (The “Intelligence” of gocfl)

A large part of gocfl.toml is dedicated to the configuration of submodules that become active during the creation or update of objects:

Indexer ([Indexer])

This module extracts technical metadata. It uses various tools:

Thumbnail Generation ([Thumbnail])

Defines rules for automatically generating preview images for various file types (images, video, audio spectrograms, PDF). Here, external commands (like convert or ffmpeg) are configured with specific parameters.

Migration ([Migration])

This is a core feature for long-term archiving. It enables the automatic creation of derivatives in sustainable formats during the ingest process:

4. Extensions ([Extension])

Configuration for specific OCFL extensions, such as the integration of METS files for descriptive metadata.


Back to gocfl Usage Back to Table of Contents Next Topic: Initializing a Storage Root