philss/floki
Some data may be outdated — see provenance labels.
Floki is a simple HTML parser that enables search for nodes using CSS selectors. observed · 2026-09-25
Health v2 · maintenance only
87/100
- Activity 96
- Release rhythm 69
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 62
- age_days: 4370
- days_rel: 127
- days_push: 28
- n_releases_24m: 8
Adoption not part of the score
2148 stars · 164 forks observed · 2026-09-25
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-09-25 · 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 | 87 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem