Skip to content

webrecorder/oembed.link

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 16, 2022 20:39
January 12, 2021 11:54
November 16, 2022 20:39
November 16, 2022 20:39
November 16, 2022 20:39
November 16, 2022 20:39
January 12, 2021 11:54

Oembed.link

Oembed.link is a simple script, designed to run as a Cloudflare Worker, which renders embeds using the oEmbed API and renders the embed.

It is designed primarily to make archiving embeds easier by providing a fixed URL which represents only the embed rendered on a page.

The URL is https://oembed.link/<URL> to be rendered.

The script uses the oEmbed providers JSON, https://oembed.com/providers.json

The source for the oembed.com site can be found at: https://github.com/iamcal/oembed

The system is designed to run as a Cloudflare Worker. See Cloudflare Docs for more info on how to use this service.

Building

  1. Install Wrangler 2 locally, eg. with npm -g i wrangler or yarn global add wrangler

  2. Run the dev server with wrangler dev to test locally. You may be prompted to login to Cloudflare to authenticate.

  3. Navigate to http://localhost:8787/[URL] to load the oEmbed view of [URL] via the local dev server.

  4. Run wrangler publish to publish the worker code to Cloudflare.

About

A Cloudflare Worker to render embeds on a single page using oEmbed

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published