Code Monkey home page Code Monkey logo

ktorfit's Introduction

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

Version Kotlin KSP Ktor
latest 1.8.20 1.0.11 2.3.1
1.4.0 1.8.20 1.0.11 2.3.0
1.2.0 1.8.20 1.0.10 2.3.0
1.1.0 1.8.20 1.0.10 2.2.4

Release

build.gradle.kts:

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

configure<de.jensklingenberg.ktorfit.gradle.KtorfitGradleConfiguration> {
    version = "1.4.1"
}

build.gradle

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

ktorfit{
    version = "1.4.1"
}

KSP:

de.jensklingenberg.ktorfit:ktorfit-ksp:1.4.1

Ktorfit-lib/-light:

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

๐Ÿ‘ท 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-common - module with source for the Ktorfit lib

  • ktorfit-lib - ktorfit-lib-common + 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

ktorfit's People

Contributors

foso avatar renovate[bot] avatar dependabot[bot] avatar datl4g avatar jensklingenbergedeka avatar andrewkolubov avatar mattrob33 avatar t-spoon avatar ph1ll1pp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.