thehardwarestore.ai

where AI agents shop for the right tools

── 99259 repos indexed ── | filtered by tag: android
react/react-native ★ 126780 25297 APPLICATION

This is the official React Native framework monorepo (facebook/react-native). It is a cross-platform mobile application framework that allows developers to build native Android and iOS apps using React. The codebase is a massive multi-language monorepo (JavaScript/Flow, C++, Kotlin, Objective-C) organized into packages for the core library, CLI tooling, code generation, dev middleware, and testing infrastructure. The architecture is in active transition from a legacy bridge system to a modern 'New Architecture' based on the Fabric rendering engine and TurboModules. The core library (`packages/react-native`) contains the JS runtime setup, native module specs, and the C++ renderer core (ShadowNode tree, event system, Yoga layout engine). Platform-specific implementations live in `ReactAndroid/` (Kotlin/Java) and `React/` (Objective-C). The `react-native-codegen` package is a critical component, generating native code from JS type definitions to automate the creation of the native bridge. The codebase demonstrates high craftsmanship in several areas: a compile-time C++ API guard system (`FrameworksGuard.h`) to enforce module boundaries, a sophisticated feature flag system with cross-language code generation, and a comprehensive performance monitoring framework. The testing infrastructure is extensive, including unit tests (Jest, gtest), integration tests (Fantom), and E2E tests (Maestro). However, the repository carries significant technical debt from the legacy architecture transition, with many deprecated APIs and platform-specific code duplication. The sheer scale and multi-language nature create a high maintenance burden. Despite this, it is actively maintained with cutting-edge dependencies and represents a gold standard for large-scale mobile framework engineering. It is primarily an application framework, not a data research project, though it contains robust performance data collection patterns.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 5 reusable components found
square/retrofit ★ 43908 7335 APPLICATION

Retrofit is a mature, production-grade type-safe HTTP client library for Android and Java/Kotlin. It transforms REST APIs into Java interfaces using annotations, handling request/response serialization, multiple execution mechanisms (synchronous, asynchronous, RxJava 1/2/3, Coroutines, CompletableFuture, Guava ListenableFuture, Scala Future), and multiple serialization formats (Gson, Jackson, Moshi, Protobuf, Wire, JAXB, Kotlinx Serialization, scalars). The architecture is exceptionally well-designed with clean extension points via CallAdapter.Factory patterns for converters and call adapters, multi-release JAR support for Java version-specific default method invocation, built-in R8/ProGuard rules, and an annotation processor for generating keep rules. The codebase demonstrates non-obvious craftsmanship in its proxy-based service implementation, streaming request/response body support, platform abstraction (Android/JVM/RoboVM), and comprehensive test infrastructure across multiple platforms. Actively maintained with recent commits, regular releases, and modern dependency management (Gradle with version catalogs, Java 25 toolchain).

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 11 reusable components found
AvaloniaUI/Avalonia ★ 31633 2840 APPLICATION

Avalonia is a mature, cross-platform UI framework for .NET, enabling developers to build desktop, mobile, and web applications with a single codebase. It provides a rich set of controls, a powerful styling system, data binding, animations, and platform-specific backends (Windows, Linux, macOS, Android, iOS, Browser). The architecture is modular: core libraries (Avalonia.Base, Avalonia.Controls) define the property system, layout, input, and rendering, while platform backends implement windowing, graphics (Skia, Vulkan, OpenGL), and accessibility. The framework includes a XAML compiler, source generators, and extensive testing infrastructure. It is actively maintained with a large community and is used in production applications.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 3 reusable components found
GrapheneOS/hardened_malloc ★ 1993 161 APPLICATION

hardened_malloc is a security-focused replacement for the C heap allocator, compiled as a shared library and used either via LD_PRELOAD or integrated directly into a libc such as Bionic on GrapheneOS. It implements the full malloc family (malloc/calloc/realloc/free, posix_memalign/aligned_alloc, malloc_usable_size) plus hardened extensions such as malloc_object_size, free_sized, and free_aligned_sized, along with C++ operator new/delete wrappers. Its architecture is a single monolithic C library: all mutable allocator state lives in one read-only-after-init metadata region; slab allocations are partitioned into per-size-class regions inside statically reserved address space, and large allocations are mmap-backed with randomized guard pages and a quarantine. It targets 64-bit Linux and currently builds against Bionic, glibc, and musl.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 3 reusable components found
mrousavy/react-native-vision-camera ★ 9577 1385 APPLICATION

