⌨️ A tool that gives you a massive head start when building Compose Desktop apps. It saves you from time-consuming setup and configuration

Overview

💻 create-compose-app

latestVersion Twitter: theapache64

A tool that gives you a massive head start when building Compose based apps. It saves you from time-consuming setup and configuration

Demo

Desktop

Web

Mobile

  • TODO

🛠 Installation

~$ sudo npm install -g create-compose-app

⌨️ Usage

~$ create-compose-app
Choose platform
1) Desktop
2) Web

📦 What's included?

Web

  • A basic counter example

Desktop

  • Architecture (MVVM) with Android-ish structure (SingleActivity)
  • Dependency Injection (Dagger2)
  • Navigation/Routing (Decompose)
  • Launcher Icons (for all platforms)
  • A separate data module
  • Testing (both unit tests and UI tests)
  • Theme
  • Logging (Arbor)
  • Font (GoogleSans)

✍️ Author

👤 theapache64

Feel free to ping me 😉

🤝 Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Open an issue first to discuss what you would like to change.
  2. Fork the Project
  3. Create your feature branch (git checkout -b feature/amazing-feature)
  4. Commit your changes (git commit -m 'Add some amazing feature')
  5. Push to the branch (git push origin feature/amazing-feature)
  6. Open a pull request

Please make sure to update tests as appropriate.

Show your support

Give a ⭐️ if this project helped you!

Patron Link Buy Me A Coffee

📝 License

Copyright © 2021 - theapache64

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

This README was generated by readgen

You might also like...
A library that adds useful features for Compose Desktop apps

Desktopose This is a set of utilities and components meant to help with developing desktop apps that use Compose for Desktop library. It contains the

Flux is a dynamic weather that communicates the weather throughout a landscape whose details vary according to the time and the weather at that particular time.
Flux is a dynamic weather that communicates the weather throughout a landscape whose details vary according to the time and the weather at that particular time.

Flux 📜 Description Flux is a dynamic weather that communicates the weather throughout a landscape whose details vary according to the time and the we

Learn Jetpack Compose for Android by Examples. Learn how to use Jetpack Compose for Android App Development. Android’s modern toolkit for building native UI.
Learn Jetpack Compose for Android by Examples. Learn how to use Jetpack Compose for Android App Development. Android’s modern toolkit for building native UI.

Learn Jetpack Compose for Android by Examples. Learn how to use Jetpack Compose for Android App Development. Android’s modern toolkit for building native UI.

Exercising Compose for Desktop and Compose for Web (Canvas)
Exercising Compose for Desktop and Compose for Web (Canvas)

Compose Counting Grid A simple application to check Compose for Desktop and Compose for Web (Canvas) drawing speeds when drawing grids (or tables) wit

Jetpack Compose Boids | Flocking Insect 🐜. bird or Fish simulation using Jetpack Compose Desktop 🚀, using Canvas API 🎨
Jetpack Compose Boids | Flocking Insect 🐜. bird or Fish simulation using Jetpack Compose Desktop 🚀, using Canvas API 🎨

🐜 🐜 🐜 Compose flocking Ants(boids) 🐜 🐜 🐜 Jetpack compose Boids | Flocking Insect. bird or Fish simulation using Jetpack Compose Desktop 🚀 , usi

Building a Simple Photo App with Jetpack Compose, CameraX, and Kotlin coroutines

Building a Simple Photo App with Jetpack Compose, CameraX, and Kotlin coroutines This repository holds code created as part of the aforementioned tuto

Forget about bunch of XML files for maintaining UIs. Jetpack Compose is Android’s modern toolkit for building native UI. Here is a small example to get started.
Forget about bunch of XML files for maintaining UIs. Jetpack Compose is Android’s modern toolkit for building native UI. Here is a small example to get started.

Jetpack Compose Sample Description This repository is to get started with new Jetpack Compose Toolkit for Android. By using Jetpack Compose you no nee

💻 A Compose Desktop project template with MVVM, Dagger, Decompose, tests, and more...
💻 A Compose Desktop project template with MVVM, Dagger, Decompose, tests, and more...

compose-desktop-template A compose desktop project template with MVVM, Dagger, Decompose and more ✨ Demo What's included? Architecture (MVVM) with And

Resume of Louis CAD, made with Jetpack Compose. Supports the Web, Desktop, and Android.
Resume of Louis CAD, made with Jetpack Compose. Supports the Web, Desktop, and Android.

ResumeComposition What This project is the source code of the resume/CV of Louis CAD. The latest PDF export is available here, it is ready to print. H

