linksnip

A utility that will take a url and provide a basic synoposis of the web page including title, text, and image. Inspired by Facebook link scraper.

Usage no npm install needed!

<script type="module">
  import linksnip from 'https://cdn.skypack.dev/linksnip';
</script>

README

LinkSnip

A utility that will take a url and provide a basic synoposis of the web page including title, text, and image. Inspired by Facebook link scraper.

Usage

From the command line you can

linksnip http://google.com
{
  "url": "https://www.google.com/",
  "title": "Google",
  "description": "Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.",
  "images": [
    {
      "height": 128,
      "width": 128,
      "format": "PNG",
      "url": "https://www.google.com/images/google_favicon_128.png",
      "filename": "/cloudcollege/linksnip/images/fe319f17bbd1a352c0ad1a47a5f5c7ee555e4f3d"
    }
  ]
}