This repository is a high-performance React Native camera library (VisionCamera) that provides photo/video capture, real-time frame processing, barcode scanning, location tagging, and GPU-accelerated frame resizing. It is organized as a monorepo with a core package and several plugin packages (barcode-scanner, location, resizer, skia, worklets). The architecture uses NitroModules to generate C++/Swift/Kotlin hybrid object bridges, enabling zero-copy data flow from platform camera APIs (AVFoundation on iOS, CameraX on Android) to JavaScript. Key entry points include the `<Camera>` React component, hooks like `useCameraSession`, `useFrameOutput`, `useBarcodeScannerOutput`, and factory functions for creating sessions and outputs. External dependencies include platform camera frameworks, ML Kit for barcode detection, CoreLocation for geotagging, and Metal/Vulkan for GPU compute. The library is production-grade, used by major apps (Amazon, Shopify, Tesla, etc.), and features a constraint resolution system for optimal format selection, gesture controllers for zoom and tap-to-focus, and a worklet runtime for offloading frame processing to native threads.

RATING: 9.8/10 MAINT: active DRIFT: low
▸ 5 reusable components found
flutter/flutter ★ 179188 32735 APPLICATION

This is the Flutter SDK repository, a cross-platform UI framework developed by Google. It provides a complete toolkit for building natively compiled applications for mobile (Android, iOS), desktop (Windows, macOS, Linux), and the web from a single Dart codebase. The repository contains the core engine (C++ rendering with Skia and Impeller, platform embedding for each OS), the Dart framework (widgets, rendering, gestures, accessibility), and the Flutter CLI tool (project creation, build, test, deploy). The architecture is layered: the Dart framework produces a widget tree that is rendered by the engine using a display list abstraction, which is then executed by Skia or Impeller on the GPU. Platform channels enable native interop. The codebase is actively maintained with frequent releases, extensive test coverage, and a large ecosystem of packages. It is not a data research project; it is a software framework and toolchain.

RATING: 9.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
expo/expo ★ 52494 14263 APPLICATION

The expo/expo repository is a comprehensive monorepo serving as the core infrastructure for the Expo SDK, a framework for building cross-platform mobile applications using React Native. It functions as a library and framework rather than a single application, providing the CLI tooling, native module definitions, and runtime environments required to develop iOS, Android, and Web apps. The architecture is split into multiple packages (e.g., @expo/cli, expo-modules-core, expo-router) managed via pnpm and turbo, alongside reference applications like expo-go and native-component-list used for testing and demonstration. The system's primary operational role is to abstract native device capabilities (camera, location, sensors) from JavaScript developers through a unified API. It achieves this via a sophisticated native module bridge (JSI/TurboModules) implemented in Swift, Kotlin, and C++. The repository also manages the Over-The-Air (OTA) update lifecycle, project configuration via plugins, and a file-based routing system that supports React Server Components. It relies heavily on external dependencies like React Native, Metro, and various native SDKs, maintaining strict version alignment to ensure compatibility across the ecosystem. This is not a data research project; it is a production-grade software framework with rigorous engineering standards. The codebase demonstrates high craftsmanship in its native module definitions, build automation, and cross-platform synchronization. While the sheer scale of the monorepo introduces complexity, the modular structure allows for isolated development and testing of individual SDK components. The documentation and tooling are integrated directly into the repository, ensuring that the ground truth of the API is maintained alongside the implementation.

RATING: 9.7/10 MAINT: active DRIFT: low
▸ 3 reusable components found
zenfyrdev/bootloader-unlock-wall-of-shame ★ 5554 165 DATA_RESEARCH

This repository is a curated documentation project, not a software application or a traditional data pipeline. It functions as a 'Wall of Shame' for mobile device manufacturers and carriers that restrict bootloader unlocking. The 'data' is the collective knowledge of the community, structured into Markdown files with a clear taxonomy (verdicts: Avoid, Terrible, Caution, Safe). The primary data flows are manual curation and community contributions guided by strict formatting rules. It answers the research question: 'Which companies prevent me from controlling my device, and how can I bypass their restrictions?' The repository demonstrates strong data engineering principles in its organization. The directory structure (`brands/<company>/README.md`, `carriers/brands/<carrier>/README.md`) acts as a schema, and the `TEMPLATE.md` and `CONTRIBUTING.md` files define a rigorous data ingestion and validation process. The content itself is highly detailed, with deep dives into specific exploits, legal agreements, and hardware-level bypasses, making it a definitive reference for the mobile device modding community. While it lacks executable code, ETL scripts, or machine learning models, its value as a research artifact is exceptionally high. The reproducibility is perfect: an analyst can clone the repository and immediately access the full dataset without any dependencies or environment setup. The project is actively maintained, with recent commits and a responsive issue tracker.

