jandinter
Joined 10 years ago
Joined 10 years ago
https://github.com/jandinter/gesetze-im-internet
I scrape the official website (https://www.gesetze-im-internet.de) once a week. The repository contains the "official" XML files with a formatting that is more focussed on presentation than on the logical structure of the legal acts, unfortunately (https://www.gesetze-im-internet.de/dtd/1.01/gii-norm.dtd).
Some time ago, someone from the digital service of Germany reached out and asked about my use case. Maybe there will be an official version of a "Git law" repo someday...
It is basically a timer for your breathing exercises, as the idea is that you inhale and exhale slowly, hold your breath in between, each step lasting 4 seconds.
I tried to make it as simple as possible, and to make it usable with old devices as well.
Parsing the legal acts with the tools you mention looks very interesting! Currently, I simply collect the published XML files whose structure is optimized for laying out the text and not so much for representing a structure of sections and subsections.
Inhale for four seconds, hold your breath for four seconds, exhale for four seconds, hold your breath for four seconds, and repeat...
Very simple. And yet, taking deep breaths helps you focus on your body and calms your mind. Try it out.
The website is very minimal on purpose – no tracking, no accounts, no newsletter banners, no tracking. Nevertheless, if you miss a feature, please leave a comment.
Worked on a “Git for Word” project [1], which is currently on hold.
The diff part was manageable, though not trivial to get diffs that make sense for prose/regular text.
The hard parts are UX/UI (making Git concepts transparent to “normal” users) and merging. Yet without automatic merging, branching is not very convenient.
Would love to collaborate on this in the future again. Reach out if you are working in this space, happy to share.
This! I think this would enable so many services that make the legal system more approachable for many people.
[1] Table of contents for XML files: https://www.gesetze-im-internet.de/gii-toc.xml
I wish this was available for legal texts, making it easy to jump from one law to the referenced next legal provision. Many legal provisions, especially in very regulated areas, make use of “functions” “imported” from other, totally different laws.
Sorry for being off-topic, but if anyone knows a resource for that, I am super interested!