vignette-from-url
v1.0.0
Published
Let's have a web preview of a given URL
Downloads
1
Readme
🖼️ 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.