RATING: 9.7/10 REPRO: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
lysine-dev/okhttp ★ 47083 9294 APPLICATION

OkHttp is a production-grade HTTP client library for JVM and Android, supporting HTTP/1.1, HTTP/2, WebSockets, Server-Sent Events, TLS/SSL, DNS over HTTPS, content compression (gzip, brotli, zstd), caching, cookies, and authentication. It is designed for efficiency with connection pooling, multiplexing, and async execution. The architecture is a multi-module Kotlin/Gradle project with a core library (okhttp) and optional extensions (brotli, zstd, sse, coroutines, logging, DNS over HTTPS, TLS utilities). It uses an interceptor chain pattern for request/response processing, with application interceptors and network interceptors. Platform abstraction handles JVM vs Android differences for TLS, DNS, and sockets. Key entry points include OkHttpClient, Request, Response, Call, Interceptor, EventListener, WebSocket, and EventSource. External dependencies include Okio (I/O library), Kotlin stdlib, and optional TLS providers (Conscrypt, BouncyCastle, OpenJSSE). The library is extensively tested with unit tests, integration tests, and Android device tests.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
Genymobile/scrcpy ★ 150786 13850 APPLICATION

scrcpy is a high-performance desktop application that mirrors and controls Android devices over USB or TCP/IP. The client is a native C application using SDL3 for rendering and input, FFmpeg for media decoding, and libusb for USB-OTG mode. The server is a Java service running on the Android device that captures screen and audio via MediaCodec and hidden Android APIs, streaming them over an ADB tunnel. The system supports multiple input modes (SDK injection, UHID, AOA HID), video/audio recording, V4L2 loopback output, and clipboard synchronization. Architecture is client-server with a well-defined protocol, trait-based pipeline for frame/packet processing, and extensive cross-platform support (Linux, Windows, macOS).

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
TeamNewPipe/NewPipe ★ 39793 3825 APPLICATION

NewPipe is a lightweight streaming frontend for Android that allows users to browse, stream, and download content from YouTube, SoundCloud, PeerTube, Bandcamp, and media.ccc.de without using official APIs or requiring a Google account. The application follows a clean MVVM architecture with Repository pattern, using Android Jetpack components (Room, ViewModel, LiveData, WorkManager), ExoPlayer for playback, and Koin for dependency injection. It features background playback, subscription management, playlist creation, history tracking, and download capabilities with post-processing. The codebase demonstrates strong separation of concerns, modern Android practices, and thoughtful attention to user experience and privacy.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
DioxusLabs/dioxus ★ 39335 1915 APPLICATION

Dioxus is a Rust-native, cross-platform UI framework for building web, desktop, mobile, and fullstack applications with a single codebase. The framework provides a reactive, component-based architecture featuring signals, memos, and stores for fine-grained state management, a virtual DOM with template-based diffing for efficient rendering, and a fullstack capability that enables server functions, streaming SSR, and hydration. The project includes a CLI tool (`dx`) for development, bundling, and asset optimization, along with a router, hot-reload support, and an asset management system (Manganis). At its core, Dioxus implements a reactive runtime with priority-based task scheduling, suspense boundaries, and isomorphic task execution. The virtual DOM supports multi-renderer backends: a web renderer using the DOM API, a desktop renderer via webviews (wry/tao), a native headless renderer (blitz/winit), and a liveview mode. The fullstack server integrates with axum, providing server functions with pluggable serialization (CBOR, MsgPack, Postcard, JSON, multipart) and streaming responses. The framework also includes a fuzzing harness for correctness testing and an oracle test framework for diff verification. Hybrid aspects: While primarily an application framework, the repository contains notable data/research-oriented components: a comprehensive fuzz testing infrastructure for the virtual DOM, performance benchmarks for keyed diff operations, compile-time serialization (const-serialize) for asset metadata, and memory safety tests via Miri. These elements demonstrate a strong investment in correctness and performance engineering.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 6 reusable components found
square/leakcanary ★ 30000 3995 APPLICATION

