Home Open Source Article

Spanish Legislation Now Versioned as Git Repository with 8,600+ Laws

TL;DR

Legalize-es mirrors Spain's entire consolidated legal code as Markdown files with full reform history since 1960, enabling programmatic access and version tracking.

Key Points

  • 8,600+ Spanish laws from BOE open data API with complete reform history since 1960
  • Each law is a Markdown file with YAML frontmatter; every reform tracked as individual Git commits
  • Upcoming Legalize API will enable searching, filtering, version comparison, and change notifications
  • All legislative content is public domain; repository structure and tools licensed under MIT

Why It Matters

This transforms legal research and compliance automation by providing version-controlled, machine-readable access to legislation. Developers can now build tools for legal analysis, track legislative changes programmatically, and integrate law updates into applications—previously requiring manual parsing of government databases.
View on GitHub

Source: github.com