Skip to content

r1n1os/Jetpack-Compose-Template-Open-Source

Repository files navigation

Jetpack-Compose-Template-Open-Source

Jetpack-Compose-Template-Open-Source is a production-ready Jetpack Compose Android project template following Google's best practices and implementing Clean Architecture out of the box. It was developed to save time and help developers kick-start new Android projects with the right structure and dependencies already in place. Just clone, rename, and build!

🚀 Android Starter Template

✅ Features

  • Clean Architecture (Domain, Data, and Presentation layers)
  • MVVM (Model-View-ViewModel) architecture
  • Dependency Injection using Hilt
  • Coroutines for asynchronous programming
  • Retrofit for network calls
  • Room for local database
  • Material Design components (Including Expressive Material Design. You can remove the dependency if you plan to release the app before they become stable)
  • KSP
  • TYPE-save Navigation - Compose Navigation
  • Jetpack libraries and recommended tools

📦 Included Dependencies

Category Library
Dependency Injection Hilt, Hilt Google Docs
Networking Retrofit
Asynchronous Tasks Kotlin Coroutines Coroutines Google Docs
Database Room
UI Material Components, Jetpack ViewModel, Expressive Material, Navigation Component
Other Serialization, Core-KTX, lifecycle Runtime KTX, KSP

🛠️ Project Configuration

  • compileSdk: 36
  • targetSdk: 36
  • minSdk: 28
  • buildToolsVersion: 36.1.0
  • ndkVersion: 29.0.14206865
  • gradle: 9.2.0
  • kotlin: 2.2.21

🧱 Project Structure

project_structure

📋 How to Use This Repository

This repository can be used as a starting point for your Android projects in two ways:


✅ Option 1: Use the “Use this template” Button (Recommended)

If the repository is enabled as a template:

  1. Click the green “Use this template” button at the top-right of this repository page.
  2. Create a new repository with your own name, description, and visibility.
  3. Clone your new repository and start building — no extra steps needed!

This method gives you a clean copy without Git history and is the easiest way to start fresh.


🛠 Option 2: Clone the Repository Directly

If you prefer to manually clone the repository:


🔹 2.1. Clone the Repository Locally

Click the green “Code” button on this page and choose one of the following methods:

📥 Clone via HTTPS
git clone https://github.com/r1n1os/Jetpack-Compose-Template-Open-Source.git
🔐 Clone via SSH
git clone git@github.com:r1n1os/Jetpack-Compose-Template-Open-Source.git

💻 Clone via GitHub CLI

gh repo clone r1n1os/Jetpack-Compose-Template-Open-Source

Then navigate into the project directory:

cd Jetpack-Compose-Template-Open-Source

🔹 2.2. Remove the Existing Git History

To disconnect from the original repository and avoid pushing to it:

On Windows (PowerShell):
Remove-Item -Recurse -Force .git
On Mac/Linux/Git Bash:
rm -rf .git

🔹 2.3. Initialize a New Git Repository

Now initialize your own Git project and connect it to your own GitHub repository:

git init
git remote add origin https://github.com/your-username/your-new-project.git
git add .
git commit -m "Initial commit from Android Starter Template"
git push -u origin main

✅ You now have your own version of the project, with full control and clean Git history.

Contribution

If you have any feedback, found a bug or need something that is missing feel free to create an issue in the following link. https://github.com/r1n1os/Jetpack-Compose-Template-Open-Source/issues

About

This is an open source template for jetpack compose. It can be used from anyone who what to speed up and save time on something basic like setup a project from the begining. Including basic dependencies setpup, app structure etc

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages