# MontFerret/ferret

Declarative data automation language and Go runtime for structured extraction workflows.

Repository: https://github.com/MontFerret/ferret
Canonical: https://ross.abutalabs.com/products/ferret
Homepage: https://www.ferretlang.org
Language: Go
License: Apache-2.0
License Family: permissive
Topics: golang, query-language, dsl, go, library, browser-automation, chrome-devtools-protocol, data-automation, data-extraction, golang-library, html, runtime, web-crawling, web-scraping
Last push: 2026-08-25T23:50:17+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 54, longevity 100
- inputs: {"age_days": 2932, "days_push": 8, "days_rel": 97, "gap_med": 385, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6008, forks 323 (observed 2026-08-28T04:09:34.219562+00:00)

## What it is
Ferret is a declarative, expression-oriented query language (FQL) with an embeddable Go runtime for querying, transforming, and automating structured data from web pages, APIs, databases, and files. It supports browser-driven scraping via Chrome DevTools Protocol and can be embedded in Go applications or run as WebAssembly in JavaScript environments.

## Use cases
- scrape product prices from dynamic web pages
- extract structured data from html
- query rest apis and transform results declaratively
- embed a data extraction runtime in a go application
- run web scraping scripts in node or the browser via wasm
- pull data from sqlite or xlsx files with a query language
- automate browser interactions to wait for and collect page content

## When to choose
- you need declarative, scriptable web scraping with dynamic page support via CDP
- you want an embeddable data automation runtime with capability-based host control in Go
- you prefer a purpose-built query language over writing bespoke scraping code
- you need the same extraction scripts to run in Go, Node.js, or browsers

## When to avoid
- you need a general-purpose scripting language for broad automation tasks
- your project requires a stable v2 release - v2 is still in alpha
- you want a simple one-off scraper without learning a new DSL
- you need heavy JavaScript execution beyond what CDP-driven pages provide

## Facets
- artifact type: library
- maturity: active
- function: web-scraping, parser, interpreter, programming-language, http-client, data-science, etl
- domain: web-development, developer-tools, crawlers, programming-languages
- platform: go, windows, cli, wasm, browser, cross-platform
- tags: query-language, dsl, fql, browser-automation, chrome-devtools-protocol, data-extraction, embeddable-runtime, html-scraping, declarative-language, data-engineering, automation, linux, macos, nodejs

## Member repositories
- MontFerret/ferret (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.219562+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-29T17:49:47.492128+00:00, confidence not recorded.
  - readme: https://github.com/MontFerret/ferret (fetched 2026-08-28T04:09:34.219562+00:00, sha 7c9f833bd040)
  - homepage: https://www.ferretlang.org (fetched 2026-08-29T08:45:50.931906+00:00, sha a0f167e2bc16)
  - site_page: https://ferretlang.org/docs (fetched 2026-08-29T08:45:50.934707+00:00, sha 1e6f9cbceac5)
  - site_page: https://ferretlang.org/docs/getting-started (fetched 2026-08-29T08:45:50.936416+00:00, sha c56f0606691e)
  - site_page: https://ferretlang.org/docs/tools/cli/installation (fetched 2026-08-29T08:45:50.939666+00:00, sha eb25a7a2fbc4)
  - site_page: https://ferretlang.org/docs/embedding (fetched 2026-08-29T08:45:50.941305+00:00, sha 9a07cec408f6)
  - site_page: https://ferretlang.org/docs/embedding/javascript (fetched 2026-08-29T08:45:50.942849+00:00, sha bd57d31496dc)
  - site_page: https://ferretlang.org/docs/tools/visual-studio-code (fetched 2026-08-29T08:45:50.944349+00:00, sha 612b4c9dad2e)
  - site_page: https://ferretlang.org/try (fetched 2026-08-29T08:45:50.938057+00:00, sha 5858ab450441)
  - site_page: https://ferretlang.org/registry (fetched 2026-08-29T08:45:50.946105+00:00, sha 6b567dd664c7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
