EnriqueLop

EnriqueLop / legalize

Public

Legislation as code. Every law as a Markdown file. Every reform as a Git commit.

19
0
100% credibility
Found Mar 28, 2026 at 19 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
AI Summary

Legalize organizes official government legislation from countries like Spain into easy-to-read files with built-in history tracking for changes over time.

How It Works

1
🔍 Discover Legalize

You hear about Legalize, a free collection where every country's laws are saved like chapters in a book, so you can see how they change over time.

2
🌍 Pick your country

Visit the main Legalize page and choose a country like Spain to explore its full set of laws.

3
Get the laws
🇪🇸
Spain

Dive into over 8,600 Spanish laws already ready to explore.

Other countries

Wait a bit for France, UK, Germany, and more to arrive soon.

4
📖 Read a law

Open any law file and read the full, clear text just like a simple document.

5
🔄 See the changes

Easily check the history to discover exactly when and how the law was updated.

6
🔍 Compare versions

Spot the differences between old and new versions to understand reforms clearly.

Understand the law's story

You now have a complete picture of how the law evolved, making research simple and reliable.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 19 to 19 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is legalize?

Legalize stores legislation as Markdown files with YAML frontmatter, turning every law into a Git repo where reforms become commits. Clone a country's repo—like Spain's with 8,600+ laws—and use git log to track changes or git diff to see exact reform diffs, solving the pain of opaque official sources that bury version history. It's legislation code you version with standard Git tools, no proprietary formats needed.

Why is it gaining traction?

Unlike pricey commercial legal databases or static government PDFs, Legalize makes legislation code free and diffable, hooking devs who want to legalize it Peter Tosh-style by committing reforms like code. Git becomes your legal research CLI—grep articles, blame changes—while YAML metadata enables quick filtering by date or status. Open data from official bulletins stands out for building tools without scraping hassles.

Who should use this?

Legal tech developers scripting compliance checks or AI legal analyzers on versioned laws. Policy researchers and journalists tracking reforms, like législation code de la route changes via git history. EU devs integrating legislation code Oracle HCM-style workflows without vendor lock-in.

Verdict

Early alpha with 19 stars and 1.0% credibility score—docs are solid in the README, but wait for more countries and the API before production. Worth starring and forking for legalize wheelies on open legal data if you're prototyping now.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.