[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6731":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":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":19,"lastSyncTime":34,"discoverSource":35},6731,"Nuke","kean\u002FNuke","kean","Image loading system","https:\u002F\u002Fkean.blog\u002Fnuke",null,"Swift",8595,562,98,11,0,5,14,2,68.15,"MIT License",false,"main",[25,26,27,28,29,30],"cache","gif","image","progressive","swift","webp","2026-06-12 04:00:30","\u003Cbr\u002F>\n\u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F1567433\u002F114792417-57c1d080-9d56-11eb-8035-dc07cfd7557f.png\" height=\"170px\">\n\n# Image Loading System\n\n\u003Cp align=\"left\">\n\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatforms-iOS%2C%20macOS%2C%20watchOS%2C%20tvOS%2C%20visionOS-lightgrey.svg\">\n\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicence-MIT-green\">\n\u003C\u002Fp>\n\n> *Serving Images Since 2015*\n\nLoad images from different sources and display them in your app using simple and flexible APIs. Take advantage of the powerful image processing capabilities and a robust caching system.\n\nThe framework is lean and compiles in under 2 seconds[¹](#footnote-1). It has an automated test suite 2x the codebase size, ensuring excellent reliability. Nuke is optimized for [performance](https:\u002F\u002Fkean-docs.github.io\u002Fnuke\u002Fdocumentation\u002Fnuke\u002Fperformance-guide), and its advanced architecture enables virtually unlimited possibilities for customization.\n\n> **Memory and Disk Cache** · **Image Processing & Decompression** · **Request Coalescing & Priority** · **Prefetching** · **Resumable Downloads** · **Progressive JPEG** · **HEIF, WebP, GIF** · **SwiftUI** · **Async\u002FAwait**\n\n## Sponsors\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd valign=\"center\" align=\"center\">\n        \u003Ca href=\"https:\u002F\u002Fproxyman.io\">\n          \u003Cimg src=\"https:\u002F\u002Fkean.blog\u002Fimages\u002Flogos\u002Fproxyman.png\" height=\"50px\" alt=\"Proxyman Logo\">\n          \u003Cp>Proxyman\u003C\u002Fp>\n        \u003C\u002Fa>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## Documentation\n\nLoad images using `ImagePipeline` from the lean core [**Nuke**](https:\u002F\u002Fkean-docs.github.io\u002Fnuke\u002Fdocumentation\u002Fnuke) module:\n\n```swift\nfunc loadImage() async throws {\n    let imageTask = ImagePipeline.shared.imageTask(with: url)\n    for await progress in imageTask.progress {\n        \u002F\u002F Update progress\n    }\n    imageView.image = try await imageTask.image\n}\n```\n\nOr use the built-in UI components from [**NukeUI**](https:\u002F\u002Fkean-docs.github.io\u002Fnukeui\u002Fdocumentation\u002Fnukeui\u002F):\n\n```swift\nstruct ContentView: View {\n    var body: some View {\n        LazyImage(url: URL(string: \"https:\u002F\u002Fexample.com\u002Fimage.jpeg\"))\n    }\n}\n```\n\nThe [**Getting Started**](https:\u002F\u002Fkean-docs.github.io\u002Fnuke\u002Fdocumentation\u002Fnuke\u002Fgetting-started\u002F) guide is the best place to start. Check out [**Nuke Demo**](https:\u002F\u002Fgithub.com\u002Fkean\u002FNukeDemo) for more examples.\n\n\u003Ca href=\"https:\u002F\u002Fkean-docs.github.io\u002Fnuke\u002Fdocumentation\u002Fnuke\u002Fgetting-started\">\n\u003Cimg width=\"747\" alt=\"Nuke Docs and Demo\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fc6bbac09-55f2-4824-a0ec-a3a467d9e9be\" \u002F>\n\u003C\u002Fa>\n\n## Installation\n\nNuke supports [Swift Package Manager](https:\u002F\u002Fwww.swift.org\u002Fpackage-manager\u002F), which is the recommended option. If that doesn't work for you, you can use binary frameworks attached to the [releases](https:\u002F\u002Fgithub.com\u002Fkean\u002FNuke\u002Freleases).\n\nThe package ships with four modules that you can install depending on your needs:\n\n|Module|Description|\n|--|--|\n|[**Nuke**](https:\u002F\u002Fkean-docs.github.io\u002Fnuke\u002Fdocumentation\u002Fnuke)|The lean core framework with `ImagePipeline`, `ImageRequest`, and more|\n|[**NukeUI**](https:\u002F\u002Fkean-docs.github.io\u002Fnukeui\u002Fdocumentation\u002Fnukeui\u002F)|The UI components: `LazyImage` (SwiftUI) and `ImageView` (UIKit, AppKit)|\n|[**NukeExtensions**](https:\u002F\u002Fkean-docs.github.io\u002Fnukeextensions\u002Fdocumentation\u002Fnukeextensions\u002F)|The extensions for `UIImageView` (UIKit, AppKit)|\n|[**NukeVideo**](https:\u002F\u002Fkean-docs.github.io\u002Fnukevideo\u002Fdocumentation\u002Fnukevideo\u002F)|The components for decoding and playing short videos|\n\n## Extensions\n\nThe image pipeline is easy to customize and extend. Check out the following first-class extensions and packages built by the community.\n\n|Name|Description|\n|--|--|\n|[**Alamofire Plugin**](https:\u002F\u002Fgithub.com\u002Fkean\u002FNuke-Alamofire-Plugin)|Replace networking layer with [Alamofire](https:\u002F\u002Fgithub.com\u002FAlamofire\u002FAlamofire)|\n|[**NukeWebP**](https:\u002F\u002Fgithub.com\u002Fmakleso6\u002FNukeWebP)| **Community**. [WebP](https:\u002F\u002Fdevelopers.google.com\u002Fspeed\u002Fwebp\u002F) support, built by [Maxim Kolesnik](https:\u002F\u002Fgithub.com\u002Fmakleso6)|\n|[**WebP Plugin**](https:\u002F\u002Fgithub.com\u002Fryokosuge\u002FNuke-WebP-Plugin)| **Community**. [WebP](https:\u002F\u002Fdevelopers.google.com\u002Fspeed\u002Fwebp\u002F) support, built by [Ryo Kosuge](https:\u002F\u002Fgithub.com\u002Fryokosuge)|\n|[**AVIF Plugin**](https:\u002F\u002Fgithub.com\u002Fdelneg\u002FNuke-AVIF-Plugin)| **Community**. [AVIF](https:\u002F\u002Fcaniuse.com\u002Favif) support, built by [Denis](https:\u002F\u002Fgithub.com\u002Fdelneg)|\n|[**RxNuke**](https:\u002F\u002Fgithub.com\u002Fkean\u002FRxNuke)|[RxSwift](https:\u002F\u002Fgithub.com\u002FReactiveX\u002FRxSwift) extensions for Nuke with examples|\n\n> Looking for a way to log your network requests, including image requests? Check out [**Pulse**](https:\u002F\u002Fgithub.com\u002Fkean\u002FPulse).\n\n## Minimum Requirements\n\n> Upgrading from the previous version? Use a [**Migration Guide**](https:\u002F\u002Fgithub.com\u002Fkean\u002FNuke\u002Ftree\u002Fmaster\u002FDocumentation\u002FMigrations).\n\n| Nuke      | Swift     | Xcode      | Platforms                                                   |\n|-----------|-----------|------------|-------------------------------------------------------------|\n| Nuke 13.0 | Swift 6.2 | Xcode 26.0 | iOS 15.0, watchOS 8.0, macOS 12.0, tvOS 13.0, visionOS 1.0  |\n| Nuke 12.0 | Swift 5.7 | Xcode 15.0 | iOS 13.0, watchOS 6.0, macOS 10.15, tvOS 13.0               |\n\n## License\n\nNuke is available under the MIT license. See the LICENSE file for more info.\n\n----\n\n> \u003Ca name=\"footnote-1\">¹\u003C\u002Fa> Measured on MacBook Pro 14\" 2021 (10-core M1 Pro)\n","Nuke 是一个用于加载和显示图像的系统。它提供了简单且灵活的API来从不同源加载图像，并利用强大的图像处理能力和稳健的缓存机制。Nuke 支持多种图像格式，包括HEIF、WebP和GIF等，并具备内存与磁盘缓存、请求合并及优先级设置、预取、可恢复下载等功能特性。其先进的架构设计允许高度定制化，同时保持了极高的性能表现。适用于iOS、macOS、watchOS、tvOS以及visionOS平台上的应用开发场景，在需要高效管理和展示大量图片的应用中尤为适用。","2026-06-11 03:08:35","top_language"]