# cessen/ropey

A utf8 text rope for manipulating and editing large texts.

Repository: https://github.com/cessen/ropey
Canonical: https://ross.abutalabs.com/products/ropey
Language: Rust
License: MIT
License Family: permissive
Last push: 2026-08-04T23:58:56+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 3192, "days_push": 29, "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 1666, forks 70 (observed 2026-08-28T04:05:19.015061+00:00)

## What it is
Ropey is a fast and robust UTF-8 text rope library for Rust, designed as the backing text buffer for applications like text editors. It handles frequent edits to large texts with predictable performance and strong Unicode correctness.

## Use cases
- build a text editor with an efficient backing text buffer
- manipulate and edit very large text files in memory
- perform frequent insertions and deletions on text with predictable performance
- handle Unicode text safely without creating invalid UTF-8
- convert between char indices, UTF-16 code units, and line numbers
- load and save text files to and from readers and writers

## When to avoid
- your texts are consistently very small (under a couple of kilobytes), where rope chunk allocation adds bloat
- you need to handle texts larger than available memory, since Ropey is an in-memory data structure
- you need a minimal data structure without the overhead of tracking line endings and Unicode scalar values

## Facets
- artifact type: library
- maturity: stable
- function: file-system, parser, developer-tools
- domain: text-editors, developer-tools, files
- platform: rust, cross-platform
- tags: rope, text-buffer, utf8, unicode, data-structure

## Member repositories
- cessen/ropey (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:19.015061+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-30T03:42:57.970701+00:00, confidence not recorded.
  - readme: https://github.com/cessen/ropey (fetched 2026-08-28T04:05:19.015061+00:00, sha f7a564ebed56)
  - registry_crates: https://crates.io/api/v1/crates/ropey (fetched 2026-08-29T11:16:16.216772+00:00, sha 536c8b9a0220)
- Data as of 2026-08-30T08:39:29.467469+00:00.
