{"id":18859904,"url":"https://github.com/kashif-e/kmptemplate","last_synced_at":"2025-09-10T22:36:30.143Z","repository":{"id":69666279,"uuid":"601722352","full_name":"Kashif-E/KMPTemplate","owner":"Kashif-E","description":"A KMP Template targeting Multiplatform Compose Android, IOS and Desktop. Get started with zero effort.","archived":false,"fork":false,"pushed_at":"2023-07-27T07:39:49.000Z","size":151,"stargazers_count":250,"open_issues_count":1,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-25T04:38:43.753Z","etag":null,"topics":["compose","compose-desktop","compose-ios","ios","jetpack","jetpack-compose","kmm","kmp","kotlin","kotlin-multiplatform","multiplatform-compose"],"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/Kashif-E.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-02-14T17:19:00.000Z","updated_at":"2025-06-09T11:01:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"93a73b37-abcd-47b1-ad80-fb438bc08634","html_url":"https://github.com/Kashif-E/KMPTemplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Kashif-E/KMPTemplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kashif-E%2FKMPTemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kashif-E%2FKMPTemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kashif-E%2FKMPTemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kashif-E%2FKMPTemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kashif-E","download_url":"https://codeload.github.com/Kashif-E/KMPTemplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kashif-E%2FKMPTemplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274536170,"owners_count":25303780,"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","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["compose","compose-desktop","compose-ios","ios","jetpack","jetpack-compose","kmm","kmp","kotlin","kotlin-multiplatform","multiplatform-compose"],"created_at":"2024-11-08T04:19:39.633Z","updated_at":"2025-09-10T22:36:30.094Z","avatar_url":"https://github.com/Kashif-E.png","language":"Kotlin","funding_links":["https://www.buymeacoffee.com/kashifmehmood","https://img.buymeacoffee.com/button-api/?text=Buy"],"categories":[],"sub_categories":[],"readme":"# KMPTemplate\n\n\u003ca href=\"https://www.buymeacoffee.com/kashifmehmood\"\u003e\u003cimg src=\"https://img.buymeacoffee.com/button-api/?text=Buy me a coffee\u0026emoji=\u0026slug=kashifmehmood\u0026button_colour=FFDD00\u0026font_colour=000000\u0026font_family=Cookie\u0026outline_colour=000000\u0026coffee_colour=ffffff\" /\u003e\u003c/a\u003e\n\nFeatured in  \u003ca href= \"https://us12.campaign-archive.com/?u=f39692e245b94f7fb693b6d82\u0026id=c0b6a6fd66\"\u003e Kotlin weekly \u003c/a\u003e and \u003ca href= \"https://us12.campaign-archive.com/?u=f39692e245b94f7fb693b6d82\u0026id=78f6f6dd04\"\u003e Kotlin weeekly \u003c/a\u003e\n\n\nThe KMPTemplate is designed to help developers build applications for three platforms:\n\u003cul\u003e\n\u003cli\u003e Android \u003c/li\u003e\n\u003cli\u003e iOS \u003c/li\u003e\n\u003cli\u003e Desktop \u003c/li\u003e\n\u003c/ul\u003e\n\nThis is built to reduce the effort of configuring all the targets together such as Compose for Ios which currently does not have an ios target when creating a new compose multiplatform project using intellij idea.\n\n\n![Screenshot 2023-02-14 at 8 06 39 PM](https://user-images.githubusercontent.com/61690178/218813583-2c7a2ef9-4b42-4095-b5a6-7a6d5417bbf9.png)\n\n\n# How it works?\nKMPTemplate leverages the power of Kotlin Multiplatform and Compose Multiplatform to create a unified codebase for all target platforms. Here's how it works for each platform:\n\n\u003cul\u003e\n\u003cli\u003e\u003cb\u003eAndroid:\u003c/b\u003e Runs natively on Android devices. \u003c/li\u003e\n\u003cli\u003e\u003cb\u003eiOS:\u003c/b\u003e Utilizes UIKit under the hood for seamless integration with iOS devices. \u003c/li\u003e\n\u003cli\u003e\u003cb\u003eDesktop:\u003c/b\u003e Employs the Skia Library to provide native-like performance on desktop platforms. \u003c/li\u003e\n\u003c/ul\u003e\n\n# Template Features\nThe KMPTemplate comes with several preconfigured features to accelerate your development process:\n\n\u003cul\u003e\n\u003cli\u003e Version Catalogs \u003c/li\u003e\n\u003cli\u003e Compose Multiplatform \u003c/li\u003e\n\u003cli\u003e Koin for dependency injection \u003c/li\u003e\n\u003cli\u003e Ktor for networking \u003c/li\u003e\n\u003cli\u003e Kotlin serialization \u003c/li\u003e\n\u003cli\u003e Multiplatform image viewer\u003c/li\u003e\n\u003c/ul\u003e\n\n# Is it production-ready?\nKMPTemplate can be considered both production-ready and not production-ready, depending on your requirements. You can use the UIControllers generated by Compose alongside SwiftUI or UIKit to share the UI across platforms. For platform-specific features like camera and sensors, you can utilize SwiftUI or UIKit.\n\nIf you have any suggestions or find a bug, please add it to the issues.\n\n# Troubleshooting\n## MacOS on Apple Chip (M1/M2)\nIf you encounter the error 'pod install' command failed with code 1. run the following commands in the terminal:\n\n```bash\nsudo softwareupdate --install-rosetta --agree-to-license\n```\n```bash\nsudo gem uninstall ffi \u0026\u0026 sudo gem install ffi -- --enable-libffi-alloc\n```\n\n\u003cp align=\"left\"\u003e\n\u003ca href=\"https://twitter.com/kashif_mehmood_\" target=\"blank\"\u003e\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg\" alt=\"kashif_mehmood_\" height=\"30\" width=\"40\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://linkedin.com/in/kashif-mehmood\" target=\"blank\"\u003e\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/linked-in-alt.svg\" alt=\"kashif-mehmood\" height=\"30\" width=\"40\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://stackoverflow.com/users/kashif-mehmood\" target=\"blank\"\u003e\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/stack-overflow.svg\" alt=\"kashif-mehmood\" height=\"30\" width=\"40\" /\u003e\u003c/a\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkashif-e%2Fkmptemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkashif-e%2Fkmptemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkashif-e%2Fkmptemplate/lists"}