Embed
Paste one line where you want it. The widget reads today’s date on the reader’s machine, pulls that day’s entries from the open API, and writes them into the page. About a kilobyte, no dependency, no cookie, no tracking of any kind.
The whole thing
<script src="https://slashyear.com/embed.js" async></script>It renders where the tag sits. It inherits your fonts and colours because it sets almost no styles of its own.
If you want to place it yourself
<div id="history"></div>
<script src="https://slashyear.com/embed.js"
data-target="#history"
data-count="5"
data-date="september-7" async></script>data-target— a CSS selector for the element to fill.data-count— how many entries, spread across the day’s span. Default 3.data-date— pin a fixed day (september-7) instead of today.