Origin.js

A tiny client-side library that makes content origin visible author, source, date, and type surfaced directly in the UI.

Important: Origin.js does not verify truth, authenticity, or ownership. It only displays origin metadata provided by the creator.

Include once:

<script src="https://originjs.netlify.app/origin.min.js"></script>

Why this exists

Most content already has an origin, it’s just invisible. Buried in markup, lost when shared, or stripped entirely.

Origin.js surfaces that information without adding backends, accounts, verification systems, or trust claims.

How it works

Add simple data-origin-* attributes to any element. Origin.js detects them automatically.

<article
  data-origin-author="Jane Doe"
  data-origin-source="https://example.com"
  data-origin-date="2026-01-10T08:00:00Z"
  data-origin-type="blog">
</article>

Optional behavior modes

Configuration is optional. If omitted, Origin.js works automatically.

<script>
window.ORIGIN_CONFIG = { mode: "hover" }
</script>

Examples