Comments
  • Process fails while removing temporary files in Windows

    Process fails while removing temporary files in Windows

    The project is created successfully but the create-compose-app command fails at Removing temp files... step

    It happens for all the template

    Command line log:

    ? Initializing...
    ??  Downloading template...
    ? Unzipping...
    ? Preparing source and test files (1/2) ...
    ? Verifying file contents (2/2) ...
    ??  Removing temp files...
    Exception in thread "main" java.nio.file.FileSystemException: C:\path\to\compose-chrome-extension-template.zip: The process cannot access the file because it is being used by another process.
    
            at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
            at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
            at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
            at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:274)
            at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110)
            at java.base/java.nio.file.Files.deleteIfExists(Files.java:1181)
            at com.github.theapache64.corvetee.Corvette.start(Corvette.kt:147)
            at com.github.theapache64.corvetee.Corvette.start$default(Corvette.kt:55)
            at com.theapache64.createcomposeapp.MainKt.createChromeExtensionApp(Main.kt:119)
            at com.theapache64.createcomposeapp.MainKt.main(Main.kt:47)
    
    opened by mddanishansari 3
  • ./gradlew run is failing

    ./gradlew run is failing

    I have created a project using commands which were mentioned in the readme.

    I am using java version 1.8.0_271. However, I am getting the following error:

    ComposeProjects/DesktopProject/build/generated/source/kapt/main/com/androidbytes/desktopproject/ui/feature/splash/SplashViewModel_Factory.java:16: error: cannot access SplashViewModel
    public final class SplashViewModel_Factory implements Factory<SplashViewModel> {
                                                                  ^
      bad class file: ~/DesktopProject/build/classes/kotlin/main/com/androidbytes/desktopproject/ui/feature/splash/SplashViewModel.class
        class file has wrong version 55.0, should be 52.0
        Please remove or make sure it appears in the correct subdirectory of the classpath.
    
    opened by umangce 2
  • Empty 'com' folder doesn't get deleted for Android project if package name doesn't start with 'com'

    Empty 'com' folder doesn't get deleted for Android project if package name doesn't start with 'com'

    As the title suggests empty com folder should get deleted if the package name doesn't start with com for eg. org.test. This is happening only for Android project.

    It should be deleted from three places main test and androidTest

    In Android Studio it looks something like this

    image

    opened by mddanishansari 1
Releases(2022.12.19)
Owner
theapache64
theapache64
An MVI project setup using Jetpack compose. This would be a good place to start learning Model View Intent (MVI) architecture for Android.

Compose-MVI An MVI project setup using Jetpack compose. This would be a good place to start learning Model View Intent (MVI) architecture for Android.

null 6 Jul 28, 2022
Briar-desktop - A desktop program for Briar, bringing secure messaging to your desktop and mobile devices

Briar Desktop A desktop program for Briar, bringing secure messaging to your des

Briar Project 16 Dec 17, 2022
Test-compose-for-desktop - Hello World in Compose for Desktop

Testing Run from command line: ./gradlew run Regular build: ./gradlew packageUb

Sebastian 3 Sep 20, 2022
Snake-compose-for-desktop - Snake Game - implemented using Compose for Desktop

A Snake game, built with Compose for Desktop snake-compose-for-desktop is my imp

gnu 5 Feb 17, 2022
A desktop code editor app using Jetpack Compose for Desktop and IntelliJ Platform

Compose Code Editor A desktop code editor app using Jetpack Compose for Desktop and IntelliJ Platform. Project Structure The code is contained in the

Alex 73 Dec 19, 2022
Carol 12 Sep 25, 2022
💻 A cross-platform desktop application to identify libraries used inside an android application. Made possible by Compose Desktop ⚡

?? stackzy A desktop app to analyse APK. Built using Compose desktop ✨ Demo Watch demo ??️ Usage Show usage ?? Install Platform Download Status Linux

theapache64 876 Dec 24, 2022
A framework for building responsive Android apps using Jetpack Compose

Jetmagic - A framework for building responsive Android apps using Jetpack Compose Jetmagic is an Android framework that can be used to develop respons

Johann Blake 93 Dec 17, 2022
A minimalist framework for rapidly building Jetpack compose apps.

VelocityX Show some ❤️ and star the repo. Subscribe to Codepur VelocityX is a 100% free Jetpack open-source minimalist UI Framework built with Kotlin

Pawan Kumar 24 Oct 29, 2022
Alien invasion 👾 gane is back! this time specially on Jetpack Compose Desktop 🚀, using Canvas API 🎨

Compose Space-Invaders ?? Alien invasion ?? is back! this time specially on Jetpack Compose Desktop ?? , using Canvas API ?? Featured on Compose Diges

Chetan Gupta 58 Aug 6, 2022