kit-sdq / TimeSheetGenerator

TimeSheetGenerator is an application that checks and builds time sheet documents.
MIT License
23 stars 6 forks source link

Typst time sheet generator #163

Open Garmelon opened 2 months ago

Garmelon commented 2 months ago

Hi,

since I apparently have too much free time, I recreated the Arbeitszeitdokumentation form in typst. I added automatic total calculations as well as MiLoG and holiday validation. The current version can be found here. My version even supports negative carry from the previous month (which is not possible with TimeSheetGenerator through JSON at the moment).

If there is interest, I'd like to donate the code so other people than me can make use of it. As typst can be used as a Rust library, one could also write a small web server that consumes TimeSheetGenerator-style JSON and produces a PDF directly.

Garmelon commented 1 month ago

Such a web server implementation now exists: image image

It's written in Rust and can be deployed as a single binary. It only requires FreeSans (the font the typst template uses) to be installed on the host.