OPEN_SOURCE ↗
HN · HACKER_NEWS// 14d agoOPENSOURCE RELEASE
Spanish legislation hits Git with 27,000+ commits
legalize-es turns Spain's consolidated state legislation into a Git repository, treating each reform as a commit since 1960. It gives legal researchers standard developer tools like git diff and git log for exploring that history.
// ANALYSIS
Treating law as version-controlled code is a game-changer for transparency and automated legal research.
- –By mapping legal reforms to commits, users can visualize the exact evolution of any law with standard developer tools
- –The project demonstrates the power of AI-assisted engineering, having been built in just 4 hours using Claude Code
- –While highly effective for Spain's Civil Law system, its utility in Common Law jurisdictions (like the US) would require additional mapping of judicial precedents
- –Provides a clean, structured foundation for fine-tuning legal LLMs and building automated compliance monitoring systems
- –Open sourcing this data challenges the gatekeeping of paid legal databases and sets a precedent for digital government transparency
// TAGS
legalize-esgitopen-sourcelegaltechdata-tools
DISCOVERED
14d ago
2026-03-28
PUBLISHED
14d ago
2026-03-28
RELEVANCE
6/ 10
AUTHOR
enriquelop