[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7283":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":17,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":18,"lastSyncTime":34,"discoverSource":35},7283,"fuel","kittinunf\u002Ffuel","kittinunf","The easiest HTTP networking library for Kotlin\u002FAndroid","https:\u002F\u002Ffuel.gitbook.io\u002Fdocumentation\u002F",null,"Kotlin",4651,436,74,91,0,1,2,29.92,"MIT License",false,"main",true,[25,26,27,28,29,30],"android","http-client","kotlin","networking","rest","rxjava","2026-06-12 02:01:37","# Fuel\n\n[![Kotlin](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FKotlin-2.0-blue.svg)](http:\u002F\u002Fkotlinlang.org)\n[![MavenCentral](https:\u002F\u002Fmaven-badges.herokuapp.com\u002Fmaven-central\u002Fcom.github.kittinunf.fuel\u002Ffuel-jvm\u002Fbadge.svg)](https:\u002F\u002Fsearch.maven.org\u002Fsearch?q=com.github.kittinunf.fuel)\n[![ktlint](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fcode%20style-%E2%9D%A4-FF4081.svg)](https:\u002F\u002Fktlint.github.io)\n[![Run Gradle Push](https:\u002F\u002Fgithub.com\u002Fkittinunf\u002Ffuel\u002Factions\u002Fworkflows\u002Fmain.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fkittinunf\u002Ffuel\u002Factions\u002Fworkflows\u002Fmain.yml)\n[![Codecov](https:\u002F\u002Fcodecov.io\u002Fgithub\u002Fkittinunf\u002Ffuel\u002Fcoverage.svg?branch=main)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fkittinunf\u002Ffuel\u002Fbranch\u002Fmain)\n\nThe easiest HTTP networking library for Kotlin backed by Kotlinx Coroutines.\n\n## Migration\n\nFrom 3.x onwards, we are using [main](https:\u002F\u002Fgithub.com\u002Fkittinunf\u002Ffuel\u002Ftree\u002Fmain) as our new base branch. If you are finding the old version [2.x](https:\u002F\u002Fgithub.com\u002Fkittinunf\u002Ffuel\u002Ftree\u002F2.x), please take a look at our old branch.\n\n## Download\n\n### For release version\n\n```kotlin\nimplementation(\"com.github.kittinunf.fuel:fuel:3.0.0-alpha04\")\n```\n\n## Quick Start\n\nuse the `any http method` [suspend](https:\u002F\u002Fkotlinlang.org\u002Fdocs\u002Freference\u002Fcoroutines\u002Fbasics.html) function:\n\n```kotlin\nrunBlocking {\n    val string: String = Fuel.get(\"https:\u002F\u002Fpublicobject.com\u002Fhelloworld.txt\").body.string()\n    println(string)\n}\n\nrunBlocking {\n    val string: String = \"https:\u002F\u002Fpublicobject.com\u002Fhelloworld.txt\".httpGet().body.string()\n    println(string)\n}\n\nrunBlocking {\n    val fuel = FuelBuilder().build()\n    val string: String = fuel.get(request = { url = \"https:\u002F\u002Fpublicobject.com\u002Fhelloworld.txt\" }).body.string()\n    println(string)\n}\n\n```\n\n## Custom Configuration\n\nJVM uses [OkHttpClient](https:\u002F\u002Fsquare.github.io\u002Fokhttp\u002F4.x\u002Fokhttp\u002Fokhttp3\u002F-ok-http-client\u002F) configurations\n\n```kotlin\nval fuel = FuelBuilder().config(OKHttpClient()).build()\nval string = fuel.get(request = { url = \"https:\u002F\u002Fpublicobject.com\u002Fhelloworld.txt\" }).body.string()\n```\n\nApple uses [NSURLSessionConfiguration](https:\u002F\u002Fdeveloper.apple.com\u002Fdocumentation\u002Ffoundation\u002Fnsurlsessionconfiguration)\n\n```kotlin\nval fuel = FuelBuilder().config(NSURLSessionConfiguration.defaultSessionConfiguration).build()\nval string = fuel.get(request = { url = \"https:\u002F\u002Fpublicobject.com\u002Fhelloworld.txt\" }).body.string()\n```\n\nPlease note it will throw Exceptions. Make sure you catch it on the production apps.\n\nFuel requires Java 8 byte code.\n\n## Requirements\n\n- If you are using Android, It needs to be Android 5+.\n- Java 8+\n\n## R8 \u002F Proguard\n\nFuel is fully compatible with R8 out of the box and doesn't require adding any extra rules.\n\nIf you use Proguard, you may need to add rules for [Coroutines](https:\u002F\u002Fgithub.com\u002FKotlin\u002Fkotlinx.coroutines\u002Fblob\u002Fmaster\u002Fkotlinx-coroutines-core\u002Fjvm\u002Fresources\u002FMETA-INF\u002Fproguard\u002Fcoroutines.pro), [OkHttp](https:\u002F\u002Fgithub.com\u002Fsquare\u002Fokhttp\u002Fblob\u002Fmaster\u002Fokhttp\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fproguard\u002Fokhttp3.pro) and [Okio](https:\u002F\u002Fgithub.com\u002Fsquare\u002Fokio\u002Fblob\u002Fmaster\u002Fokio\u002Fsrc\u002FjvmMain\u002Fresources\u002FMETA-INF\u002Fproguard\u002Fokio.pro).\n\nIf you use the fuel-serialization modules, you may need to add rules for [Serialization](https:\u002F\u002Fgithub.com\u002FKotlin\u002Fkotlinx.serialization#androidjvm).\n\nIf you use the fuel-moshi modules, you may need to add rules for [Moshi](https:\u002F\u002Fgithub.com\u002Fsquare\u002Fmoshi\u002Fblob\u002Fmaster\u002Fmoshi\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fproguard\u002Fmoshi.pro) and [Moshi-Kotlin](https:\u002F\u002Fgithub.com\u002Fsquare\u002Fmoshi\u002Fblob\u002Fmaster\u002Fkotlin\u002Freflect\u002Fsrc\u002Fmain\u002Fresources\u002FMETA-INF\u002Fproguard\u002Fmoshi-kotlin.pro)\n\n## Other libraries\n\nIf you like Fuel, you might also like other libraries of mine;\n\n- [Result](https:\u002F\u002Fgithub.com\u002Fkittinunf\u002FResult) - The modelling for success\u002Ffailure of operations in Kotlin\n- [Fuse](https:\u002F\u002Fgithub.com\u002Fkittinunf\u002FFuse) - A simple generic LRU memory\u002Fdisk cache for Android written in Kotlin\n- [Forge](https:\u002F\u002Fgithub.com\u002Fkittinunf\u002FForge) - Functional style JSON parsing written in Kotlin\n- [ReactiveAndroid](https:\u002F\u002Fgithub.com\u002Fkittinunf\u002FReactiveAndroid) - Reactive events and properties with RxJava for Android SDK\n\n## Credits\n\nFuel brought to you by [contributors](https:\u002F\u002Fgithub.com\u002Fkittinunf\u002FFuel\u002Fgraphs\u002Fcontributors).\n\n## Licenses\n\nFuel released under the [MIT](https:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT) license.\n","Fuel 是一个专为 Kotlin\u002FAndroid 设计的简易 HTTP 网络库，基于 Kotlinx Coroutines 构建。其核心功能包括支持多种 HTTP 方法、异步请求处理以及自定义配置选项（如 OkHttpClient 和 NSURLSessionConfiguration）。Fuel 通过简洁的 API 设计简化了网络请求的编写过程，同时保持了良好的性能和扩展性。它适用于需要进行 RESTful API 调用的 Android 应用开发场景，特别是那些希望减少样板代码并提高开发效率的项目。","2026-06-11 03:11:33","top_language"]