Home

Awesome

Link-Preview API cloudflare/workers

link-prevue

link-prevue Demo

link-prevue Demo Repo

Install deps

In root project folder run the following command

$ bun install

and run

$ bun run dev

Get a link preview

$ curl --location 'https://link-preview-api.nivaldo.workers.dev/preview?url=https://bun.sh/'

Response

{
    "title": "Bun — A fast all-in-one JavaScript runtime",
    "description": "Bundle, install, and run JavaScript & TypeScript — all in Bun. Bun is a new JavaScript runtime with a native bundler, transpiler, task runner, and npm client built-in.",
    "image": "https://bun.sh/share_v3.png",
    "url": "https://bun.sh",
    "siteName": "Bun"
}

:heart:

Alternative siddhigate/link-preview