# mojombo/grit

**Grit is no longer maintained. Check out libgit2/rugged.** Grit gives you object oriented read/write access to Git repositories via Ruby.

Repository: https://github.com/mojombo/grit
Canonical: https://ross.abutalabs.com/products/grit
Homepage: http://grit.rubyforge.org/
Language: Ruby
License: MIT
License Family: permissive
Last push: 2023-08-17T19:15:41+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 6883, "days_push": 1112, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2034, forks 512 (observed 2026-08-28T04:06:07.882176+00:00)

## What it is
Grit is a Ruby library providing object-oriented read/write access to Git repositories, mixing shell-outs to the git binary with pure Ruby reimplementations. It was developed to power GitHub but is explicitly no longer maintained, with rugged recommended as its successor.

## Use cases
- read commits from a git repository in ruby
- traverse git trees and blobs programmatically
- write to git repositories from a ruby application
- build git repository browsing features
- inspect commit history of a repo

## When to choose
- you are maintaining a legacy ruby codebase already using grit
- you need a pure-ruby object model over git data and cannot use libgit2 bindings

## When to avoid
- starting a new ruby project that needs git access - use rugged instead
- you need maintained software or bug fixes
- you need modern git features or performance

## Facets
- artifact type: library
- maturity: abandoned
- function: version-control, developer-tools
- domain: version-control, developer-tools
- platform: ruby
- tags: git, ruby-gem, object-oriented-api, unmaintained, linux, macos

## Member repositories
- mojombo/grit (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:07.882176+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-30T02:59:24.474672+00:00, confidence not recorded.
  - readme: https://github.com/mojombo/grit (fetched 2026-08-28T04:06:07.882176+00:00, sha 777cac2e8aed)
- Data as of 2026-08-30T08:39:29.467469+00:00.
