{"id":15040950,"url":"https://github.com/yazan98/vanite","last_synced_at":"2025-04-14T19:34:21.788Z","repository":{"id":43269986,"uuid":"237016323","full_name":"Yazan98/Vanite","owner":"Yazan98","description":"Android Base Code Library and Utility Classes to Build Android Applications With MVVM, State Managment","archived":false,"fork":false,"pushed_at":"2023-02-18T09:58:25.000Z","size":21955,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-28T07:51:18.245Z","etag":null,"topics":["android","android-app","android-application","android-applications","android-architecture","android-architecture-components","android-development","android-library","android-sdk","android-studio","android-ui","kotlin","kotlin-android","kotlin-android-application","kotlin-coroutines","kotlin-extensions","kotlin-library","kotlin-multiplatform","springboot","springboot-application"],"latest_commit_sha":null,"homepage":"","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/Yazan98.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2020-01-29T15:30:36.000Z","updated_at":"2024-09-04T18:26:53.000Z","dependencies_parsed_at":"2024-11-15T06:50:25.818Z","dependency_job_id":"09e8aab9-0da1-429b-be7f-ef09c13f23df","html_url":"https://github.com/Yazan98/Vanite","commit_stats":{"total_commits":127,"total_committers":3,"mean_commits":"42.333333333333336","dds":"0.11811023622047245","last_synced_commit":"a38332680d54d000496f8899c3d5eefad25fbc9f"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yazan98%2FVanite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yazan98%2FVanite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yazan98%2FVanite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yazan98%2FVanite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yazan98","download_url":"https://codeload.github.com/Yazan98/Vanite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248946451,"owners_count":21187508,"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-app","android-application","android-applications","android-architecture","android-architecture-components","android-development","android-library","android-sdk","android-studio","android-ui","kotlin","kotlin-android","kotlin-android-application","kotlin-coroutines","kotlin-extensions","kotlin-library","kotlin-multiplatform","springboot","springboot-application"],"created_at":"2024-09-24T20:45:19.400Z","updated_at":"2025-04-14T19:34:21.733Z","avatar_url":"https://github.com/Yazan98.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vanite\n\n![New Project](https://user-images.githubusercontent.com/29167110/158914920-32310149-7f76-4802-9745-6c5ecf05f335.png)\n\n\n![](https://img.shields.io/badge/Project%20Status-Under%20Development-blue)\n[![Maven Central](https://img.shields.io/maven-central/v/com.yazantarifi/vanite.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.yazantarifi%22%20AND%20a:%22vanite%22)\n![](https://img.shields.io/badge/License-Apache%202.0-yellow)\n![](https://img.shields.io/badge/Language-Kotlin-orange)\n![](https://img.shields.io/badge/Android%20Status-AndroidX-green)\n\n\n# What is Vanite\n\nVanite is an Open Source Library That Focus on Providing The Base Code of Android Applications with Utility Classes For Common Use Cases\nUnder Multi Modular Architecture From Managing the State to Utils Classes to Providing Base Code in Base ViewModels, Fragments, Activities\n\n### Multi Modular Application\nThe Library Focus on Main Modules\n1. UI\n2. Data\n3. Domain\n\nThe UI Layer Contact with Domain to handle the logic from ViewModels, Use Cases, etc and This Layer Contact with Data Layer to get the Data from Repositories, this Layers could be provided by Modules or Packages because vanite is Built based on Modules and you can add the Required Dependency to one Module as you want\n\n\n### Application Flow Components\n1. Actions\n2. State\n3. ViewModel\n4. User Interface\n\nThe UI Contact With ViewModel By execute Method Only and Send to ViewModel Actions, Each Action Should Execute specific Code or move to Use Case\nThen ViewModel Respond to View With New State For This ViewModel\n\nAlso to Provide Utility Classes As much as Possible for Common Use Cases\n\n### Setup\n\n1. The Build.gradle Root File\n\n```\nallprojects {\n    repositories {\n        mavenCentral()\n    }\n}\n```\n\n2. Application Module\n\n```\ndependencies {\n   implementation 'com.yazantarifi:vanite:2.0.0'\n   implementation 'com.yazantarifi:vanite-data:2.0.0'\n   implementation 'com.yazantarifi:vanite-utils:2.0.0'\n   implementation 'com.yazantarifi:vanite-ui-binding:2.0.0'\n   implementation 'com.yazantarifi:vanite-ui:2.0.0'\n   implementation 'com.yazantarifi:vanite-prefs:2.0.0'\n   implementation 'com.yazantarifi:vanite-permissions:2.0.0'\n   implementation 'com.yazantarifi:vanite-log:2.0.0'\n   implementation 'com.yazantarifi:vanite-firebase:2.0.0'\n   implementation 'com.yazantarifi:vanite-secured-prefs:2.0.0'\n   implementation 'com.yazantarifi:vanite-compose:2.0.0'\n}\n```\n\n# Library Dependencies Description\n\nThis Library has 2 Ways to Create the Integration, first We have applications Built based on XML and Other Apps Built with Jetpack Compose\nthis Library Support Jetpack Compose Applications Under one Dependency that has the base code for Composables \n\nDependency Information for Jetpack Compose Applications\n\n```\n    implementation 'com.yazantarifi:vanite-compose:2.0.0'\n```\n\nDependency Information for XML Applications\n\n\n```\n   implementation 'com.yazantarifi:vanite:2.0.0'\n   implementation 'com.yazantarifi:vanite-data:2.0.0'\n   implementation 'com.yazantarifi:vanite-utils:2.0.0'\n   implementation 'com.yazantarifi:vanite-ui-binding:2.0.0'\n   implementation 'com.yazantarifi:vanite-ui:2.0.0'\n```\n\nDependency Information for Utility Classes\n\n```\n   implementation 'com.yazantarifi:vanite-secured-prefs:2.0.0'\n   implementation 'com.yazantarifi:vanite-firebase:2.0.0'\n   implementation 'com.yazantarifi:vanite-log:2.0.0'\n   implementation 'com.yazantarifi:vanite-permissions:2.0.0'\n   implementation 'com.yazantarifi:vanite-utils:2.0.0'\n\n```\n\n\n# Push Update\n\n\u003e This Command Will Generate Build File and Jars for All Modules\n\n```\n    gradle publishReleasePublicationToSonatypeRepository\n```\n\n# Vanite Documentation\nComing Soon Vanite still Under Development\n\n# License\n\nCopyright (C) 2019 Vanite is An Open Source Library (Licensed under the Apache License, Version 2.0)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyazan98%2Fvanite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyazan98%2Fvanite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyazan98%2Fvanite/lists"}