linkglimpse
v0.2.0
Published
Audit Open Graph, social preview, image, redirect, and indexing metadata from the command line.
Maintainers
Readme
LinkGlimpse CLI
Audit Open Graph, Twitter Card, share-image, redirect, canonical, and indexing metadata from a terminal or CI job.
npx linkglimpse https://example.comUse findings as a CI gate:
npx linkglimpse https://example.com --fail-on warningUse JSON when another program needs the complete diagnostic response:
npx linkglimpse https://example.com --json > linkglimpse-report.jsonBy default the CLI sends the URL you explicitly provide to the public LinkGlimpse API. It does not include telemetry of its own. To use a local or self-hosted deployment:
npx linkglimpse https://example.com --api-base http://localhost:3000Local inspection API
Version 0.2 also exposes the local engine used by the MCP server and Apify Actor. It fetches the supplied public URL directly and blocks private or reserved network destinations.
import { inspectUrl, renderPreviewSvg } from 'linkglimpse/core';
const report = await inspectUrl('https://example.com/');
const preview = renderPreviewSvg(report, { platform: 'all' });See the CLI documentation, web checker, or source repository.
Licensed under AGPL-3.0-or-later.
