saidsurucu

CLI tool for Turkish legislation (mevzuat.gov.tr). Designed for AI agents and programmatic use.

22
3
100% credibility
Found Mar 08, 2026 at 21 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A tool for searching, retrieving, and reading Turkish legislation documents, articles, tables of contents, and rationales from the official government website in easy-to-read Markdown format via simple commands.

How It Works

1
📚 Discover the Law Tool

You learn about a handy helper that makes finding Turkish laws and rules super easy right from your computer.

2
💻 Get It Ready

You place this simple tool on your computer with one quick action, no hassle involved.

3
🔍 Search for Laws

You enter words like 'ceza kanunu' or a topic, pick types like laws or decrees, and get a list of matches instantly.

4
🌟 Explore Matches

You see clear results with law names, numbers, dates, and links to dive deeper, feeling excited to find exactly what you need.

5
📖 Read Full Law or Parts

You pick a law to view its complete text, outline of sections, specific articles, or even the reasons behind it, all in easy-to-read format.

Understand Clearly

You now have the law text in simple, readable form, ready to use or share, making legal info accessible anytime.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 21 to 22 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 mevzuat-cli?

mevzuat-cli is a TypeScript CLI tool for querying Turkish legislation from mevzuat.gov.tr, outputting clean JSON to stdout for easy piping to jq or AI agents. Run commands like `search` with Solr syntax for full-text queries, `doc` for full Markdown docs, `article` for specific sections, `tree` for tables of contents, or `gerekce` for law rationales—no auth required. Install via `npm install -g mevzuat` and use on Linux, Ubuntu, Windows, or Mac like other CLI tools on GitHub.

Why is it gaining traction?

It delivers programmatic access to official Turkish laws without scraping, with advanced search (fuzzy, proximity, wildcards) and filters by type, date, or gazette—ideal for precise results. JSON + Markdown output hooks developers tired of messy HTML, enabling seamless CLI GitHub Actions workflows or agent integrations. Stands out in the niche of CLI tools for AI over generic Python or Rust alternatives.

Who should use this?

Turkish legal devs automating compliance checks or research scripts. AI builders piping laws into RAG agents via CLI tools GitHub repo. Compliance teams querying decrees on Linux servers or Windows desktops.

Verdict

Solid niche pick for Turkish law access—thorough docs and pipe-friendly design make it instantly usable. At 12 stars and 1.0% credibility, it's early-stage; prototype with it, but add your own error handling for production.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.