check-site-meta
is a command-line tool for inspecting website metadata and generating link previews without requiring deployment. It runs a local Node.js backend to bypass CORS restrictions and caching issues, providing accurate metadata retrieval.
- Extract metadata from any URL: OpenGraph and Twitter
- Compatible with
localhost
for local development - Supports link previews (X/Twitter, Discord, Google, Facebook)
- Avoids CORS and caching limitations
To use check-site-meta
, install it via npx
or pnpx
:
npx check-site-meta
# or
pnpx check-site-meta
To inspect metadata for a locally running application, specify a port:
pnpx check-site-meta 3000
pnpx check-site-meta 5173
To change the backend port, use the -p
flag:
pnpx check-site-meta 5173 -p 5000
To disable the analytics, use the --no-analytics
flag or set a DO_NOT_TRACK
env to true
or 1
pnpx check-site-meta --no-analytics
- NPM: check-site-meta
- GitHub: alfonsusac/check-site-meta
For feedback or issues, please open an issue on GitHub or contact me on X (alfonsusac)