{"id":13407037,"url":"https://github.com/mbakgun/midjourney-images-compose-multiplatform","last_synced_at":"2025-04-09T17:26:47.988Z","repository":{"id":154104601,"uuid":"629040507","full_name":"mbakgun/midjourney-images-compose-multiplatform","owner":"mbakgun","description":"This application is developed to display the images created by MidJourney. The application is developed with Compose Multiplatform and works on many platforms including Android and iOS platforms.","archived":false,"fork":false,"pushed_at":"2024-05-22T18:24:33.000Z","size":38384,"stargazers_count":220,"open_issues_count":1,"forks_count":19,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-05-22T20:47:05.568Z","etag":null,"topics":["android","androidautomotive","androidtv","compose","compose-ios","compose-multiplatform","compose-web","jetpack-compose","kmp","kotlin","kotlin-multiplatform","kotlin-multiplatform-mobile","kotlin-multiplatform-sample","midjourney","wasm","wearable","wearos","wearoscompose","web","webapp"],"latest_commit_sha":null,"homepage":"https://mbakgun.medium.com/mj-compose-multiplatform-e6f737b3cd18","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/mbakgun.png","metadata":{"files":{"readme":"README-de.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-04-17T13:51:55.000Z","updated_at":"2024-06-01T03:23:05.626Z","dependencies_parsed_at":"2024-04-03T20:33:07.282Z","dependency_job_id":"49a7b589-3835-43eb-b043-b59847df00af","html_url":"https://github.com/mbakgun/midjourney-images-compose-multiplatform","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/mbakgun%2Fmidjourney-images-compose-multiplatform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbakgun%2Fmidjourney-images-compose-multiplatform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbakgun%2Fmidjourney-images-compose-multiplatform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbakgun%2Fmidjourney-images-compose-multiplatform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbakgun","download_url":"https://codeload.github.com/mbakgun/midjourney-images-compose-multiplatform/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248076308,"owners_count":21043747,"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","androidautomotive","androidtv","compose","compose-ios","compose-multiplatform","compose-web","jetpack-compose","kmp","kotlin","kotlin-multiplatform","kotlin-multiplatform-mobile","kotlin-multiplatform-sample","midjourney","wasm","wearable","wearos","wearoscompose","web","webapp"],"created_at":"2024-07-30T20:00:18.262Z","updated_at":"2025-04-09T17:26:47.972Z","avatar_url":"https://github.com/mbakgun.png","language":"Kotlin","funding_links":[],"categories":["App Projects"],"sub_categories":[],"readme":"# MidJourney Images Compose Multiplatform Mobile Application\n![kotlin-version](https://img.shields.io/badge/kotlin-2.0.0-blue?logo=kotlin)\n[![Android Weekly #567](https://androidweekly.net/issues/issue-567/badge)](https://androidweekly.net/issues/issue-567)\n\u003ca href=\"https://mailchi.mp/kotlinweekly/kotlin-weekly-352\"\u003e\u003cimg alt=\"Kotlin Weekly\" src=\"image-assets/kotlin-weekly.svg\"/\u003e\u003c/a\u003e\n[![Build \u0026 Ship](https://github.com/mbakgun/midjourney-images-compose-multiplatform/actions/workflows/main.yml/badge.svg)](https://github.com/mbakgun/midjourney-images-compose-multiplatform/actions/workflows/main.yml)\n#### Vorgestellt auf [Google Dev Bibliothek](https://devlibrary.withgoogle.com/products/android/repos/mbakgun-midjourney-images-compose-multiplatform)\n\nDiese Anwendung wurde entwickelt, um die Bilder von MidJourney anzuzeigen. Die Anwendung wurde mit Compose Multiplatform entwickelt. Die Anwendung läuft auf den Plattformen Android, iOS, Web, Wear OS, Android Automotive, Android TV\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"image-assets/1.gif\" alt=\"compose-header\" /\u003e\u003cbr\u003e\u003cbr\u003e\u003c/p\u003e\nDie Anwendung wurde im MVVM-Konzept mit Kotlin und Jetpack Compose entwickelt. Es wurden Netzwerkanforderungszustände, Endlos-Pagination, Bildladeprozesse, Offline-Modus und Bildcaching durchgeführt.\n\n## Verwendete Bibliotheken\n\n- [Compose Multiplatform](https://www.jetbrains.com/lp/compose-multiplatform/)\n- [Ktor](https://ktor.io/)\n- [Koin](https://insert-koin.io/)\n- [Kotlinx Serialization](https://kotlinlang.org/docs/serialization.html)\n- [Kotlinx Coroutines](https://kotlinlang.org/docs/coroutines-overview.html)\n- [Coil](https://coil-kt.github.io/coil/)\n- [Multiplatform Settings](https://github.com/russhwolf/multiplatform-settings)\n\n\u003cdiv style=\"text-align: center;\"\u003e\u003cimg src=\"image-assets/venn.png\" alt=\"decisions\"\u003e\u003c/div\u003e\n\nVerbraucheranwendungen haben keine komplexen Strukturen oder Operationen. Sie verwenden die gemeinsame UI-Schicht (einschließlich ViewModel) und sind dafür verantwortlich, [MjImagesApp](https://github.com/mbakgun/midjourney-images-compose-multiplatform/blob/master/shared/src/commonMain/kotlin/ui/MjImagesApp.kt#L98) zu erstellen. MjImagesApp und die Abhängigkeit dieses Composables, [MjImagesViewModel](https://github.com/mbakgun/midjourney-images-compose-multiplatform/blob/master/shared/src/commonMain/kotlin/ui/MjImagesViewModel.kt#L18-L18), funktionieren auf allen Plattformen gleich.\n\n## Anforderungen\n\n- MacOS\n- Die [Entwicklungsumgebung](https://github.com/JetBrains/compose-multiplatform-ios-android-template#set-up-the-environment) muss gemäß dem Link installiert sein.\n\n\u003cimg src=\"image-assets/androidss.png\" alt=\"android-phone\" height=\"450\" /\u003e \u003cimg src=\"image-assets/iosss.png\" alt=\"ios-phone\"  height=\"455\" /\u003e\n\n\n## Android-Anwendung\n\nFühren Sie den folgenden Befehl aus, um die Android-Anwendung zu kompilieren:\n\n```bash\n./gradlew :androidApp:assembleDebug\n```\n\n\u003cbr\u003e\u003cimg src=\"image-assets/android.gif\" width=\"240\" alt=\"android-compose\"/\u003e\n\n## iOS-Anwendung\n\nNachdem das Projekt erstellt wurde, kann die iOS-Anwendung auf jedem Emulator oder Gerät ausgeführt werden. Android Studio oder Xcode können verwendet werden.\n\n\u003cbr\u003e\u003cimg src=\"image-assets/ios.gif\" width=\"240\" alt=\"android-compose\"/\u003e\n\n## Wear OS Anwendung\n\nNach dem Build des Projekts kann die Wear OS Anwendung auf jedem Emulator oder Gerät ausgeführt werden.\n\n```bash\n./gradlew :wearApp:assembleDebug\n```\n\n\u003cimg src=\"image-assets/wearos.png\" alt=\"android-compose\"/\u003e\n\n## Android TV Anwendung\n\nNach dem Build des Projekts kann die Android TV Anwendung auf jedem Emulator oder Gerät ausgeführt werden.\n\n```bash\n./gradlew :televisionApp:assembleDebug\n```\n\n\u003cimg src=\"image-assets/television.gif\" alt=\"android-compose\"/\u003e\n\n## Android Automotive Anwendung\n\nNach dem Build des Projekts kann die Android Automotive Anwendung auf jedem Emulator (erfordert Android Studio Hedgehog) oder Gerät ausgeführt werden.\n\n```bash\n./gradlew :automotiveApp:assembleDebug\n```\n\n\u003cimg src=\"image-assets/automotive.gif\" alt=\"android-compose\"/\u003e\n\n## Desktop-Anwendung\n\nDieses Projekt kann für Windows, Debian und MacOS erstellt werden.\n\n```bash\n./gradlew desktopApp:run\n```\n\n### Erstellen einer nativen Desktop-Distribution\n\n```\n./gradlew :desktop:packageDistributionForCurrentOS\n# Ausgaben werden in desktopApp/build/compose/binaries geschrieben\n```\n\n\u003cimg src=\"image-assets/desktop.gif\" alt=\"desktop-compose\"/\u003e\n\n## Web Application\n\nDiese Projekt kann für Web(JS) erstellt werden.\n[Demo](https://mj.akgns.com/compose)\n\n```\n./gradlew :compose-web:jsBrowserDevelopmentRun\n```\n\n### Erstellen einer Web-Distribution\n\n```\n./gradlew :webApp:jsBrowserDevelopmentExecutableDistribution\n./gradlew :webApp:jsBrowserDistribution\n```\n\n## Wasm Application\nDieses Projekt kann für die Compose for Web(Wasm) erstellt werden.\n[Demo](https://mj.akgns.com/wasm)\n\n```\n./gradlew :wasmApp:wasmBrowserDevelopmentRun\n```\n\n### Erstellen einer Wasm-Distribution\n\n```\n./gradlew :wasmApp:wasmBrowserDevelopmentExecutableDistribution\n./gradlew :wasmApp:wasmJsBrowserDistribution\n```\n\n\u003cimg src=\"image-assets/web.gif\" alt=\"web-compose\"/\u003e\n\n## Tests\n\nDie Anwendung verfügt über Compose UI-Tests, Maestro UI-Tests und Unit-Tests. Die Unit-Tests sind unter dem Common-Paket mit Fake-Daten geschrieben. Die UI-Tests sind unter dem androidTest-Paket geschrieben. Die Maestro-Tests sind unter dem [Maestro-Paket](https://github.com/mbakgun/midjourney-images-compose-multiplatform/tree/master/.maestro) geschrieben.\n\n* Führen Sie den folgenden Befehl aus, um die Unit-Tests auszuführen:\n\n    ```bash\n    ./gradlew :shared:cleanTestDebugUnitTest :shared:testDebugUnitTest\n    ```\n* Um die Maestro-Tests auszuführen, führen Sie den folgenden Befehl aus:\n\n   ```bash\n    maestro test .maestro\n    ```\n* Um die Android Instrumented UI-Tests auszuführen, führen Sie den folgenden Befehl aus:\n\n  ```bash\n  ./gradlew :shared:connectedAndroidTest\n  ```\n\n## API\n\nDie für die Anwendung verwendete API ist [mj.akgns.com](https://mj.akgns.com/).\n\n## Übersetzungen\n- [Englisch](/README.md)\n- [Türkisch](/README-tr.md)\n\n## Medium\n\nFür weitere Informationen schauen Sie sich den [Medium](https://mbakgun.medium.com/mj-compose-multiplatform-e6f737b3cd18) Beitrag an.\n\n## Beiträge 👏\n\nBitte zögern Sie nicht, ein Problem zu eröffnen - alle Beiträge werden geschätzt! Im Voraus vielen Dank.\n\n\u003ca href=\"https://github.com/mbakgun/midjourney-images-compose-multiplatform/graphs/contributors\"\u003e\n\u003cimg src=\"https://contrib.rocks/image?repo=mbakgun/midjourney-images-compose-multiplatform\" /\u003e\n\u003c/a\u003e\n\n## Kontakt\n\n* Linkedin: https://www.linkedin.com/in/mbakgun\n* Twitter: https://twitter.com/mbakguns\n* Mastodon: https://androiddev.social/@mbakgun\n\nLicense\n-----------------\n\n      MIT License\n\n      Copyright (c) 2023 Mehmet Burak Akgün \n      \n      Permission is hereby granted, free of charge, to any person obtaining a copy\n      of this software and associated documentation files (the \"Software\"), to deal\n      in the Software without restriction, including without limitation the rights\n      to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n      copies of the Software, and to permit persons to whom the Software is\n      furnished to do so, subject to the following conditions:\n      \n      The above copyright notice and this permission notice shall be included in\n      all copies or substantial portions of the Software.\n      \n      THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n      IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n      FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n      AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n      LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n      OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n      THE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbakgun%2Fmidjourney-images-compose-multiplatform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbakgun%2Fmidjourney-images-compose-multiplatform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbakgun%2Fmidjourney-images-compose-multiplatform/lists"}