1.0.0 • Published 2 years ago

vignette-from-url v1.0.0

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

🖼️ Vignette

Let’s have a web preview of a given URL

Installation

Use the package manager npm to install vignette.

npm install
npm start

Usage

Give the URL you want to use curl http://localhost/?url=$URL, and you get as response the JSON:

{
    "title": "$TITLE",
    "image": "$IMAGE"
}

Roadmap

  • Handle og:image meta tag:

    <meta property='og:image' content='//media.example.com/1234567.jpg'/>

Contributing

Pull requests are welcome.

For major changes, please open an issue first to discuss what you would like to change.

Authors and acknowledgment

LICENSE

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007