This tool can take a backup file from TeacherNotes and convert it to a nicely formatted PDF. This way the data doesn't have to be sent anywhere, you can do it locally on your device(s).
You need Java 21 or later to run this application. Please look here if you don't have it yet.
The first argument is required, it's the name of the backup file from TeacherNotes.
The second argument is optional: you can provide a target file name. If you don't use this argument,
the name of the source file, suffixed with a timestamp and the extension .pdf
, is used as target.
This could be used as a wrapper for the Java application (put it in the same directory as the JAR file):
#!/bin/sh
if [ -z "$1" ]; then
echo "no TeacherNotes backup file given"
exit 1
fi
DIR=$(dirname $(readlink -f "$0"))
PDF=$(echo "$1" | sed -e 's#.txt$##' -e 's#$#.pdf#')
java -jar "$DIR/teachernotes-extractor*.jar" "$1" "$PDF"