{"id":35109486,"url":"https://github.com/jacksever/kotlin-automapper","last_synced_at":"2026-02-01T23:00:56.372Z","repository":{"id":329447973,"uuid":"1119528842","full_name":"jacksever/kotlin-automapper","owner":"jacksever","description":"A KSP annotation processor for boilerplate-free mapping of data, enum, and sealed classes in Kotlin Multiplatform projects","archived":false,"fork":false,"pushed_at":"2026-01-26T13:47:40.000Z","size":930,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-27T02:55:32.979Z","etag":null,"topics":["annotation-processing","automapper","boilerplate-reduction","code-generation","dto-mapper","kotlin","kotlin-android","kotlin-library","kotlin-multiplatform","kotlin-symbol-processing","ksp","mapper","mappers","object-mapper"],"latest_commit_sha":null,"homepage":"https://jacksever.github.io/kotlin-automapper/","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/jacksever.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-19T12:16:59.000Z","updated_at":"2026-01-26T13:49:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jacksever/kotlin-automapper","commit_stats":null,"previous_names":["jacksever/kotlin-automapper"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/jacksever/kotlin-automapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacksever%2Fkotlin-automapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacksever%2Fkotlin-automapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacksever%2Fkotlin-automapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacksever%2Fkotlin-automapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacksever","download_url":"https://codeload.github.com/jacksever/kotlin-automapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacksever%2Fkotlin-automapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28993725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T22:01:47.507Z","status":"ssl_error","status_checked_at":"2026-02-01T21:58:37.335Z","response_time":56,"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":["annotation-processing","automapper","boilerplate-reduction","code-generation","dto-mapper","kotlin","kotlin-android","kotlin-library","kotlin-multiplatform","kotlin-symbol-processing","ksp","mapper","mappers","object-mapper"],"created_at":"2025-12-27T19:23:03.120Z","updated_at":"2026-02-01T23:00:56.365Z","avatar_url":"https://github.com/jacksever.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kotlin AutoMapper\n\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/io.github.jacksever.automapper/annotation)](https://search.maven.org/artifact/io.github.jacksever.automapper/annotation) ![Kotlin Multiplatform](https://img.shields.io/badge/Kotlin-Multiplatform-blue) ![Kotlin](https://img.shields.io/badge/Kotlin-2.3.0-blue.svg?logo=kotlin) ![KSP](https://img.shields.io/badge/KSP-2.3.5-blue.svg)\n\nEffortless, type-safe object-to-object mapping in Kotlin. Tired of writing boilerplate code to convert one object to another? This library does it for you at compile time, with full support for Kotlin Multiplatform.\n\nKotlin AutoMapper uses KSP (Kotlin Symbol Processing) to generate extension functions that automatically map your `data`, `enum`, and `sealed` classes. No reflection, no runtime magic - just pure, fast, and safe generated code for all your targets.\n\n**➡️ [View the full documentation for Setup, How to Use, and Advanced Usage](https://jacksever.github.io/kotlin-automapper/) ⬅️**\n\n## Features\n\n-   **Kotlin Multiplatform First:** Works seamlessly across a wide range of targets:\n    -   **Android** \u0026 **JVM/Desktop**\n    -   **JavaScript** (Browser \u0026 Node.js)\n    -   **Wasm** (JS \u0026 Wasi)\n    -   **iOS**, **macOS**, **watchOS**, **tvOS**\n    -   **Linux**\n-   **Type-Safe \u0026 Compile-Time Verified:** All mappings are generated and validated by KSP at compile time. No reflection, no runtime errors.\n-   **Zero Runtime Dependencies:** The annotation library is `SOURCE`-only and adds no overhead to your production app.\n-   **Broad Class Support:** Out-of-the-box support for `data`, `enum`, and `sealed` classes, including complex nested hierarchies.\n-   **Powerful Mapping Customization:**\n    -   **Property Renaming:** Easily map properties with different names using `@PropertyMapping`.\n    -   **Default Values:** Provide fallback values for missing or `null` properties with `@DefaultValue`.\n-   **Advanced Type Conversion:**\n    -   **Custom Converters:** Define your own conversion logic for complex types (like `Uuid` or `Instant`) using `@AutoConverter`.\n    -   **Automatic Primitive Conversion:** Handles conversions between primitives like `Int`, `Long`, `String` automatically.\n-   **Smart \u0026 Safe Generation:**\n    -   **Bidirectional Mapping:** Generate forward and reverse mappings with a single `reversible = true` flag.\n    -   **Visibility Control:** Generated code automatically inherits the visibility (`public` or `internal`) of your `@AutoMapperModule`.\n    -   **`@OptIn` Propagation:** Automatically propagates `@OptIn` annotations from your custom converters to the generated functions, ensuring compile-time safety for experimental APIs.\n\n## License\n\n    Copyright (c) 2026 Alexander Gorodnikov\n    \n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n    \n        http://www.apache.org/licenses/LICENSE-2.0\n    \n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacksever%2Fkotlin-automapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacksever%2Fkotlin-automapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacksever%2Fkotlin-automapper/lists"}