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

A lightweight runtime assertion library for Ruby with chainable matchers, soft assertions, and Design by Contract preconditions.

philiprehberger-audit_trail

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

philiprehberger-env_diff

Parse .env files or environment hashes, compare them, and get a clear report of added, removed, changed, and unchanged variables.

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

A Ruby library for deep structural diffing of hashes, arrays, and nested objects with apply/revert, JSON Patch output, similarity scoring, and configurable ignore paths.

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

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

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

A Ruby library for functional pipeline composition with named steps, pipeline composition, reusable call/to_proc interface, intermediate value capture, conditional guards, and built-in error handling for clean data transformations.

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

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

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

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

philiprehberger-locale_kit

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

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

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