mathisdt / teachernotes-extractor

convert a backup from the app TeacherNotes to a PDF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

license Build last released

TeacherNotes Extractor

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).

Prerequisites

You need Java 21 or later to run this application. Please look here if you don't have it yet.

Usage

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.

Example wrapper script

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"

About

convert a backup from the app TeacherNotes to a PDF

License:GNU General Public License v3.0


Languages

Language:Java 100.0%