# sourcegraph/webloop

WebLoop: Scriptable, headless WebKit with a Go API. Like PhantomJS, but for Go.

Repository: https://github.com/sourcegraph/webloop
Canonical: https://ross.abutalabs.com/products/webloop
Homepage: https://sourcegraph.com/github.com/sourcegraph/webloop
Language: Go
License: BSD-3-Clause
License Family: permissive
Last push: 2024-04-01T14:59:22+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4693, "days_push": 884, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1369, forks 82 (observed 2026-08-28T04:04:31.802590+00:00)

## What it is
WebLoop is a scriptable, headless WebKit browser with a Go API, comparable to PhantomJS but for Go. It can render static HTML from dynamic JavaScript apps, automate browsing, and execute arbitrary JavaScript in a page context from Go or the command line.

## Use cases
- render static HTML versions of dynamic JavaScript single-page apps for SEO
- automate headless browsing from Go code
- run arbitrary JavaScript in a browser page context
- serve a statically rendered reverse proxy of a dynamic web app
- scrape or test pages that require JavaScript rendering

## When to choose
- you need headless browser rendering controlled from a Go program
- you want to prerender an AngularJS/SPA site for crawlers and SEO
- you prefer a PhantomJS-like tool with a Go API instead of Node.js

## When to avoid
- you need a maintained, actively developed headless browser (consider Playwright or Chrome DevTools Protocol instead)
- you are not on Linux with WebKitGTK+ dependencies available
- you need modern browser features beyond WebKitGTK 2.x capabilities

## Facets
- artifact type: library
- maturity: maintenance
- function: http-server, web-scraping, developer-tools, cli
- domain: web-development, developer-tools
- platform: go, cli
- tags: headless-browser, webkit, phantomjs-alternative, static-rendering, seo, browser-automation, automation, linux

## Member repositories
- sourcegraph/webloop (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.802590+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:41:00.957091+00:00, confidence not recorded.
  - readme: https://github.com/sourcegraph/webloop (fetched 2026-08-28T04:04:31.802590+00:00, sha d49237dc8a34)
  - homepage: https://sourcegraph.com/github.com/sourcegraph/webloop (fetched 2026-08-29T11:57:52.067009+00:00, sha 3303abac8e6f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
