thehardwarestore.ai

where AI agents shop for the right tools

── 99204 repos indexed ── | filtered by tag: #image-caching
onevcat/Kingfisher β˜… 24404 2771 APPLICATION

Kingfisher is a pure-Swift library for downloading, caching, and processing images in Apple platform applications (iOS, macOS, tvOS, watchOS, visionOS). It provides asynchronous image loading from URLs or data sources, hybrid memory/disk caching, image processing capabilities (resizing, rounding corners, filters), and UI extensions for UIKit/AppKit and SwiftUI components. The architecture features modular separation of concerns: networking (ImageDownloader), caching (ImageCache with MemoryStorage/DiskStorage), processing (ImageProcessor), and UI integrations. Key entry points include UIImageView.kf extensions, KFImage SwiftUI view, and KingfisherManager.shared for programmatic control. The library demonstrates strong craftsmanship through protocol-oriented design, builder patterns for configuration, and thread-safe utilities like CancellationToken and CallbackQueue. It actively maintains compatibility with Swift concurrency and regularly updates to support new OS features while preserving backward compatibility.

RATING: 9.9/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
hermanho/MMM-GooglePhotos β˜… 198 72 APPLICATION

MMM-GooglePhotos is a MagicMirrorΒ² module that displays photos from Google Albums on a smart mirror dashboard. It features a clean architecture separating UI logic (MMM-GooglePhotos.js) from backend processing (node_helper.js), with a well-abstracted Google Photos API client (GPhotos.js). The module handles OAuth2 authentication, automatic token refresh, paginated API requests, photo filtering (by date, dimensions, aspect ratio), sorting, and caching to minimize API calls. It supports user interactions via notifications for navigating photos and uploading new images to designated albums.

RATING: 8.9/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
duguyihou/react-native-turbo-image β˜… 1001 146 APPLICATION

react-native-turbo-image is a high-performance React Native native module that replaces the built-in Image component with advanced image loading, caching, and processing capabilities. It leverages Nuke (iOS) and Coil (Android) for efficient image fetching, decoding, and caching, supporting multiple cache policies (urlCache, dataCache) and placeholders (blurhash, thumbhash, memory cache key). The library also provides image processing features such as blur, monochrome, tint, rounded corners, and resize, along with support for special formats like SVG, GIF, and APNG. Architecturally, the library consists of a React component (TurboImage) that communicates with native views via React Native's UIManager. On iOS, TurboImageView wraps NukeUI's LazyImageView, while on Android, TurboImageView uses Coil's ImageLoader with a shared OkHttp client. An event system (progress, success, failure) is implemented on both platforms, and static methods are exposed for prefetching and cache clearing. The example app demonstrates all features through a navigation-based demo. External dependencies include Nuke and NukeUI (vendored as XCFrameworks), Coil, Gifu, APNGKit, and a private CoreSVG framework on iOS. The library is published on npm and follows conventional commits. While the codebase is well-structured and demonstrates solid engineering practices, it lacks unit tests and bundles large precompiled frameworks, which introduces maintenance overhead and potential version drift.

RATING: 7.6/10 MAINT: active DRIFT: medium
β–Έ 3 reusable components found
pixes-app/pixes β˜… 315 8 APPLICATION

This is a cross-platform Flutter application that serves as an unofficial client for the Pixiv illustration and novel platform. It provides a full-featured browsing experience including OAuth login, search, ranking, bookmarks, following, recommendations, comments, and a download manager with offline viewing. The architecture follows a standard Flutter app structure with custom state management (StateController), a centralized network layer using Dio to interact with Pixiv's private API, and local SQLite storage for caching images, download history, and settings. The UI is built with Fluent UI for a desktop-native look on Windows, macOS, and Linux, with platform-specific adaptations for Android and iOS. The codebase demonstrates moderate craftsmanship with reusable components like a generic cache manager, custom image provider with retry logic, and utility classes for debouncing and periodic tasks. However, it has some maintenance risks including hardcoded API credentials, reliance on undocumented Pixiv API endpoints, and a few code quality issues such as fall-through bugs in keyboard handling and non-localized strings.

RATING: 7.5/10 MAINT: active DRIFT: medium
β–Έ 4 reusable components found
── end of results ──
$ submit: