{"id":18407191,"url":"https://github.com/kl3jvi/mappy","last_synced_at":"2025-04-07T08:32:35.034Z","repository":{"id":117204481,"uuid":"483838521","full_name":"kl3jvi/mappy","owner":"kl3jvi","description":"🧭 Mappy is an Annotation Processor to auto-generate mapper functions for your architecture layer models. It creates mappers for database Entities and UI models.","archived":false,"fork":false,"pushed_at":"2023-04-30T12:05:19.000Z","size":496,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T15:51:41.176Z","etag":null,"topics":["android","entity-model","kotlin","kotlin-symbol-processing","ksp","mapper","ui-model"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kl3jvi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-04-20T23:01:25.000Z","updated_at":"2023-09-08T18:33:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"ebf2ed91-d07f-4a81-b679-9c98e4d7b2be","html_url":"https://github.com/kl3jvi/mappy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kl3jvi%2Fmappy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kl3jvi%2Fmappy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kl3jvi%2Fmappy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kl3jvi%2Fmappy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kl3jvi","download_url":"https://codeload.github.com/kl3jvi/mappy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247620540,"owners_count":20968231,"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","entity-model","kotlin","kotlin-symbol-processing","ksp","mapper","ui-model"],"created_at":"2024-11-06T03:12:55.213Z","updated_at":"2025-04-07T08:32:35.028Z","avatar_url":"https://github.com/kl3jvi.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/kl3jvi/mappy/764dd6626852d563e21472f4cef30c640a188ff1/assets/mappy.svg\"\u003e\r\n\u003cp align=\"center\"\u003e\r\n🧭 Mappy is a Annotation Processor to auto-generate mapper functions for your architecture layer models. It creates mappers for database Entities and UI models.\r\n\u003c/p\u003e\r\n\r\n## Why Mappy?\r\n\r\nMappy generates extension functions for each different model. You can reduce writing repeated mapper classes for every different model by auto-generating based on annotation processor.\u003cbr\u003e\u003cbr\u003e\r\nYou can massively reduce writing repeated files such as `_Mapper` classes.\r\n\r\n\u003cp align=\"center\"\u003e\r\n\u003cimg src=\"https://raw.githubusercontent.com/kl3jvi/mappy/ba49ac2e1b34d09b03afec6f1760320c55a823b7/assets/usage.svg\" width=\"760\"/\u003e\r\n\u003c/p\u003e\r\n\r\n\u003e **Note-Usage**: The names of field to be excluded should be exactly the same as their defined name on data class.\r\n\r\n## Gradle Setup\r\n\r\nTo use Mappy library in your project, you need to follow steps below.\r\n\r\nStep 1. Add the JitPack repository to your build file \r\n\r\n\r\n\u003cdetails open\u003e\r\n  \u003csummary\u003eKotlin DSL\u003c/summary\u003e\r\n\r\n```kotlin\r\nallprojects {\r\n\trepositories {\r\n\t\tmaven (url = \"https://jitpack.io\")\r\n    }\r\n}\r\n```\r\n\u003c/details\u003e\r\n\r\n\u003cdetails\u003e\r\n  \u003csummary\u003eGroovy\u003c/summary\u003e\r\n\r\n```kotlin\r\nallprojects {\r\n\trepositories {\r\n\t\tmaven {url = 'https://jitpack.io' }\r\n    }\r\n}\r\n```\r\n\u003c/details\u003e\r\n\r\nStep 2. Add the dependency\r\n```kotlin\r\n  implementation(\"com.github.kl3jvi.mappy:mappy-core:1.0.1\")\r\n  kapt(\"com.github.kl3jvi.mappy:mappy-processor:1.0.1\")\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkl3jvi%2Fmappy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkl3jvi%2Fmappy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkl3jvi%2Fmappy/lists"}