Trending Projects for July 05, 2026

Discover libraries that are gaining popularity within the Ruby community. You can find an overview of how we calculate these in our documentation.

ruby-coverage

A native reimplementation of Ruby's Coverage module with accumulating line counts.

prebake

Prebake speeds up bundle install by skipping native gem compilation. It fetches precompiled binaries for gems like puma, nokogiri, pg, grpc, and bootsnap from a shared cache instead of compiling C extensions from source. Drop-in Bundler plugin - one line in your Gemfile, no other changes needed. Works out of the box with the hosted cache at gems.prebake.in, or self-host with S3-compatible stora...

langsmith-sdk

A Ruby client for LangSmith, providing tracing and observability for LLM applications

rubocop-gusto

A gem for sharing gusto rubocop rules

ruby_llm-tribunal

Tribunal provides tools for evaluating LLM outputs, detecting hallucinations, measuring response quality, and ensuring safety. Features deterministic assertions, LLM-as-judge evaluations, red team attack generation, and multiple output formats. A RubyLLM plugin inspired by the Elixir Tribunal library.

philiprehberger-ini_parser

Parse and generate INI configuration files with sections, inline comments, multiline values, escape sequences, quoted values, and automatic type coercion for booleans and numbers.

philiprehberger-encoding_kit

Detect encoding from BOM and heuristics with confidence scores, convert between encodings, normalize to UTF-8, analyze byte distributions, and handle Windows codepages. Zero dependencies.

philiprehberger-math_kit

Descriptive statistics, linear interpolation, rounding modes, and moving averages. Lightweight math toolkit with zero dependencies.

philiprehberger-debounce

Debounce delays execution until a quiet period elapses. Throttle limits execution frequency. Both are thread-safe with leading/trailing edge options and cancel/flush control.

philiprehberger-hash_ring

Consistent hash ring with virtual nodes, weighted members, and replication support. Minimal key redistribution when nodes are added or removed.

philiprehberger-changelog_parser

Parse Keep a Changelog formatted markdown files with version querying, category management, release creation, and markdown write-back support.

philiprehberger-bit_field

Named bit flags with a DSL for defining flags at bit positions, symbolic read/set/clear/toggle, flag groups, bulk operations, bitwise OR/AND/XOR, JSON/hash serialization, and Comparable support.

philiprehberger-state_bag

Thread-local key-value state bag with scoped overrides via blocks, automatic restoration, and thread isolation for implicit context propagation.

philiprehberger-approx

Compare numeric values, arrays, and hashes for approximate equality using configurable epsilon tolerance with deep comparison support.

philiprehberger-pathname_kit

Pathname utility library providing atomic writes, safe deletes, directory creation, glob-based file finding, tempfile helpers, copy, move, checksum, append, and file comparison. All operations handle edge cases gracefully.

philiprehberger-color_convert

A color conversion library supporting hex, RGB, HSL, and HSV formats with parsing, manipulation (lighten, darken, saturate, desaturate), contrast ratio calculation, and all 148 CSS named colors.

philiprehberger-compact_id

Convert UUIDs to compact Base58 or Base62 representations (22 chars vs 36). Guaranteed roundtrip encoding, URL-safe output, and built-in UUID generation.

philiprehberger-hex

Encode and decode hexadecimal strings with 0x prefix handling, produce xxd-style hex dumps, format hex output with configurable grouping, swap endianness, extract byte ranges, pad hex strings, convert between hex and integers, and validate hex strings.

philiprehberger-circuit_board

Health check framework that aggregates dependency checks with configurable timeouts and optional parallel execution. Provides a DSL for defining checks, aggregated status reporting with filtering and JSON output, and Rack middleware for /health, /health/ready, and /health/live endpoints.

philiprehberger-base64_url

URL-safe Base64 encoding and decoding using Base64.urlsafe_encode64/decode64 with no padding by default and convenience methods for JSON round-tripping.

philiprehberger-regex_lib

A library of tested, documented regex patterns for common data formats. Includes named captures, validation helpers, and extraction methods.

philiprehberger-natural_sort

Natural sort for strings containing numbers. Splits strings into text and numeric chunks and compares them the way humans expect: "file2" sorts before "file10".

philiprehberger-counter

Count element frequencies from any enumerable with most-common and least-common queries, merge and subtract operations, percentage calculations, and Enumerable support.

philiprehberger-locale_kit

