Link preview API based on ospfranco/link-preview-js
curl -X POST 'http://localhost:3000/api/preview_link' \
-H "Authorization: Bearer 123" \
-H "content-type: application/json" \
--data '{"link":"https://google.com/"}'
It can be installed either as Docker container or node application.
To configure applcation, set environment variables.
PORT=3000 # Port to listen on
TOKEN=123 # Bearer token. Do not set if you do not want auth
docker run -ti -e PORT=3000 -e TOKEN=123 -p 3000:3000 nemanjan00/link-preview-api herokuish procfile start web
yarn global add link-preview-api
link-preview-api
Content type
Image
Digest
Size
636.2 MB
Last updated
over 4 years ago
docker pull nemanjan00/link-preview-api