Skip to content
/ Ktorfit Public

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

License

Notifications You must be signed in to change notification settings

Foso/Ktorfit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ktorfit

Maven PRs Welcome License Documentation

Platforms

Introduction

Ktorfit is a HTTP client/Kotlin Symbol Processor for Kotlin Multiplatform ( Android, iOS, Js, Jvm, Linux) using KSP and Ktor clients inspired by Retrofit

Show some ❤️ and star the repo to support the project

GitHub stars GitHub forks Twitter Follow

How to use

Please see the documentation at https://foso.github.io/Ktorfit/

Compatibility

See https://foso.github.io/Ktorfit/#compatibility

Ktorfit Packages

Project Version
Ktorfit Gradle Plugin Maven Central
ktorfit-lib Maven Central
ktorfit-lib-light Maven Central
compiler-plugin Maven Central
ktorfit-ksp Maven Central
ktorfit-converters-flow Maven Central
ktorfit-converters-call Maven Central
ktorfit-converters-response Maven Central

Ktorfit Ktor 3 Packages

The main dependencies will stay on Ktor 2.x till Ktor 3 is stable. When you want to use Ktor 3 and WasmJs, you need to replace your dependencies with a "ktor3" version, you can use the following packages:

Project Version
ktorfit-lib-light-ktor-3.0.0 Maven Central
ktorfit-lib-ktor-3.0.0 Maven Central
ktorfit-converters-flow-ktor-3.0.0 Maven Central
ktorfit-converters-call-ktor-3.0.0 Maven Central
ktorfit-converters-response-ktor-3.0.0 Maven Central

You can find all Ktorfit packages on Maven Central.

🔎 Check the latest changes to update your project.

🛠 Follow the setup page for more details

✍️ Feedback

Feel free to send feedback on Twitter or file an issue. Feature requests/Pull Requests are always welcome.

Acknowledgments

Some parts of this project are reusing ideas that are originally coming from Retrofit from Square. Thank you for Retrofit!

Thanks to JetBrains for Ktor and Kotlin!

Credits

Ktorfit is brought to you by these contributors.

📜 License

This project is licensed under the Apache License, Version 2.0 - see the LICENSE.md file for details