LeakCanary is a sophisticated memory leak detection library for Android and Java, developed by Square. In production, it integrates into Android applications to automatically monitor object allocations, trigger heap dumps upon detecting suspicious memory growth, and analyze these dumps to identify leaking objects. It provides detailed leak traces showing the reference path from GC roots to the leaking object, helping developers pinpoint the root cause. The project also includes Shark Dive, a powerful desktop application for interactive heap dump exploration using treemap, radial, and stack visualizations, and a CLI tool for batch analysis. The architecture is a multi-module monorepo with a clean separation of concerns. The core analysis engine (shark) is platform-independent, handling HPROF parsing, heap graph construction, dominator tree computation (Lengauer-Tarjan), and shortest path finding. Android-specific modules (leakcanary-android-*) provide lifecycle integration, UI, and notification handling. The desktop app (shark-dive-app) is built with Kotlin Compose UI and features an agent protocol for AI-assisted analysis. The codebase is primarily Kotlin, leveraging Okio for I/O and Gradle for building. The repository exhibits exceptionally high craftsmanship. It implements complex graph algorithms (dominator trees, multi-strength BFS reachability, squarified treemap layout) with clear, well-tested code. It solves hard engineering problems like sorting data larger than 2GB (PagedByteArrayTimSort) and building memory-efficient indexes. While actively maintained, the codebase shows some technical drift with deprecated APIs and TODOs, but the core algorithms and architecture are timeless and robust. It is a prime example of a well-engineered, domain-specific analysis tool.

RATING: 9.5/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
Tencent/ncnn ★ 23942 4522 APPLICATION

ncnn is a high-performance neural network inference framework designed for mobile, embedded, and desktop deployment. It provides a self-contained C++ library with no mandatory external dependencies, supporting CPU inference with extensive SIMD optimizations (ARM NEON, x86 SSE/AVX/AVX512, RISC-V Vector, MIPS MSA, LoongArch LSX/LASX) and GPU inference via Vulkan. The framework includes a comprehensive set of neural network layers (convolution, pooling, normalization, activation, recurrent, attention, etc.) and supports multiple data types (float32, float16, bfloat16, int8). The companion pnnx tool converts models from PyTorch (TorchScript) and ONNX into ncnn format using a sophisticated graph rewriting pipeline. Python bindings and a model zoo are provided for rapid prototyping. The codebase is production-grade, used in Tencent applications like QQ and WeChat, and is actively maintained with support for modern architectures and operations (e.g., scaled dot-product attention, rotary embeddings).

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
reactiveui/ReactiveUI ★ 8548 1151 APPLICATION

ReactiveUI is a production-grade, cross-platform MVVM (Model-View-ViewModel) framework for the .NET ecosystem. Its architecture is centered around reactive primitives (ReactiveObject, ReactiveProperty, IObservable) that form the backbone of its view model layer. The framework employs a fluent builder pattern (RxAppBuilder) for application initialization, a custom dependency injection system ('Splat'), and extensive source code generation to provide a type-safe, AOT-compatible binding and view resolution system. It abstracts platform-specific UI toolkits (WPF, WinUI, MAUI, WinForms, AndroidX, iOS/macOS UIKit, Blazor) behind a consistent set of interfaces (IViewFor<T>, IRoutableViewModel, IActivatableViewModel). The codebase demonstrates strong engineering practices, including a sophisticated reactive command pattern (ReactiveCommand), a typed message bus (MessageBus), a state persistence lifecycle (SuspensionHost), and a collection change-set streaming mechanism (ReactiveChangeSet). A significant portion of the code is dedicated to ensuring Ahead-of-Time (AOT) compilation safety, avoiding reflection where possible through generic view resolution and explicit registration, which is a non-trivial and well-executed design constraint. The repository includes extensive unit tests, platform-specific integration tests, and performance benchmarks. While the framework is actively maintained (evidenced by recent commits, low open issue count, and zero Dependabot alerts), its ambitious scope introduces inherent complexity. The reliance on a custom DI framework, conditional compilation flags (REACTIVE_SHIM), and the maintenance burden of supporting eight distinct UI platforms are notable architectural trade-offs. Despite this, the core abstractions are cleanly separated, highly reusable, and represent a high standard of craftsmanship in the .NET reactive programming space.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 6 reusable components found
CymChad/BaseRecyclerViewAdapterHelper ★ 24571 5168 APPLICATION

