Embed demo — YouTube, Reddit, Gist, X

PodWarden Team

Demonstrates the four supported native embed types — YouTube videos, Reddit threads, GitHub gists, and X tweets. Author drops a bare URL on its own line; the build pipeline compiles per-host.

The news pipeline auto-renders bare URLs from four platforms. Drop the URL on a line by itself; surrounding prose works as written.

YouTube

Server-side oEmbed; HTML is cached for seven days.

Reddit

Server-side oEmbed via reddit.com/oembed. Same caching path.

https://www.reddit.com/r/selfhosted/comments/1abcdef/example_thread/

GitHub Gist

No oEmbed endpoint exists; the canonical embed is a one-line <script> which we synthesise server-side.

X (Twitter)

Twitter discontinued public oEmbed in 2023, so this one resolves client-side via widgets.js lazy-loaded by the <Tweet /> component.

Inline links still work

A mention of https://www.youtube.com/watch?v=jNQXAC9IVRw inside a sentence stays as a plain hyperlink — the plugin only rewrites paragraphs that are just a URL.