/micro-web-metadata

Microservice for retrieving metadata from a URL

Primary LanguageJavaScriptMIT LicenseMIT

micro-web-metadata

license

Microservice for retrieving metadata from a URL, based on Open Graph, Twitter Cards and regular HTML.

usage

curl 'https://web-metadata.now.sh/?url=https://github.com/mathiasvr/micro-web-metadata'

output

{
  "author": "mathiasvr",
  "date": "2018-03-19T11:00:00.000Z",
  "description": "micro-web-metadata - Microservice for retrieving metadata from a URL",
  "image": "https://avatars2.githubusercontent.com/u/8664776?s=400&v=4",
  "video": null,
  "lang": "en",
  "logo": "https://assets-cdn.github.com/favicon.ico",
  "publisher": "GitHub",
  "title": "mathiasvr/micro-web-metadata",
  "url": "https://github.com/mathiasvr/micro-web-metadata"
}

deployment

Deploy with now:

now mathiasvr/micro-web-metadata