# psharanda/Atributika

Convert text with HTML tags, links, hashtags, mentions into NSAttributedString. Make them clickable with UILabel drop-in replacement.

Repository: https://github.com/psharanda/Atributika
Canonical: https://ross.abutalabs.com/products/atributika
Language: Swift
License: MIT
License Family: permissive
Topics: swift, nsattributedstring, html, ios, attributedstring, uilabel, uitextview, hashtag, tags, textkit, html-parser
Last push: 2024-06-11T23:44:21+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": 3769, "days_push": 813, "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 1508, forks 157 (observed 2026-08-28T04:04:55.592720+00:00)

## What it is
Atributika is a Swift library for building NSAttributedString from HTML-like text, detecting and styling tags, links, phone numbers, hashtags, and mentions. Its companion AtributikaViews provides UILabel/UITextView drop-in replacements with clickable, highlightable links and accessibility support.

## Use cases
- render html-like strings in a uilabel
- make hashtags and mentions clickable in ios text
- convert html tags to nsattributedstring
- detect links and phone numbers in text and style them
- build attributed strings from localization templates
- drop-in replacement for uilabel with tappable links

## When to choose
- you need to style template strings with inline tags on Apple platforms
- you want clickable hashtags, mentions, or links in UILabel/UITextView
- you need a fast, lightweight HTML-subset parser for attributed text

## When to avoid
- you need full HTML/CSS rendering in a web view
- your app targets non-Apple platforms
- you need rich document layout rather than inline text styling

## Facets
- artifact type: library
- maturity: active
- function: parser, ui-components, templating
- domain: mobile-development, frontend
- platform: -
- tags: nsattributedstring, uilabel, textkit, hashtags, mentions, html-in-text, clickable-links, natural-language-processing, swift, ios, macos, mobile

## Member repositories
- psharanda/Atributika (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:55.592720+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:32:34.115209+00:00, confidence not recorded.
  - readme: https://github.com/psharanda/Atributika (fetched 2026-08-28T04:04:55.592720+00:00, sha bb351f0d3e0c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
