# mthli/Knife

Knife is a rich text editor component for writing documents in Android.

Repository: https://github.com/mthli/Knife
Canonical: https://ross.abutalabs.com/products/knife
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android, rich-text-editor
Last push: 2016-07-15T06:35:59+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3921, "days_push": 3701, "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 2093, forks 243 (observed 2026-08-28T04:06:12.591866+00:00)

## What it is
Knife is an Android rich text editor component extending EditText, offering one-line styling APIs for bold, italic, underline, bullets, quotes, and links, plus undo/redo and HTML import/export. It is distributed via JitPack and written in Java.

## Use cases
- add rich text editing to an android app
- let users bold and italicize text in a note editor
- import and export documents as html on android
- build a wysiwyg text editor with bullets and quotes
- add undo and redo to a text editor component

## When to avoid
- you need image insertion, which is unimplemented
- you need a maintained library with recent updates and support for modern Android
- you need cross-platform rich text editing

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, form-handling, markdown
- domain: mobile-development, android-tools, text-editors
- platform: -
- tags: rich-text-editor, edittext, html-export, wysiwyg, android

## Member repositories
- mthli/Knife (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:12.591866+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:55:28.814225+00:00, confidence not recorded.
  - readme: https://github.com/mthli/Knife (fetched 2026-08-28T04:06:12.591866+00:00, sha b1a37a991022)
- Data as of 2026-08-30T08:39:29.467469+00:00.
