Contextualise on GitLab
A dependency-light Java 25 CLI that analyses text and reports statistics — word/sentence/paragraph counts, character counts, estimated LLM tokens, reading time, and a Flesch–Kincaid readability score. Ships as a fast GraalVM native image or a tiny
jlinkruntime.
# GitLab clone
git clone https://gitlab.com/duncode/contextualise.git
# Gradle build native-image
./gradlew :core:nativeCompile
# Move binary to PATH
mv core/build/native/nativeCompile/contextualise-nik ~/local/bin/
# Kakoune text editor
map global user 'c' -docstring "Count words,sentences,paragraphs,lines,tokens" \
%{: info %sh{ printf '%s' "$kak_selections" | contextualise-nik }<ret>}
