raspu/Highlightr
iOS & OSX Syntax Highlighter. observed · 2026-08-28
Health v2 · maintenance only
53/100
- Activity 67
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3776
- days_rel: 441
- days_push: 201
- n_releases_24m: 1
Adoption not part of the score
1868 stars · 304 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Highlightr is a Swift library for iOS and macOS that wraps highlight.js via JavaScriptCore to convert code strings into syntax-highlighted NSAttributedStrings. It supports 185 languages and 89 themes, including real-time highlighting through an NSTextStorage subclass. As of 2026 it is no longer actively maintained.
Use cases
- highlight code snippets in an iOS app
- render syntax-highlighted code in a macOS text view
- build a real-time code editor with live highlighting on Apple platforms
- convert a string of source code into an NSAttributedString with colors
- support many programming languages with automatic language detection
- apply custom themes to code display in Swift apps
When to choose
- you need syntax highlighting in an iOS or macOS app with broad language support
- you want NSAttributedString output for UITextView or NSTextView
- you prefer highlight.js themes and language coverage over a native parser
When to avoid
- you need an actively maintained dependency (the project is abandoned; consider HighlighterSwift)
- you need maximum performance for very large files
- you target platforms other than iOS or macOS
Facets
library · maturity abandoned
ui-components parser developer-tools text-editors frontend syntax-highlighting highlightjs nsattributedstring javascriptcore swift ios macos
1 source
- readme: https://github.com/raspu/Highlightr · fetched 2026-08-28 · d80bd864c998
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| raspu/Highlightr | main | 53 |
For agents
markdown · JSON · MCP: product_card(name="raspu/Highlightr")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem