Skip to content

Foso/Ktorfit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
802368c

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
December 6, 2023 17:47
December 6, 2023 17:47
December 6, 2023 17:47
October 9, 2023 21:27
November 5, 2023 21:33
October 9, 2023 22:23
April 13, 2022 18:51
December 6, 2023 17:47
October 22, 2023 15:32
February 11, 2023 23:23
November 15, 2023 23:43
August 7, 2023 13:38

Ktorfit

All Contribtors PRs Welcome jCenter 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

Release

build.gradle.kts:

plugins {
    id("de.jensklingenberg.ktorfit") version "1.11.0"
}

build.gradle

plugins {
    id("de.jensklingenberg.ktorfit") version "1.11.0"
}

KSP:

de.jensklingenberg.ktorfit:ktorfit-ksp:1.11.0

Ktorfit-lib/-light:

implementation("de.jensklingenberg.ktorfit:ktorfit-lib:1.11.0")
or
implementation("de.jensklingenberg.ktorfit:ktorfit-lib-light:1.11.0")

👷 Project Structure

  • compiler plugin - module with source for the compiler plugin

  • ktorfit-annotations - module with annotations for the Ktorfit

  • ktorfit-ksp - module with source for the KSP plugin

  • ktorfit-lib-core - module with source for the Ktorfit lib

  • ktorfit-lib - ktorfit-lib-core + dependencies on platform specific clients

  • sandbox - experimental test module to try various stuff

  • example - contains example projects that use Ktorfit

  • docs - contains the source for the GitHub page

✍️ 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