Open-source developer tool

# Open Graph CLI for Metadata Checks

Audit a public URL from your terminal, fail a CI job when social metadata regresses, or pipe the complete diagnostic report into another tool.

`npx linkglimpse https://example.com --fail-on warning`

[View npm package](https://www.npmjs.com/package/linkglimpse) [View source](https://github.com/stnikolaus/linkglimpse/tree/main/packages/cli)

## Useful in a terminal and in CI

-   Open Graph and Twitter Card tags
-   Share-image response, format, dimensions, and aspect ratio
-   HTTP status, redirects, canonical URL, and robots directives
-   CI exit codes for failures or warnings

Readable audit

```
npx linkglimpse example.com
```

Machine-readable output

```
npx linkglimpse example.com --json
```

Self-hosted API

```
npx linkglimpse example.com --api-base http://localhost:3000
```

## No CLI telemetry

The CLI sends only the URL you explicitly audit to the selected LinkGlimpse deployment. Point it at localhost or your own deployment whenever you do not want to use the public API.

[Read the API documentation →](/api)

---

Source: https://www.linkglimpse.com/cli
