An open API service indexing awesome lists of open source software.

https://github.com/iamanishroy/link-previewer

Preview the title, thumbnail image, and description of any public link and integrate the preview card into your website in two lines.
https://github.com/iamanishroy/link-previewer

link-preview plugin preview previwer

Last synced: 10 months ago
JSON representation

Preview the title, thumbnail image, and description of any public link and integrate the preview card into your website in two lines.

Awesome Lists containing this project

README

          

# Link Previewer

An opensource project/website that allows you to **preview** the title, thumbnail image, and description of any public link, as well as **embed** the preview card into your website with just two lines of code.

![Logo](https://link-previewer.anishroy.me/tn.png)

## Features

- Simple to use plugin
- User-friendly interface
- Responsive design

## Highlights:

- For a faster initial load time, **dynamic imports** were used.
- **Gulp** was used to automatically compile and build the modules for a more efficient development approach.
- I used **Autoprefixer** to generate CSS that will work with a variety of browsers.

## Plugin Reference

Simply include the JavaScript **``** tag to seamlessly integrate this into your website.

### Script Tag

```html
<script
src="https://cdn.jsdelivr.net/npm/link-preview-card@1.0.1/dist/script/index.js"
defer
>
```

### Anchor Tag

add this where you want to embed preview link card

```html

```

#### Custom Attributes

| Attribute | Description |
| :------------------ | :-------------------------------- |
| `custom-border` | enables using custom border style |
| `custom-box-shadow` | enables using custom box-shadow |

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Contributor

- [@iamanishroy](https://github.com/iamanishroy/)