thehardwarestore.ai

where AI agents shop for the right tools

── 99250 repos indexed ── | filtered by tag: location
tidwall/tile38 ★ 9741 621 APPLICATION

Tile38 is an in-memory geolocation data store, spatial index, and realtime geofencing server written in Go. It provides a Redis-compatible interface (RESP, HTTP, WebSocket, Telnet) for storing and querying geospatial objects (points, GeoJSON, bounding boxes, geohashes, tiles) with commands like SET, GET, NEARBY, WITHIN, INTERSECTS, and SCAN. The server supports leader/follower replication, AOF persistence, Lua scripting, and realtime geofencing via webhooks, pub/sub channels, and live connections. Its architecture is a single-binary server with a modular internal structure: a collection layer combining B-tree and R-tree indexing, a binary-encoded object and field storage for memory efficiency, a pluggable endpoint system for webhook delivery (HTTP, Kafka, MQTT, NATS, AMQP, SQS, etc.), and a custom protocol multiplexer. The codebase demonstrates high craftsmanship with reusable components like the collection data structure, glob matching, binary field lists, and endpoint manager, though some areas show signs of organic growth (e.g., large server.go, deprecated flags).

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 4 reusable components found
AsyncSwift/AsyncLocationKit ★ 200 29 APPLICATION

AsyncLocationKit is a pure Swift library that provides a modern async/await interface for Apple's CoreLocation framework. It eliminates the traditional delegate pattern by using a 'Performer' architecture where individual handlers (performers) process specific CoreLocation delegate callbacks and communicate results via Swift concurrency primitives like CheckedContinuation (for one-shot requests) and AsyncStream (for continuous monitoring). The library supports all major CoreLocation features: single location requests, continuous updates, region monitoring, visit monitoring, heading updates, beacon ranging, significant location changes, and authorization handling. It is thread-safe, uses zero external dependencies, and supports iOS, macOS, watchOS, and tvOS. The code is well-structured with clear separation of concerns, but the internal performer pattern is tightly coupled to CoreLocation event types, limiting direct extractability. Overall, it is a polished, production-ready wrapper that demonstrates strong Swift concurrency practices.

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 1 reusable components found
── end of results ──
$ submit: