Skip to content

Other exporters

copy

The copy exporter allows to copy the output database file to multiple different locations

Configuration

yaml
exporters:
  copy:
    paths:
      - path/to/first/location.json
      - path/to/second/location.json

localize

The localize exporter allows you to create localized versions of the database file where the content is no longer an object mapping language codes to content but simply one object directly.

For example, if you have a database with works translated in three languages, the localize exporter will create three different files, each containing the content of the works in one language.

Configuration

TODO

webhook

The webhook exporter allows you to send a POST request to an URL when the database is built. The body of the HTTP request will be the database, encoded as JSON.

Configuration

yaml
exporters:
  webhook:
    url: https://example.com/webhook
    headers: # optional, allows you to set headers for the request
      Authorization: Bearer $TOKEN # Environment variables are supported