commit | 3c58d0d0bf5c78e9188c7c945454f5271842d63e | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Mon Jan 02 13:35:41 2023 +0100 |
committer | Akron <nils@diewald-online.de> | Mon Jan 02 13:35:41 2023 +0100 |
tree | 9851df8768c4ed5363bcb15fa75100f9797c3c30 | |
parent | 03dc6aeb49e0e9b4aeebc3c685bfb0494bf0758f [diff] |
Inform in case no .env is defined Change-Id: I56f765f7d55733692a401399a9f41dee9bcda30a
Kalamar-Plugin-ExternalProvider is a web service that integrates in the plugin framework of Kalamar, to allow linking texts by their text sigle to external data providers, mainly for full text access.
Kalamar-Plugin-ExternalProvider is meant to be a basic plugin and should demonstrate and evaluate the plugin capabilities of Kalamar.
Go 1.19 or later
To build the latest version of Kalamar-Plugin-ExternalProvider, do ...
$ git clone https://github.com/KorAP/Kalamar-Plugin-ExternalProvider $ cd Kalamar-Plugin-ExternalProvider $ go test . $ go build .
The binary can be started without prerequisites. The templates
folder has to be kept in the root directory.
Registration of the plugin in Kalamar is not yet officially supported. Registration works by passing the JSON blob generated at /plugin.json
to the plugin registration handler.
The following environment variables can be set either as environment variables or via .env
file.
KORAP_SERVER
: The server URL of the hosting service.KORAP_EXTERNAL_PROVIDER_PORT
: The port the service should be listen to.KORAP_EXTERNAL_PROVIDER
: The exposed URL the service is hosted.Copyright (c) 2023, IDS Mannheim, Germany
Author: Nils Diewald
Kalamar-Plugin-ExternalProvider is developed as part of the KorAP Corpus Analysis Platform at the Leibniz Institute for the German Language (IDS).
Kalamar-Plugin-ExternalProvider is published under the BSD-2 License.