skohub-io / skohub-vocabs

A lightweight tool to publish SKOS Vocabularies
https://skohub.io/
Apache License 2.0
34 stars 25 forks source link

Enable basic configuration of UI and indexing via config file #185

Closed acka47 closed 1 year ago

acka47 commented 2 years ago

Possible things to be configured:

Questions:

sroertgen commented 2 years ago

Questions:

Should the config be mad per repo or per vocab?

Since a skohub-vocabs instance might host multiple vocabs I guess it makes sense to define this per vocab or give something like a default config if nothing is specified for a specific vocab. This might make implementation a little bit more difficult, but seems sensible.

What should the file look like? YAML?

I would actually favour TOML (https://toml.io/en/) over YAML, because it is easier to write and read for humans (easy for machines as well).

sroertgen commented 1 year ago
sroertgen commented 1 year ago

So to summarize the following options should be configurable:

tokenizer: see options https://github.com/nextapps-de/flexsearch/tree/0.6.32#tokenizer ui:

And I think I will use yaml though I thought about using toml.

@acka47 Do you want the fonts to be configurable as well or are colors and logo sufficent?

acka47 commented 1 year ago

Do you want the fonts to be configurable as well or are colors and logo sufficent?

Why not? As far as I can see, the only instance that customized the design (for test purposes) also adjusted the fonts: http://zpidvokabulare.surge.sh/index.de.html