Analysis updated 2026-05-18
Let content editors embed YouTube, Vimeo, TikTok, Twitter, or Spotify posts by pasting a URL in EmDash.
Reduce page weight by only loading a platform's embed script on pages that actually use it.
Cache social embed lookups at Cloudflare's edge to avoid repeated oEmbed fetches.
| marcusbellamyshaw-cell/emdash-plugin-social-embed | 000madz000/payload-test-api-route-handler | aliansari22/pdfclear | |
|---|---|---|---|
| Stars | 3 | 3 | 3 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 2/5 | 2/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Requires an existing EmDash CMS project built on Astro.
This is a plugin for a content management system called EmDash, and it lets an editor embed a social media post just by pasting its URL. Instead of that post being fetched by the visitor's browser using each platform's own script, this plugin fetches the embed HTML on the server first, using a standard called oEmbed. That means no client-side API calls are needed, and the extra JavaScript each platform normally ships only loads on pages that actually contain that type of embed. It currently supports five platforms: YouTube, Vimeo, Twitter or X, Spotify, and TikTok, and none of them require you to sign up for developer credentials to use them. To install it, you add the package with npm and register it inside your Astro configuration file as a plugin. The README notes that it must be registered as a trusted, native plugin rather than a sandboxed one, because it ships its own Astro components to handle server-side rendering. Once installed, an editor working inside EmDash's Portable Text editor can type a slash command, choose Social Embed, and paste a post URL to insert it. For performance, the responses fetched through oEmbed are cached at Cloudflare's edge network for 24 hours, so repeated visits do not trigger a new fetch every time. The heavier platform scripts, like Twitter's widgets.js or TikTok's embed script, are only added to a page if that page actually contains a matching embed, and posts from YouTube, Vimeo, and Spotify render as plain iframes with no extra JavaScript at all. The project is released under the MIT license and the README credits it as designed by Marcus Shaw for a company called Every Bit Texas, with the code written by Claude Code.
An EmDash CMS plugin that lets editors embed social media posts by pasting a URL, fetching the embed server-side so platform scripts load only where needed.
Mainly TypeScript. The stack also includes TypeScript, Astro, Cloudflare Workers.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.