Ktor or Retrofit?

This page summarizes the projects mentioned and recommended in the original post on /r/androiddev

Our great sponsors
  • Appwrite - The open-source backend cloud platform
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • KtorClientComposeTemplate

    Ktor-client http request v2.0.3 jetpack compose

    You mught wanna check this interesting repo. https://github.com/Aldikitta/KtorClientComposeTemplate

  • Retrofit

    A type-safe HTTP client for Android and the JVM

    I'm going to hit you with a "it depends" though whether to use ktor or retrofit. If there is any part of you that thinks you're going to support multiplatform, then ktor with no discussion. Retrofit has come out and said that's not on their road map. There is another option called ktorfit which from the name you can guess is like retrofit but built on top of ktor to support multiplatform.

  • Appwrite

    Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.

  • Ktorfit

    HTTP client generator / KSP plugin for Kotlin Multiplatform (Android, iOS, Js, Jvm, Native) using KSP and Ktor clients inspired by Retrofit https://foso.github.io/Ktorfit

    I'm going to hit you with a "it depends" though whether to use ktor or retrofit. If there is any part of you that thinks you're going to support multiplatform, then ktor with no discussion. Retrofit has come out and said that's not on their road map. There is another option called ktorfit which from the name you can guess is like retrofit but built on top of ktor to support multiplatform.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts