# soveran/ohm

Object-Hash Mapping for Redis

Repository: https://github.com/soveran/ohm
Canonical: https://ross.abutalabs.com/products/soveran-ohm
Homepage: http://ohm.keyvalue.org
Language: Ruby
License: MIT
License Family: permissive
Topics: ohm, redis, ruby, lesscode
Last push: 2022-12-20T11:06:01+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 6308, "days_push": 1352, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1382, forks 163 (observed 2026-08-28T04:04:34.470576+00:00)

## What it is
Ohm is a Ruby object-hash mapping (ORM-like) library for Redis, letting you persist and query Ruby objects in a Redis key-value store. It emphasizes simplicity and performance with a lightweight Redis client.

## Use cases
- store Ruby objects in Redis
- use Redis as a persistent database for models
- map hashes to Ruby objects
- build simple data models without a SQL database
- query and index objects stored in Redis

## When to choose
- you use Ruby and want a minimal, fast object mapper for Redis
- your data model fits key-value/hash storage without relational joins
- you want less code and fewer dependencies than a full ORM

## When to avoid
- you need relational features like joins, migrations, or complex transactions
- you need an actively developed library with frequent updates
- your project uses a language other than Ruby

## Facets
- artifact type: library
- maturity: maintenance
- function: orm, database-driver, database
- domain: databases, developer-tools, backend
- platform: ruby
- tags: redis, object-mapping, key-value-store, persistence

## Member repositories
- soveran/ohm (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:34.470576+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:08.223576+00:00, confidence not recorded.
  - readme: https://github.com/soveran/ohm (fetched 2026-08-28T04:04:34.470576+00:00, sha 1d01379ad3b7)
  - homepage: http://ohm.keyvalue.org (fetched 2026-08-29T11:55:56.815514+00:00, sha 70aeb87af707)
- Data as of 2026-08-30T08:39:29.467469+00:00.
