Trending Projects for June 28, 2026

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

bloom_fit

Bloom filters for Ruby with automatic sizing and a fast native in-memory core, with a small, Set-like API.

exwiw

Export What I Want (Exwiw) is a Ruby gem that allows you to export records from a database to a dump file.

philiprehberger-password

Validate passwords against configurable policies (length, complexity, common password dictionary, context-aware checks), score strength with entropy-based and zxcvbn-style analysis, detect keyboard patterns and sequences, hash with bcrypt, and generate secure random passwords, passphrases, and PINs.

philiprehberger-task_queue

A lightweight, zero-dependency, thread-safe in-process async job queue with configurable concurrency for Ruby applications.

philiprehberger-template

A lightweight Mustache-style template engine supporting variable interpolation, sections, inverted sections, and nested scopes with safe rendering that never raises on missing variables.

philiprehberger-cron_kit

A zero-dependency Ruby gem for parsing 5-field cron expressions and running an in-process scheduler. Supports wildcards, ranges, steps, and lists.

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...

philiprehberger-http_client

A zero-dependency HTTP client built on Ruby's net/http with automatic retries, request/response interceptors, and a clean API for JSON services.

philiprehberger-phone

Parse phone numbers from various formats, validate against country rules, and format as E.164, national, or international. Supports 36 countries with phone type detection, area code lookup, vanity number conversion, SMS shortcode validation, and carrier identification — all without external dependencies.

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-changelog_parser

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

philiprehberger-approx

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

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-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-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-counter

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

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-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-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-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-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-math_kit

Descriptive statistics, linear interpolation, rounding modes, and moving averages. Lightweight math toolkit with 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-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-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.

philiprehberger-dependency_graph

Build and resolve dependency graphs using topological sort, detect cycles, generate parallel execution batches, query dependencies and dependents, find shortest paths, and extract subgraphs.

philiprehberger-graph

Graph data structure supporting directed and undirected modes with adjacency list storage. Includes BFS, DFS, Dijkstra shortest path, topological sort, cycle detection, connected components, minimum spanning tree, maximum flow, graph coloring, bipartiteness checking, strongly connected components, and DOT/JSON serialization.

philiprehberger-tree

A generic tree data structure supporting depth-first and breadth-first traversal, node search, path finding, and hash serialization. Each node tracks its parent, children, depth, height, and size.

philiprehberger-stopwatch

High-resolution stopwatch using monotonic clock with start, stop, reset, lap timing, pause/resume support, and a class-level measure helper for block timing.

philiprehberger-audit_trail

A lightweight audit trail library for tracking changes to hashes and objects with actor, action, diff, and timestamp support.

philiprehberger-rate_counter

Measure event rates (requests/sec, errors/min) using a sliding window counter. Thread-safe, no background threads, supports named counter registries.