Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 955 Bytes

README.md

File metadata and controls

44 lines (30 loc) · 955 Bytes

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"
}

❤️

Alternative siddhigate/link-preview