{"id":21451202,"url":"https://github.com/lenra-io/lenra_ui_runner","last_synced_at":"2026-02-06T03:02:51.288Z","repository":{"id":57763033,"uuid":"397187550","full_name":"lenra-io/lenra_ui_runner","owner":"lenra-io","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-05T12:28:59.000Z","size":2054,"stargazers_count":3,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"beta","last_synced_at":"2025-07-18T22:36:55.056Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lenra-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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},"funding":{"github":["lenra-io"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2021-08-17T09:18:54.000Z","updated_at":"2024-05-24T13:54:22.000Z","dependencies_parsed_at":"2023-02-19T05:46:02.453Z","dependency_job_id":"93b2cc30-c8b0-4e4c-b008-5aa119220d2c","html_url":"https://github.com/lenra-io/lenra_ui_runner","commit_stats":null,"previous_names":[],"tags_count":129,"template":false,"template_full_name":null,"purl":"pkg:github/lenra-io/lenra_ui_runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenra-io%2Flenra_ui_runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenra-io%2Flenra_ui_runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenra-io%2Flenra_ui_runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenra-io%2Flenra_ui_runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lenra-io","download_url":"https://codeload.github.com/lenra-io/lenra_ui_runner/tar.gz/refs/heads/beta","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenra-io%2Flenra_ui_runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29147393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-23T04:19:09.102Z","updated_at":"2026-02-06T03:02:51.274Z","avatar_url":"https://github.com/lenra-io.png","language":"Dart","funding_links":["https://github.com/sponsors/lenra-io"],"categories":[],"sub_categories":[],"readme":"\u003cdiv id=\"top\"\u003e\u003c/div\u003e\r\n\u003c!--\r\n*** This README was created with https://github.com/othneildrew/Best-README-Template\r\n--\u003e\r\n\r\n\r\n\r\n\u003c!-- PROJECT SHIELDS --\u003e\r\n[![Contributors][contributors-shield]][contributors-url]\r\n[![Forks][forks-shield]][forks-url]\r\n[![Stargazers][stars-shield]][stars-url]\r\n[![Issues][issues-shield]][issues-url]\r\n[![MIT License][license-shield]][license-url]\r\n\r\n\r\n\r\n\u003c!-- PROJECT LOGO --\u003e\r\n\u003cbr /\u003e\r\n\u003cdiv align=\"center\"\u003e\r\n\r\n\u003ch3 align=\"center\"\u003eLenra UI Runner\u003c/h3\u003e\r\n\r\n  \u003cp align=\"center\"\u003e\r\n    Implementation of the Lenra Component API in Dart with the Flutter framework.\r\n    \u003cbr /\u003e\r\n    \u003cbr /\u003e\r\n    \u003ca href=\"https://github.com/lenra-io/lenra_ui_runner/issues\"\u003eReport Bug\u003c/a\u003e\r\n    ·\r\n    \u003ca href=\"https://github.com/lenra-io/lenra_ui_runner/issues\"\u003eRequest Feature\u003c/a\u003e\r\n  \u003c/p\u003e\r\n\u003c/div\u003e\r\n\r\n## Lenra component system\r\n\r\n### LenraUiBuilder\r\nIt is a Stateful Widget which takes care of transforming the UI and Patchs into usable widget/properties : \r\n\r\n - It takes both streams (UI and Patch) as input \r\n\r\n - It builds the components **LenraWrapper**.\r\n - It manages the modification of the properties by the patch.\r\n\r\n - Notifies **LenraWrapper** when their properties change.\r\n - It knows all the properties and **LenraWrapper** of the app.\r\n - It displays the **LenraWrapper** corresponding to the \"root\" component of the UI.\r\n\r\n### LenraWrapper\r\nThis is the \"smart\" parent component of all Lenra display components.\r\n\r\n- It instantiates the display component according to the type.\r\n\r\n- It parses JSON properties into useful objects for the display component.\r\n\r\n## Running tests\r\n### Prerequisites\r\n\r\nYou need to generate the mockito mocks for the tests to properly run. This can be done by running the following command :\r\n\r\n```bash\r\nflutter pub run build_runner build\r\n```\r\n\r\n\u003c!-- CONTRIBUTING --\u003e\r\n## Contributing\r\n\r\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\r\n\r\nIf you have a suggestion that would make this better, please open an issue with the tag \"enhancement\".\r\nDon't forget to give the project a star if you liked it! Thanks again!\r\n\r\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\r\n\r\n\r\n\r\n\u003c!-- LICENSE --\u003e\r\n## License\r\n\r\nDistributed under the **MIT** License. See [LICENSE](./LICENSE) for more information.\r\n\r\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\r\n\r\n\r\n\r\n\u003c!-- CONTACT --\u003e\r\n## Contact\r\n\r\nLenra - [@lenra_dev](https://twitter.com/lenra_dev) - contact@lenra.io\r\n\r\nProject Link: [https://github.com/lenra-io/lenra_ui_runner](https://github.com/lenra-io/lenra_ui_runner)\r\n\r\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\r\n\r\n\r\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\r\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\r\n[contributors-shield]: https://img.shields.io/github/contributors/lenra-io/lenra_ui_runner.svg?style=for-the-badge\r\n[contributors-url]: https://github.com/lenra-io/lenra_ui_runner/graphs/contributors\r\n[forks-shield]: https://img.shields.io/github/forks/lenra-io/lenra_ui_runner.svg?style=for-the-badge\r\n[forks-url]: https://github.com/lenra-io/lenra_ui_runner/network/members\r\n[stars-shield]: https://img.shields.io/github/stars/lenra-io/lenra_ui_runner.svg?style=for-the-badge\r\n[stars-url]: https://github.com/lenra-io/lenra_ui_runner/stargazers\r\n[issues-shield]: https://img.shields.io/github/issues/lenra-io/lenra_ui_runner.svg?style=for-the-badge\r\n[issues-url]: https://github.com/lenra-io/lenra_ui_runner/issues\r\n[license-shield]: https://img.shields.io/github/license/lenra-io/lenra_ui_runner.svg?style=for-the-badge\r\n[license-url]: https://github.com/lenra-io/lenra_ui_runner/blob/master/LICENSE\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flenra-io%2Flenra_ui_runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flenra-io%2Flenra_ui_runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flenra-io%2Flenra_ui_runner/lists"}