saidsurucu

saidsurucu / udf-cli

Public

TypeScript CLI tool for converting between HTML/Markdown and UYAP UDF file format

15
1
100% credibility
Found Mar 15, 2026 at 13 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 converting between HTML, Markdown, and UDF, the document format used by Turkey's National Judiciary Informatics System.

How It Works

1
📰 Discover the tool

You hear about a handy converter that turns everyday formatted text into official Turkish court documents or vice versa.

2
📥 Get the converter

You easily add this simple tool to your computer so it's ready to use anytime.

3
✏️ Prepare your text

You write or open your content using familiar bold, italics, lists, tables, and even images, just like in a word processor.

4
Choose your goal
📤
Make court document

Turn your formatted text into the special UDF file for Turkish courts.

📥
Read court document

Change a court UDF file into simple editable text or web-friendly format.

5
Convert instantly

You run the quick switch, and your document transforms perfectly in seconds.

6
💾 Save the result

You save the new court-ready file or your easy-to-read version right where you need it.

🎉 Documents ready!

Now your files work seamlessly with the Turkish court system, saving you hours of hassle.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 13 to 15 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 udf-cli?

udf-cli is a TypeScript CLI tool for converting HTML or Markdown to UDF format—the ZIP-based XML standard used by Turkey's UYAP judiciary system—and back to HTML or Markdown. Pipe stdin to commands like `udf-cli html2udf - output.udf` for file-to-file, raw strings, or streaming workflows, with support for bold/italic, headings, lists, tables, images, and inline styles like colors and fonts. As a TypeScript CLI library, it also exposes async functions like `htmlToUdf` for programmatic use in Node.js apps.

Why is it gaining traction?

Its pipe-friendly design shines for AI agents and scripts, outputting clean Markdown from UDF for easier processing or HTML for web previews, without manual unzipping. Unlike generic converters, it maps CSS properties precisely to UDF quirks like rune-based offsets and ARGB colors, handling nested tables and base64 images out of the box. Developers grab it for quick TypeScript GitHub Actions or clipboard TypeScript pipelines in legal tech.

Who should use this?

Turkish legal software engineers integrating with UYAP, AI devs building document agents that ingest court files, or TypeScript GitHub repository maintainers automating UDF exports. Ideal for backend TypeScript clients generating reports from Markdown templates or reversing UDF for analysis tools.

Verdict

Solid docs and CLI ergonomics make it usable now, but 12 stars and 1.0% credibility score signal early maturity—test thoroughly for edge cases. Worth it for UDF needs; fork if your workflow demands more.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.