{"id":13607841,"url":"https://github.com/aartikov/Sesame","last_synced_at":"2025-04-12T14:31:18.301Z","repository":{"id":45892364,"uuid":"292022280","full_name":"aartikov/Sesame","owner":"aartikov","description":"Android architecture components made right","archived":false,"fork":false,"pushed_at":"2022-04-22T12:56:55.000Z","size":778,"stargazers_count":110,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T02:14:14.370Z","etag":null,"topics":["android","architecture","coroutines","mvi","mvvm","navigation","pagination","property","reactive-programming"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/aartikov.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}},"created_at":"2020-09-01T14:35:20.000Z","updated_at":"2024-10-24T07:42:40.000Z","dependencies_parsed_at":"2022-09-24T18:43:38.137Z","dependency_job_id":null,"html_url":"https://github.com/aartikov/Sesame","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aartikov%2FSesame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aartikov%2FSesame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aartikov%2FSesame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aartikov%2FSesame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aartikov","download_url":"https://codeload.github.com/aartikov/Sesame/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248581125,"owners_count":21128107,"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","architecture","coroutines","mvi","mvvm","navigation","pagination","property","reactive-programming"],"created_at":"2024-08-01T19:01:22.086Z","updated_at":"2025-04-12T14:31:16.874Z","avatar_url":"https://github.com/aartikov.png","language":"Kotlin","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"# Sesame\n[![Maven Central](https://img.shields.io/maven-central/v/com.github.aartikov/sesame-property)](https://repo1.maven.org/maven2/com/github/aartikov/sesame-property/)\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nSesame is a set of architecture components for Android development. It is based on modern technologies including coroutines and Flow. Sesame is simple to learn and easy to use. It is ideally suited for MVVM and MVI architectures.\n\nSome Sesame features are inspired by [RxPM](https://github.com/dmdevgo/RxPM) library.\n\n## Components\n[property](https://github.com/aartikov/Sesame/tree/master/sesame-property) - provides observable properties and one-time commands.  \n[dialog](https://github.com/aartikov/Sesame/tree/master/sesame-dialog) - allows to control dialogs from View Models.  \n[navigation](https://github.com/aartikov/Sesame/tree/master/sesame-navigation) - gives an universal way to navigate between screens.  \n[activable](https://github.com/aartikov/Sesame/tree/master/sesame-activable) - equips View Models with a very simple lifecycle.  \n[loading](https://github.com/aartikov/Sesame/tree/master/sesame-loading) - helps to manage state for data loading (including paged one).  \n[loop](https://github.com/aartikov/Sesame/tree/master/sesame-loop) - provides a simple MVI implementation.  \n[localized string](https://github.com/aartikov/Sesame/tree/master/sesame-localized-string) - helps to deal with string resources.  \n[form](https://github.com/aartikov/Sesame/tree/master/sesame-form) - provides input field validation.  \n[compose-form](https://github.com/aartikov/Sesame/tree/master/sesame-compose-form) - same as [form](https://github.com/aartikov/Sesame/tree/master/sesame-form) but for Jetpack Compose.  \n\nSesame components are separate modules. Use only that you like.\n\n## Gradle Setup\n```gradle\ndependencies {\n    implementation 'com.github.aartikov:sesame-property:1.5.0'\n    implementation 'com.github.aartikov:sesame-dialog:1.5.0'\n    implementation 'com.github.aartikov:sesame-navigation:1.5.0'\n    implementation 'com.github.aartikov:sesame-activable:1.5.0'\n    implementation 'com.github.aartikov:sesame-loading:1.5.0'\n    implementation 'com.github.aartikov:sesame-loop:1.5.0'\n    implementation 'com.github.aartikov:sesame-localized-string:1.5.0'\n    implementation 'com.github.aartikov:sesame-form:1.5.0'\n    implementation 'com.github.aartikov:sesame-compose-form:1.5.0'\n}\n```\n\n## Sample\n[The sample application](https://github.com/aartikov/Sesame/tree/master/sample) consists of several screens. Each screen demonstrates certain Sesame feature.\n\nCOUNTER - shows how to use properties and commands from [property](https://github.com/aartikov/Sesame/tree/master/sesame-property).  \nPROFILE - loads ordinary data with [loading](https://github.com/aartikov/Sesame/tree/master/sesame-loading).  \nDIALOGS - shows how to use [dialog](https://github.com/aartikov/Sesame/tree/master/sesame-dialog) and [localized string](https://github.com/aartikov/Sesame/tree/master/sesame-localized-string).  \nMOVIES - loads paged data with [loading](https://github.com/aartikov/Sesame/tree/master/sesame-loading).  \nCLOCK - shows how to use [activable](https://github.com/aartikov/Sesame/tree/master/sesame-activable).  \nFORM - validates input fields with [form](https://github.com/aartikov/Sesame/tree/master/sesame-form).  \nThe whole app - demonstrates [navigation](https://github.com/aartikov/Sesame/tree/master/sesame-navigation).  \n\nThere is no sample for [loop](https://github.com/aartikov/Sesame/tree/master/sesame-loop). See [LoadingLoop](https://github.com/aartikov/Sesame/blob/master/sesame-loading/src/main/kotlin/me/aartikov/sesame/loading/simple/internal/LoadingLoop.kt) and [PagedLoadingLoop](https://github.com/aartikov/Sesame/blob/master/sesame-loading/src/main/kotlin/me/aartikov/sesame/loading/paged/internal/PagedLoadingLoop.kt) as good examples how to use it.\n\n## Compose Sample\n[The compose sample](https://github.com/aartikov/Sesame/tree/master/compose-sample) shows how to use Sesame with Jetpack Compose and [Decompose](https://github.com/arkivanov/Decompose). Each screen demonstrates certain Sesame feature.\n\nCOUNTER - shows that we don't need [property](https://github.com/aartikov/Sesame/tree/master/sesame-property) to manage Jetpack Compose state. `mutableStateOf` and `derivedStateOf` are used instead.  \nPROFILE - loads ordinary data with [loading](https://github.com/aartikov/Sesame/tree/master/sesame-loading).  \nDIALOGS - shows how to use [dialog](https://github.com/aartikov/Sesame/tree/master/sesame-dialog) and [localized string](https://github.com/aartikov/Sesame/tree/master/sesame-localized-string).  \nMOVIES - loads paged data with [loading](https://github.com/aartikov/Sesame/tree/master/sesame-loading).  \nFORM - validates input fields with [compose-form](https://github.com/aartikov/Sesame/tree/master/sesame-compose-form).  \n\n## Contact the author\nArtur Artikov \u003ca href=\"mailto:a.artikov@gmail.com\"\u003ea.artikov@gmail.com\u003c/a\u003e\n\n## License\n```\nThe MIT License (MIT)\n\nCopyright (c) 2021 Artur Artikov, Alexander Rovnov, Pavel Aleksandrov\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faartikov%2FSesame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faartikov%2FSesame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faartikov%2FSesame/lists"}