All Projects → appunite → link_preview

appunite / link_preview

Licence: Apache-2.0 license
Link preview elixir library

Programming Languages

elixir
2628 projects
HTML
75241 projects

Projects that are alternatives of or similar to link preview

monobit
Tools for working with monochrome bitmap fonts
Stars: ✭ 124 (+629.41%)
Mutual labels:  hex
shipit
ShipIt automates Hex package publishing to avoid common mistakes
Stars: ✭ 21 (+23.53%)
Mutual labels:  hex
ecto profiler
Project for Ecto DB profiling
Stars: ✭ 16 (-5.88%)
Mutual labels:  hex
khroma
A collection of functions for manipulating CSS colors, inspired by SASS.
Stars: ✭ 28 (+64.71%)
Mutual labels:  hex
contentful.ex
Elixir SDK for the Contentful Delivery API
Stars: ✭ 32 (+88.24%)
Mutual labels:  hex
pfp-vim
A vim hex-editor plugin that uses 010 templates to parse binary data using pfp
Stars: ✭ 57 (+235.29%)
Mutual labels:  hex
hext
Markup language and tool for generating binary files
Stars: ✭ 23 (+35.29%)
Mutual labels:  hex
python-base36
Yet another implementation for the positional numeral system using 36 as the radix
Stars: ✭ 21 (+23.53%)
Mutual labels:  hex
literate-binary
Integrate handcrafted binary and documentation
Stars: ✭ 37 (+117.65%)
Mutual labels:  hex
vscode-color
Helper with GUI to generate color codes such as CSS color notations.
Stars: ✭ 88 (+417.65%)
Mutual labels:  hex
dehex
🎨👀 R package: learn to assess a colour hex code by eye
Stars: ✭ 29 (+70.59%)
Mutual labels:  hex
exe2hex
Inline file transfer using in-built Windows tools (DEBUG.exe or PowerShell).
Stars: ✭ 284 (+1570.59%)
Mutual labels:  hex
R3ditor
An open-source project created to reverse-engineering some Resident Evil 3 files
Stars: ✭ 19 (+11.76%)
Mutual labels:  hex
hxd
Speedy colored hexdump
Stars: ✭ 33 (+94.12%)
Mutual labels:  hex
accessible
Dead-simple Access behavior for Elixir structs
Stars: ✭ 27 (+58.82%)
Mutual labels:  hex
serde with
This crate provides custom de/serialization helpers to use in combination with serde's `with`-annotation and with the improved `serde_as`-annotation.
Stars: ✭ 392 (+2205.88%)
Mutual labels:  hex
codenames
A simple bash script to convert hex values (such as commit ids) to codenames
Stars: ✭ 14 (-17.65%)
Mutual labels:  hex
ColorHelper
No description or website provided.
Stars: ✭ 34 (+100%)
Mutual labels:  hex
noire
🎨 Light/darken, mix, (de)saturate the colors in Golang with CMYK / RGB / HSV / HSL / Hex / HTML supported.
Stars: ✭ 38 (+123.53%)
Mutual labels:  hex
ArduboyCollection
Collection of Arduboy compiled games, demos and applications. Fork the repo and add your own games via Pull requests.
Stars: ✭ 99 (+482.35%)
Mutual labels:  hex

Build Status Coverage Status Hex.pm

LinkPreview

LinkPreview is a package that tries to receive meta information from given http(s) address

Installation

  1. Add link_preview to your list of dependencies in mix.exs:
def deps do
  [
    {:link_preview, "~> 1.0.1"}
  ]
end
  1. For Elixir < 1.4 ensure link_preview is started before your application:
def application do
  [applications: [:link_preview]]
end

Example usage

You just need to execute:

LinkPreview.create("www.yahoo.pl")

in response you'll receive

{:ok, %LinkPreview.Page{
  description: "News, email and search are just the beginning. Discover more every day. Find your yodel.",
  images: [%{url: "https://s.yimg.com/dh/ap/default/130909/y_200_a.png"}],
  original_url: "www.yahoo.pl",
  title: "Yahoo",
  website_url: "yahoo.com"
}}

License

Copyright 2017 Tobiasz Małecki [email protected]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].