
Built a tool so I never have to manually log work hours again
We use Papierkram.de at work for time tracking. They have an API, sure but it's enterprise-only and we don't have that tier. So
I had to log in every day and type in my hours. Not the end of the world, just annoying enough to do something about it.
So over a few weekends I hacked together a Python script:
Weekend 1:
Playwright logs in, clicks through the tracker, books 8 hours. Works locally. In Docker? Nope – viewport was different,
buttons not clickable. Took way too long to figure out.
Weekend 2:
Added state tracking (what's already booked) so restarting doesn't double-book. Threw in holiday detection. Made a
backfill mode for when I was on vacation and forgot about it.
Weekend 3:
Dockerized it, wired up a systemd timer, decent logging. Been running since.
Nothing groundbreaking, but it saves me those 2 minutes of staring at a web form every day. Over a year that's like 8 hours of not
being annoyed.