Parse BCP 47 language tags, negotiate content language from Accept-Language headers, and match locales with fallback chains. Zero dependencies.

philiprehberger-base_convert

Encode and decode data in Base32 (Crockford), Base58 (Bitcoin), Base62, and Base85 (ASCII85) formats. Also supports arbitrary base encoding for integers from base 2 to 62.

philiprehberger-deep_freeze

Recursively freeze entire object graphs (hashes, arrays, strings, structs, Data) to create truly immutable data structures. Includes deep_dup, deep_frozen?, deep_equal?, deep_diff, deep_freeze_all, deep_clone, and freeze_hash_keys. Handles circular references and selective key exclusion.

philiprehberger-expiring_map

A thread-safe hash map where each key has its own TTL, with automatic expiration, max size eviction, expiration callbacks, and Enumerable support.

philiprehberger-etag

Generate strong and weak ETags, evaluate If-None-Match and If-Match headers, and serve 304 Not Modified responses via included Rack middleware.

philiprehberger-enum

Define type-safe enums in Ruby with automatic ordinals, custom values, lookup methods, and Ruby 3.x pattern matching support. A cleaner alternative to ad-hoc constants and symbol sets.

philiprehberger-batch

Processes collections in configurable chunks with progress tracking callbacks and per-item error collection. Returns detailed results including processed count, error entries, chunk count, and elapsed time.

philiprehberger-typed_hash

Define typed hash schemas with per-key type declarations, optional coercion functions, default values, strict mode for unknown keys, nested schemas, pick/omit, JSON serialization, freeze, diff, and validation error collection.

philiprehberger-dot_access

Access deeply nested hash values using dot notation (config.database.host) with nil-safe traversal that never raises on missing keys. Supports path-based get/set, YAML/JSON loading, and immutable updates.

philiprehberger-file_watcher

Watch files and directories for changes using polling. Detects created, modified, and deleted files with configurable intervals and glob patterns.

philiprehberger-image_size

Reads width, height, format, DPI, and color depth from image file headers (PNG, JPEG, GIF, BMP, WebP, TIFF, ICO, SVG, AVIF) without loading the full image. Zero dependencies, fast, and memory-efficient.

philiprehberger-struct_kit

Define data classes with typed fields, default values, validation rules, and pattern matching support. Immutable by default with keyword-only construction, JSON/Hash serialization, and runtime type checking.

philiprehberger-guard_clause

A chainable guard clause DSL for validating method preconditions with built-in checks for nil, empty, numeric bounds, type checking, range, length, regex matching, inclusion, custom predicates, string prefix/suffix, and soft mode error collection.

philiprehberger-geo_point

Geographic point calculations including Haversine/Vincenty distance, bearing, midpoint, destination point, geohash encoding/decoding, cross-track distance, polygon containment, rhumb line navigation, bounding box, and DMS formatting. Zero dependencies.

philiprehberger-rule_engine

A lightweight rule engine with a declarative DSL for defining conditions and actions. Supports priority-based ordering, rule tagging with selective evaluation, first-match and all-match modes, dry run, conflict detection, serialization, chaining, and per-rule execution statistics.

philiprehberger-event_store

Thread-safe in-memory event store for CQRS patterns. Supports named streams, event appending, stream reading, subscriber notifications, and state projections.

philiprehberger-interval

Interval data type supporting closed, open, and half-open boundaries with overlap detection, containment, intersection, union, subtraction, shift, scale, split, clamp, merging collections, and finding gaps. Works with any Comparable type including Numeric and Time.

philiprehberger-bloom_filter

Bloom filter implementation using a bit array with double hashing. Supports configurable expected items and false positive rate, merge, serialization, and memory usage reporting.

philiprehberger-ring_buffer

Fixed-capacity ring buffer that overwrites oldest entries on overflow, with index access, push/pop/shift mutation, oldest/newest peek, built-in statistics (average, sum, min, max, variance, stddev, median), first/last-n retrieval, and Enumerable support.

philiprehberger-queue_stack

Thread-safe queue and stack data structures with configurable capacity limits, blocking enqueue/dequeue with timeouts, and peek operations. Uses Mutex and ConditionVariable for safe concurrent access.

philiprehberger-priority_queue

A binary heap-based priority queue supporting min-heap, max-heap, and custom comparator modes. Features O(log n) push/pop, priority changes, merge operations, and FIFO tie-breaking.