{"id":15043293,"url":"https://github.com/vivid-money/elmslie","last_synced_at":"2025-04-05T08:05:22.851Z","repository":{"id":37049499,"uuid":"328970240","full_name":"vivid-money/elmslie","owner":"vivid-money","description":"Kotlin TEA/ELM implementation with first class android support","archived":false,"fork":false,"pushed_at":"2025-01-10T12:30:05.000Z","size":941,"stargazers_count":116,"open_issues_count":4,"forks_count":14,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-29T07:04:28.867Z","etag":null,"topics":["android","android-library","elm","elm-architecture","functional-reactive-programming","java","java-8","kotlin-android","mvi","mvi-android","mvi-architecture","rxandroid","state-management"],"latest_commit_sha":null,"homepage":"https://github.com/vivid-money/elmslie","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vivid-money.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}},"created_at":"2021-01-12T11:48:30.000Z","updated_at":"2025-03-09T05:05:12.000Z","dependencies_parsed_at":"2023-02-19T05:55:18.564Z","dependency_job_id":"e75371ba-42da-4ae8-9526-61c3e9b09f37","html_url":"https://github.com/vivid-money/elmslie","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivid-money%2Felmslie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivid-money%2Felmslie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivid-money%2Felmslie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivid-money%2Felmslie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vivid-money","download_url":"https://codeload.github.com/vivid-money/elmslie/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305933,"owners_count":20917208,"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","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":["android","android-library","elm","elm-architecture","functional-reactive-programming","java","java-8","kotlin-android","mvi","mvi-android","mvi-architecture","rxandroid","state-management"],"created_at":"2024-09-24T20:48:49.026Z","updated_at":"2025-04-05T08:05:22.818Z","avatar_url":"https://github.com/vivid-money.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Elmslie](https://user-images.githubusercontent.com/16104123/104534649-b5defa80-5625-11eb-98b6-d761623f8964.jpeg)\n[![](https://jitpack.io/v/diklimchuk/test.svg)](https://jitpack.io/#diklimchuk/test)\n\n[![Maven Central Version](https://img.shields.io/maven-central/v/money.vivid.elmslie/elmslie-core)](https://central.sonatype.com/artifact/money.vivid.elmslie/elmslie-core)\n[![License badge](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nElmslie is a minimalistic reactive implementation of TEA/ELM written in kotlin with java support.  \nNamed after [George Grant Elmslie](https://en.wikipedia.org/wiki/George_Grant_Elmslie), a Scottish-born architect.\n\n## Why?\n- **Scalable and Reusable**: Built-in support for nesting components\n- **Multiplatform**: Written with pure Kotlin and Coroutines, supports KMP (Android, iOS, JS)\n- **Single immutable state**: Simplify state management\n- **UDF**: Say no to spaghetti code with Unidirectional Data Flow\n\n## Documentation\nThis is a visual representation of the architecture:\n\u003cp\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/16104123/115949827-40b27980-a4e0-11eb-85dc-03a7073e3127.png\" width=\"500\"\u003e\n\u003c/p\u003e\n\n\n\nFor more info head to the [wiki](https://github.com/vivid-money/elmslie/wiki)\n\n## Samples\nSamples are available [here](https://github.com/vivid-money/elmslie/tree/publish-elmslie-3.0/samples)\n- Basic loader for android: [link](https://github.com/vivid-money/elmslie/tree/publish-elmslie-3.0/samples/coroutines-loader)\n- Pure kotlin calculator: [link](https://github.com/vivid-money/elmslie/tree/publish-elmslie-3.0/samples/kotlin-calculator)\n\n## Download\nLibrary is distributed through Maven Central\n\n#### Add repository in the root build.gradle\n```kotlin\nallprojects {\n    repositories {\n        mavenCentral()\n    }\n}\n```\n\n#### Add required modules:\n- Core - for pure kotlin ELM implementation\n\n`implementation 'money.vivid.elmslie:elmslie-core:{latest-version}'`\n\n- Android - for android apps only, simplifies lifecycle handling  \n\n`implementation 'money.vivid.elmslie:elmslie-android:{latest-version}'`\n\n\n## Related articles\n- Why did we select ELM? ([Russian](https://habr.com/ru/company/vivid_money/blog/534386/), [English](https://medium.com/@klimchuk.daniil/how-we-chose-presentation-layer-architecture-and-didnt-regret-it-bc694cab3e80))\n- What is ELM architecture? ([Russian](https://habr.com/ru/company/vivid_money/blog/550932/))\n- How to use our library? ([Russian](https://habr.com/ru/company/vivid_money/blog/553232/))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvivid-money%2Felmslie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvivid-money%2Felmslie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvivid-money%2Felmslie/lists"}