vignette-from-url

1.0.0 • Public • Published

🖼️ 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

Readme

Keywords

Package Sidebar

Install

npm i vignette-from-url

Weekly Downloads

2

Version

1.0.0

License

GPL-3.0-or-later

Unpacked Size

40.2 kB

Total Files

6

Last publish

Collaborators

  • yvan-sraka
  • nicolas-hovart