How mustafayildiran/lexudf works
LexUDF is an offline Chrome extension for preparing UYAP-compatible legal-document drafts. In the panel workflow, a user selects a template, fills or auto-fills its fields, reviews required fields and custom-text placeholders, then generates and downloads a .udf file. A separate UYAP Portal content script adds a download action that reads case details from the portal. The graph includes the six documented templates and shared document-generation layers; the portal implementation was read, but its internal wiring to the shared core is not established by the available reference index.
Main entry points: main.js Panel controller · index.js Template registry · builder.js Document builder · profiles.js Attorney profiles
Components 23
Panel workflow
- Panel controller
js/main.js - Form validation
js/core/form.js - UYAP auto-fill
js/core/otofill.js - Enforcement mapping
js/core/icraOtofill.js
Document templates
- Template registry
js/templates/index.js - Case review request
js/templates/inceleme.js - Authority certificate
js/templates/yetkiBelgesi.js - CMK registration
js/templates/cmkKayit.js - Debt objection
js/templates/icraItiraz.js - Reasoned judgment
js/templates/gerekceliKarar.js - Finalization request
js/templates/kesinlesme.js
UDF generation
- Document blocks
js/core/blocks.js - Document builder
js/core/builder.js - Placeholder resolver
js/core/placeholders.js - UDF XML writer
js/core/xml.js - UDF archive
js/core/zip.js - Filename utilities
js/core/utils.js
Portal integration
- Portal downloader
portal/content-uyap-sablon.js
Local profiles
- Attorney profiles
js/core/profiles.js - Chrome local storage
Other components
- Extension user
- UYAP Avukat Portal
- Downloaded UDF
Connections 27
- Extension user → Panel controller: uses panel
README.md - Panel controller → Template registry: selects template
js/main.js - Panel controller → Form validation: collects and validates
js/main.js - Panel controller → Document builder: builds document
js/main.js - Panel controller → Placeholder resolver: checks placeholders
js/main.js - Panel controller → UDF archive: packages document
js/main.js - Panel controller → Filename utilities: names download
js/main.js - Panel controller → Attorney profiles: initializes profiles
js/main.js - Panel controller → UYAP auto-fill: maps portal fields
js/main.js - UYAP auto-fill → Enforcement mapping: uses enforcement mapping
js/core/otofill.js - Template registry → Case review request: registers
js/templates/index.js - Template registry → Authority certificate: registers
js/templates/index.js - Template registry → CMK registration: registers
js/templates/index.js - Template registry → Debt objection: registers
js/templates/index.js - Template registry → Reasoned judgment: registers
js/templates/index.js - Template registry → Finalization request: registers
js/templates/index.js - Case review request → Document blocks: uses layout blocks
js/templates/inceleme.js - Authority certificate → Document blocks: uses layout blocks
js/templates/yetkiBelgesi.js - Debt objection → Document blocks: uses layout blocks
js/templates/icraItiraz.js - Document builder → Placeholder resolver: resolves custom text
js/core/builder.js - Document builder → UDF XML writer: writes XML
js/core/builder.js - Attorney profiles → Template registry: fills template fields
js/core/profiles.js - Attorney profiles → Chrome local storage: reads and writes
js/core/profiles.js - UDF archive → Downloaded UDF: produces archive
- Extension user → Portal downloader: uses portal action
README.md - UYAP Avukat Portal → Portal downloader: provides case details
README.md - Portal downloader → Downloaded UDF: offers UDF download
README.md