Skip to content

Releases

v0.2.1

Choose a tag to compare

@rustyconover rustyconover released this 29 Nov 20:40

Container image for Orchard hosting: ghcr.io/query-farm/vgi-google-search-console:0.2.1 (multi-arch, cosign-signed), serving HTTP on $PORT by default or stdio with stdio. Published by .github/workflows/docker-publish.yml on each vX.Y.Z tag (:edge from main). Speaks VGI protocol 3.4 (vgi-python 0.55); Orchard hosted mode (VGI_ORCHARD_HOSTED=1) built in. Credentials come only from DuckDB secrets.

v0.2.0

Choose a tag to compare

@rustyconover rustyconover released this 25 Nov 17:49

Full Changelog: v0.1.1...v0.2.0

v0.1.1

Choose a tag to compare

@rustyconover rustyconover released this 16 Nov 23:55

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@rustyconover rustyconover released this 14 Nov 16:22

First release of vgi-google-search-console, a read-only VGI worker that exposes Google Search Console search performance, sitemaps and URL index status as ordinary DuckDB tables. It only requests the webmasters.readonly scope, and a single HTTP chokepoint refuses every write endpoint.

Surface (gsc.main)

Object Returns
sites (table, backed by all_sites()) every property the credential can see
search_analytics(site_url, dimensions =>, …) clicks, impressions, CTR and position
sitemaps(site_url) submitted sitemaps with status, errors and contents
url_inspection(site_url, url) Google's index status for one URL

search_analytics and sitemaps accept '' to walk every readable property.

Composed examples

These are in the catalog as examples, readable from duckdb_functions() and duckdb_tables():

  • sites LEFT JOIN search_analytics(''): every property's kind with its 28-day clicks and impressions, with 0 where Google returned no rows.
  • sitemaps('') vs search_analytics(page): per property, the URLs listed in sitemaps against the pages that earned impressions.
  • search_analytics, then LATERAL url_inspection: the top pages Google has seen that are in no sitemap, with their coverage state.

A new agent test task, idle_properties (sites joined with search_analytics), is graded by check_sql.

Install

ATTACH 'gsc' (TYPE vgi,
  LOCATION 'uvx --from git+https://github.com/Query-farm/vgi-google-search-console@v0.1.0 vgi-google-search-console');
CREATE SECRET gsc (TYPE google_search_console, service_account_json '<key file contents>');
-- or: ATTACH ... (credentials 'oauth') for browser sign-in on a local machine

This needs Haybarn 2.0.0rc11 or newer, which provides the VGI 3 extension. Older VGI 2 extensions cannot attach this worker.

Known limits

  • Every call needs Google credentials. There is no anonymous access, and CI tests against a fake API.
  • The worker is read-only. It cannot add sites or submit or delete sitemaps.
  • Google applies its own Search Console API quotas, and URL inspection has strict daily per-property limits.
  • This is a source-only release. Nothing is published to PyPI and no binaries are attached.