r/selfhosted • u/Equal_Ad_4821 • Aug 06 '26
Software Development I built OpenJornada: a self-hosted work-time clock for Spanish/EU labor-law compliance (AGPL-3.0, Docker)
Disclosure: I'm the developer.
In Spain, since RD-Ley 8/2019 every company must keep a daily, tamper-proof record of employees' working hours (clock in/out), keep it for 4 years, and make it available to the Labor Inspection. Most open-source time trackers (Kimai, etc.) don't cover that legal side natively, and the tools that do are proprietary SaaS. So I built OpenJornada.
What it does: employees clock in/out from a web PWA or a shared device; records are immutable and SHA-256-hashed; workers digitally sign their monthly hours; admins handle correction requests with an audit trail and export CSV/Excel/PDF reports for inspections. There are also automatic SMS reminders for missed clock-outs.
Stack: FastAPI + MongoDB API, Next.js admin panel, React PWA for workers. All Docker. Self-host it for free under AGPL-3.0 — code: github.com/openjornada
Honest note: there's also a managed cloud option (paid) for companies that don't want to self-host, but the whole thing is open source and self-hostable with no per-employee limits.
Happy to answer questions or hear feedback — especially from anyone dealing with EU work-time regulations.
•
u/asimovs-auditor Aug 06 '26 edited Aug 06 '26
Expand the replies to this comment to learn how AI was used in this post/project.
2
u/Traditional_Wafer_20 Aug 07 '26
How would the records be tamper proof if I am the admin ? Sure I can make MongoDB mutable again, hash a new record and save it to DB again
6
u/hypertesto Aug 06 '26
I never worked on tamper-proof technologies... Seems very interesting: I'll study the repo ;-)
1
u/SnipeScooter Aug 07 '26
Did you use AI to build this?
1
u/depob Aug 06 '26
looks promising! I'll consider switching to the self hosted version
1
u/cabrerenc Aug 06 '26
Tomo nota para mirarlo a la vuelta. Felicidades, tiene muy buena pinta!
-2
u/ctjameson Aug 06 '26 edited Aug 07 '26
Side note: I’d hate this so much. Being salary is the best thing for my brain. I come and go as I please when I want to instead of being forced to work rigid hours where I may not perform worth a crap in that specific window.
Edit: I love getting downvoted for being an adult that can keep up with their own work hours instead of being treated like a child and forced to clock in and out at exact times of the day. If that works for you, I’m happy for you. But in the meantime I’m going to continue to be on salary and work the hours I want because I have a good employer and work the hours I’m paid for.
1
u/[deleted] Aug 06 '26
[removed] — view removed comment