Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
/ iframely Public archive
forked from itteco/iframely

oEmbed proxy. Supports over 1800 domains via custom parsers, oEmbed, Twitter Cards and Open Graph

License

Notifications You must be signed in to change notification settings

react-epfl/iframely

This branch is 1001 commits behind itteco/iframely:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7cf3c5c · Dec 18, 2020
May 22, 2020
Aug 1, 2019
Oct 21, 2020
Nov 5, 2020
Dec 18, 2020
Oct 21, 2020
Jun 3, 2019
Dec 18, 2020
Feb 17, 2020
Mar 23, 2020
Sep 29, 2020
Dec 29, 2014
Dec 4, 2020
Dec 1, 2020
Feb 17, 2020
Nov 30, 2020
Jan 13, 2015
Nov 5, 2020
Jun 18, 2020
Nov 7, 2017
Mar 26, 2019
Jul 25, 2016
Dec 1, 2020
Nov 16, 2020
Oct 14, 2016
Jun 22, 2017
Aug 20, 2019
Dec 18, 2020
Jul 21, 2016
Jul 21, 2016
Jul 1, 2019
May 21, 2020
Oct 24, 2017
Oct 26, 2020

Repository files navigation

Iframely API for Responsive Web Embeds

This is the self-hosted version of Iframely's APIs and parsers.

Iframely gives your fast and simple API for responsive web embeds and semantic meta. The parsers cover well over 1800 domains through 200+ custom domain plugins and generic support for oEmbed, Open Graph and Twitter Cards, that are powered by Iframely's whitelist.

The whitelist file is pulled from iframely.com database and is updated automatically. The whitelisting is manual process on our end. You can also have your own whitelist file.

HTTP APIs are available in oEmbed or Iframely API formats. To make it simple to understand, Iframely format mimics the <head> section of the page with its meta and links elements.

In response to url request, APIs returns you the embeds and meta for a requested web page. Below are data samples from hosted API, just to show you the format:

Iframely can also be used as Node.js library (that's how it is used in our cloud API).

Requires Node version 7 and up.

Not included as compared to Cloud API

Hosted cloud APIs add optional iFrame renders and number of widgets such as cards, GIF support, player events, AMP, and others. Our more/less toggle for per-URL customizations, predictive height mechanism for non-iFrame embeds, lazy-loading, type-based whitelist and fallbacks as well as number of other customizations is only available in the cloud.

This open-source version provides the web parsers only, though hosted API uses data from parsers as-is. The API endpoints between the version should match format pretty closely, though there might be minor discrepancies.

There's also a bunch of domain parsers that are not included in self-hosted version. Those are the parsers that we consider vulnarable for changes on publisher's origin servers and so requiring quicker turnaround time for any updates and fixes.

Get started:

To get started with the APIs:

Contribute

We put our best effort to maintain Iframely and all its domain parsers. Please, feel free to reach us on Twitter or to submit an issue if you have any suggestions. Our support email is support at iframely.com

Fork and pull-request, if you'd like to add more plugins and/or contribute fixes or improvements. By doing so, you make your work available under the same MIT license.

Please submit your PR against develop branch. This is where everything gets merged before being released into master.

If you see an error in our domains whitelist (you can debug URLs here), please ping us and we'll fix it in no time.

License & Authors

MIT License. (c) 2012-2019 Itteco Software Corp. Nazar Leush, Ivan Paramonau

Please, check the contributors list to get to know awesome folks that also helped a lot.

About

oEmbed proxy. Supports over 1800 domains via custom parsers, oEmbed, Twitter Cards and Open Graph

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.7%
  • EJS 2.9%
  • HTML 1.1%
  • Other 0.3%