philss/floki
Floki is a simple HTML parser that enables search for nodes using CSS selectors. observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 87
- Release rhythm 77
- 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: 62
- age_days: 4322
- days_rel: 79
- days_push: 79
- n_releases_24m: 8
Adoption not part of the score
2149 stars · 163 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Floki is an Elixir HTML parser that lets you search document nodes using CSS selectors. It supports multiple parsing backends (mochiweb_html, html5ever, fast_html) and can serialize nodes back to raw HTML.
Use cases
- parse html documents in elixir
- find elements with css selectors
- scrape data from web pages
- extract links and attributes from html
- convert html fragments back to raw html
- query html in phoenix tests
When to choose
- you're working in Elixir or Erlang and need HTML parsing
- you want CSS selector-based querying of HTML trees
- you need a pure-BEAM parser with optional fast native backends
When to avoid
- you need a full browser or JavaScript execution for scraping
- you're parsing non-HTML markup like XML or JSON
- you need streaming parsing of very large documents
Facets
library · maturity stable
parser web-scraping developer-tools parsers web-development crawlers elixir jvm html-parsing css-selectors html5ever fast-html beam
6 sources
- readme: https://github.com/philss/floki · fetched 2026-08-28 · 20216fcee06d
- homepage: https://hex.pm/packages/floki · fetched 2026-08-29 · 0ad8ccb09ce2
- site_page: https://hex.pm/docs · fetched 2026-08-29 · 3f449054c5e0
- site_page: https://hex.pm/about · fetched 2026-08-29 · 627eac420427
- site_page: https://hex.pm/docs/faq · fetched 2026-08-29 · 2914acf2582a
- site_page: https://hex.pm/pricing · fetched 2026-08-29 · b0a5082843ed
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| philss/floki | main | 86 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem