{"id":25644019,"url":"https://github.com/clarius/openlaw","last_synced_at":"2025-07-31T04:08:34.258Z","repository":{"id":270642437,"uuid":"911006433","full_name":"clarius/openlaw","owner":"clarius","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-23T00:13:31.000Z","size":3442,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T02:25:27.691Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clarius.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-02T03:09:23.000Z","updated_at":"2025-05-17T19:44:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"16041ca7-33fa-473c-a8c4-2353f1a20d41","html_url":"https://github.com/clarius/openlaw","commit_stats":null,"previous_names":["kzu/infoleg","clarius/openlaw"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/clarius/openlaw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarius%2Fopenlaw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarius%2Fopenlaw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarius%2Fopenlaw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarius%2Fopenlaw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clarius","download_url":"https://codeload.github.com/clarius/openlaw/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarius%2Fopenlaw/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267985658,"owners_count":24176514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-23T07:29:45.674Z","updated_at":"2025-07-31T04:08:34.251Z","avatar_url":"https://github.com/clarius.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Icon](assets/img/icon.png) OpenLaw\n============\n\n[![tool](https://img.shields.io/endpoint?url=https://shields.kzu.app/v/dotnet-openlaw?f=https://clarius.blob.core.windows.net/nuget/index.json\u0026label=dotnet-openlaw\u0026color=blue)](https://clarius.blob.core.windows.net/nuget/index.json)\n[![lib](https://img.shields.io/endpoint?url=https://shields.kzu.app/v/clarius.openlaw?f=https://clarius.blob.core.windows.net/nuget/index.json\u0026label=Clarius.OpenLaw\u0026color=purple)](https://clarius.blob.core.windows.net/nuget/index.json)\n[![commands](https://img.shields.io/endpoint?url=https://shields.kzu.app/v/clarius.openlaw.commands?f=https://clarius.blob.core.windows.net/nuget/index.json\u0026label=Clarius.OpenLaw.Commands\u0026color=purple)](https://clarius.blob.core.windows.net/nuget/index.json)\n[![Build](https://github.com/clarius/openlaw/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/clarius/openlaw/actions)\n\nPlataforma de código abierto para normas de Argentina.\n\n## Instalación\n\n```\ndotnet tool install -g dotnet-openlaw --source https://clarius.blob.core.windows.net/nuget/index.json\n```\n\n## Uso:\n\n\u003c!-- include src/dotnet-openlaw/help.md --\u003e\n```shell\nUSAGE:\n    openlaw [OPTIONS] \u003cCOMMAND\u003e\n\nOPTIONS:\n    -h, --help    Prints help information\n\nCOMMANDS:\n    convert          Convierte archivos JSON a YAML, Markdown y PDF\n    format           Normaliza el formato de archivos JSON         \n    sync             Sincroniza contenido de SAIJ                  \n    syncitem \u003cID\u003e    Sincroniza un documento especifico de SAIJ    \n```\n\n\u003c!-- src/dotnet-openlaw/help.md --\u003e\n\n\u003c!-- include src/dotnet-openlaw/sync.md --\u003e\n```shell\nDESCRIPTION:\nSincroniza contenido de SAIJ\n\nUSAGE:\n    openlaw sync [OPTIONS]\n\nOPTIONS:\n                          DEFAULT                                               \n    -h, --help                           Prints help information                \n    -t, --tipo            Ley            Tipo de norma a sincronizar (ley,      \n                                         decreto, resolucion, disposicion,      \n                                         decision, acordada)                    \n    -j, --jurisdiccion    Nacional       Jurisdicción a sincronizar (nacional,  \n                                         internacional, local, federal)         \n    -p, --provincia                      Provincia a sincronizar (buenosaires,  \n                                         catamarca, chaco, chubut, caba,        \n                                         cordoba, corrientes, entrerios,        \n                                         formosa, jujuy, lapampa, larioja,      \n                                         mendoza, misiones, neuquen, rionegro,  \n                                         salta, sanjuan, sanluis, santacruz,    \n                                         santafe, santiagodelestero,            \n                                         tierradelfuego, tucuman)               \n    -c, --content-type    Legislacion    Tipo de contenido a sincronizar        \n                                         (legislacion, novedad)                 \n    -f, --filtro                         Filtros avanzados a aplicar (KEY=VALUE)\n        --vigente                        Mostrar solo leyes/decretos vigentes   \n        --dir                            Ubicación opcional archivos. Por       \n                                         defecto el directorio actual           \n        --changelog                      Escribir un resumen de las operaciones \n                                         efectuadas en el archivo especificado  \n        --appendlog                      Agregar al log de cambios si ya existe \n```\n\n\u003c!-- src/dotnet-openlaw/sync.md --\u003e\n\n\u003c!-- include src/dotnet-openlaw/convert.md --\u003e\n```shell\nDESCRIPTION:\nConvierte archivos JSON a YAML, Markdown y PDF\n\nUSAGE:\n    openlaw convert [file] [OPTIONS]\n\nARGUMENTS:\n    [file]    Archivo a convertir. Opcional\n\nOPTIONS:\n                       DEFAULT                                                  \n    -h, --help                    Prints help information                       \n        --dir                     Ubicación de archivos a convertir. Por defecto\n                                  '%AppData%\\clarius\\openlaw'                   \n        --overwrite               Sobreescribir archivos existentes. Por defecto\n                                  'false'                                       \n        --yaml         True       Generar archivos YAML. Por defecto 'true'     \n        --pdf          True       Generar archivos PDF. Por defecto 'true'      \n        --md           True       Generar archivos Markdown. Por defecto 'true' \n```\n\n\u003c!-- src/dotnet-openlaw/convert.md --\u003e\n\n\u003c!-- include src/dotnet-openlaw/format.md --\u003e\n```shell\nDESCRIPTION:\nNormaliza el formato de archivos JSON\n\nUSAGE:\n    openlaw format [OPTIONS]\n\nOPTIONS:\n    -h, --help    Prints help information                                       \n        --dir     Ubicación de archivos a formatear. Por defecto                \n                  '%AppData%\\clarius\\openlaw'                                   \n```\n\n\u003c!-- src/dotnet-openlaw/format.md --\u003e\n\n## WhatsApp API\n\nEl proyecto incluye integracion con WhatsApp for Business para consultas de contenido.\n\nPara usar la API de WhatsApp, es necesario tener una cuenta de WhatsApp Business y un \nnúmero de teléfono asociado. Ver [Devlooped.WhatsApp](https://github.com/devlooped/WhatsApp?tab=readme-ov-file#configuration) \npara más detalles de configuración específica de la API de WhatsApp.\n\n### CI/CD\n\nEl deployment esta configurado para ocurrir automaticamente en push a main.\n\nPara el deployment, debe configurarse el fork de este repo con las siguientes valores:\n\n* `AZURE_CREDENTIALS` *secret*: credenciales de Azure para el deployment de la API\n* `APP_NAME` *variable*: nombre de la app de Azure Functions a deployear, como variable de repo.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarius%2Fopenlaw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclarius%2Fopenlaw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarius%2Fopenlaw/lists"}