tAKITA is an annotation tool to display, create and edit annotations compliant to the W3C recommendation Web Annotation Data Model.
Currently, tAKITA's features are limited to image annotation, annotation of text data is in development. tAKITA is designed to run in stack with other components from the KIT Data Manager Ecosystem.
- KITDM base repo
- KITDM Web Annotation Protocol Server (other APIs compliant with Web Annotation Protocol may be applicable as well)
- Elasticsearch
- Java Runtime Environment 17 or higher
native installation guide TBD
As an alternative to native installation, the provided Dockerfile can be used for containerized installation. To setup tAKITA together with the necessary elasticsearch API, the docker-compose.yml
configuration can be used.
To use the docker setup, the following minimal environment variables are needed (for example provided by an .env file):
TAKITA_REPOURL=http://<some-repo>/
TAKITA_WAPURL=http://<some wadm server>/
TAKITA_SPARQLURL=http://<some wadm server...>/sparql?query=
Starting with Docker:
git clone https://github.com/kit-data-manager/takita.git
cd takita
docker compose up
java -jar takita-<version>.jar
-
buildIndex
The program will delete the old search index and rebuild it at the startup. -
updateIndex
(experimental)
The program will perform an index update. This will look for Annotations and Manuscripts that where added or modified after the last update or build of the index. -
scheduleIndex
(experimental) The program will schedule an index update. Per default the update will be at 03:00 every 5 days. These parameters can be customized with the following arguments:-
--hour=<myHour>
Perform the update at the specified hour. -
--dayInterval=<myDayInterval>
Perform the update at the given interval of days.
-
-
buildDevIndex
The program will delete the old search index and build a small one based on a few manuscripts.
This can be used for development purposes.--devIndex.size=<mySize>
Sets the size of the dev index and therefore how many manuscripts will be obtained. The default value is 5.
-
--server.port=<myPort>
Specify the port of the Spring server. The default port is8080
. -
--server.host=<myHost>
Specify the host of the Spring server. The default port islocalhost
.
-
--repository.baseUrl=<myBaseUrl>
(required, no default) Provide the URL to the manuscript repository. -
--repository.staticPath=<myStaticPath>
Override the default path to the manuscript repository. The default path isapi/v1/dataresources/
. -
--annotationStore.url=<myUrl>
(required, no default) Provide the url of the root annotation container. -
--sparqlQuery.urlPrefix=<myPrefix>
(required, no default) Provide url prefix of the sparql endpoint of the annotation store.
-
--elasticsearch.ip=<myIp>
(required, no default) Provide io/hostname for the elasticsearch server. -
--elasticsearch.port=<myPort>
Set a custom port for the elasticsearch server.
--spring.datasource.url=<myUrl>
Set a custom source url for user repository. The default source url isjdbc:h2:file:~/db/userdb
tAKITA is licensed under the Apache License, Version 2.0.
Development of this software product was funded by the German Research Foundation (DFG)—CRC 980 Episteme in Motion, Project-ID 191249397