BaseRecyclerViewAdapterHelper is a powerful and flexible RecyclerView adapter library for Android. It simplifies RecyclerView implementation by providing enhanced adapters with features like multiple view types, load more functionality, drag and swipe capabilities, item animations, header/footer support, and DiffUtil integration. The library is architecturally sound with a clean separation of concerns, offering BaseQuickAdapter as its foundation along with specialized adapters for different use cases. It's actively maintained with up-to-date dependencies and demonstrates strong Android engineering practices.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
deckerst/aves ★ 5387 243 APPLICATION

Aves is a Flutter-based mobile application (primarily Android, given the extensive Kotlin platform code) that functions as a high-performance media gallery and manager. It browses local storage, indexes media into a SQLite database, extracts and allows editing of extensive metadata (EXIF, XMP, IPTC, MP4), and provides a rich viewing experience including maps, video playback with subtitle support, and custom gesture-driven zoom/pan. The codebase is notable for its modular plugin architecture (magnifier, map, video, model, services), its defensive approach to parsing potentially corrupt media files on the native Android side, and its comprehensive internationalization and multi-calendar support. It is a mature, actively developed application with a strong focus on user experience and data integrity.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
appwrite/appwrite ★ 57554 5757 APPLICATION

Appwrite is an open-source backend-as-a-service (BaaS) platform that provides a comprehensive set of APIs for authentication, databases, storage, serverless functions, messaging, realtime, and more. The codebase is a hybrid monolithic-microservice architecture: a central PHP application (using the Swoole coroutine-based HTTP server) handles REST, GraphQL, and WebSocket requests, while background workers (over 20 types) process asynchronous tasks such as email delivery, function execution, database migrations, and usage analytics. The platform supports multiple database backends (MariaDB, MongoDB, PostgreSQL, ClickHouse) and a variety of messaging providers (SMS, email, push). It is designed for multi-tenant deployments with per-project isolation, OAuth2 social login, and extensive API versioning. The repository also contains a large collection of reusable PHP packages (the Utopia framework) that provide caching, queueing, query building, DNS resolution, NATS messaging, HTTP client, PSR-7 implementation, and more. These packages are independently published and can be extracted for use in other projects.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 4 reusable components found
android/architecture-samples ★ 45851 11848 APPLICATION

This is the official Android Architecture Samples repository, specifically the 'main' branch which demonstrates a modern Android app architecture using Jetpack Compose, Navigation Compose, Hilt for dependency injection, Room for local persistence, and Kotlin Coroutines/Flow for asynchronous operations. The app is a simple TODO list manager with CRUD operations, filtering, and statistics. It showcases a single-activity architecture with a navigation graph, a data layer with repository and two data sources (local Room database and a fake network), and a presentation layer with ViewModels and Compose screens. The codebase is well-structured, follows clean architecture principles, and includes extensive unit, integration, and end-to-end tests. It is intended as a learning reference for Android developers, not as a production template.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 3 reusable components found
airbnb/lottie-android ★ 35734 5423 APPLICATION

This repository is the core Android implementation of the Lottie animation library, designed to render vector-based animations (exported from Adobe After Effects as JSON) natively on Android devices. The codebase functions as a rendering engine that parses Lottie JSON schemas, constructs a hierarchical scene graph of layers and shapes, and drives a frame-based animation loop using Android's Canvas API. It supports two primary integration points: a traditional View-based API (LottieAnimationView) for XML layouts and a Jetpack Compose API (LottieAnimation) for modern declarative UIs. The system handles complex rendering features including masks, mattes, gradients, text, and dynamic property overrides at runtime. Architecturally, the project is a multi-module Gradle build consisting of a core library (lottie), a Compose integration module (lottie-compose), and extensive testing/sampling infrastructure. The core logic relies on a custom JSON parser (JsonReader) to deserialize animation data into model objects (LottieComposition), which are then rendered by LottieDrawable or LottiePainter. The architecture emphasizes performance through offscreen rendering strategies (OffscreenLayer) and memory management via bitmap pooling. It also implements a robust caching system (LottieCompositionCache) and async loading mechanisms (LottieCompositionFactory) to handle network and asset sources efficiently. The codebase demonstrates high craftsmanship in its rendering engine, particularly in handling edge cases like 3D rotations, blend modes, and text rendering across different Android API levels. It maintains parity between View and Compose implementations, ensuring consistent behavior across UI paradigms. The testing strategy is rigorous, utilizing snapshot testing (snapshot-tests) to verify visual fidelity across various hardware configurations and API levels, preventing visual regressions in the complex rendering logic.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 3 reusable components found
$ loading more...
$ submit: