FeelOldYet starts with a simple reading experience: a familiar event, the date it happened and a reminder of how much time has passed. Underneath that experience is a small content pipeline. The content is checked, stored in a catalogue and turned into HTML before a reader requests it.
This article follows the published story “The iPhone was introduced”. The implementation described here is the FeelOldYet code reviewed on 29 November 2026, including its Astro configuration, story route, fact catalogue and browser interactions.
1. Start with a source, not a headline
The record points to Apple’s “iPhone at ten: the revolution continues”. Apple’s retrospective identifies 9 January 2007 as the original introduction date and describes the Macworld announcement.
That distinction matters: the announcement date is not the date a device went on sale. The catalogue’s claim is specifically about the introduction. When checking a record, the title, date and description must agree with what the source actually establishes.
The stored verifiedOn value is 2026-11-22. That is an editorial verification date, not the date of the event or an automated guarantee that the source has never changed. We also checked the linked Apple page while preparing this article. The site does not contain an automated fact-checking service.
2. Keep the evidence with the content
The catalogue lives in src/data/facts.js. FeelOldYet uses a JavaScript array, not a CMS or Markdown collection. This is a shortened excerpt of the actual record:
{
id: 'iphone-introduced',
title: 'The iPhone was introduced',
date: '2007-01-09',
category: 'Technology',
sourceLabel: 'Apple Newsroom',
sourceUrl: 'https://www.apple.com/newsroom/2017/01/iphone-at-ten-the-revolution-continues/',
verifiedOn: '2026-11-22',
featured: true,
}
The full record also contains a headline and description. Keeping the source URL beside the copy makes it possible for both the page template and the editor to use the same evidence trail. The homepage selects the featured record, while the archive and individual stories read from the same catalogue.
The id is the durable identifier. Editing a headline does not need to change the URL. Changing the identifier would change the generated route, so it should be treated as a deliberate URL migration rather than an ordinary copy edit.
3. Give every fact an address
The route file src/pages/story/[id].astro exports this function:
export function getStaticPaths() {
return facts.map((fact) => ({
params: { id: fact.id },
props: { fact },
}));
}
At build time, Astro enumerates the array. The iPhone record produces /story/iphone-introduced/, with the record passed to the page as a prop. The page renders the event date, headline, description, source link and verification note into HTML.
The shared layout supplies page metadata, and the story supplies a breadcrumb trail. The sitemap endpoint also derives story addresses from the catalogue. These routes do not depend on a visitor opening the homepage first.
This is why a shared link can point to the story itself. A card position in a shuffled deck is temporary; the fact identifier remains stable.
4. Let the browser enhance a complete page
Static does not mean frozen interactions. The story is readable in the generated HTML, while src/scripts/interactions.js enhances it in the browser.
The wireFactCards function finds elements marked with data-years, reads the event date from their card and recalculates the elapsed years. A build-time number provides initial content, and the browser refresh keeps that number current when JavaScript runs. Without JavaScript, the elapsed-year number stays at its build-time value until the next build; the event date and source remain available.
Sharing uses the Web Share API where available, with clipboard handling as a fallback. The URL is constructed from the fact’s identifier. Other homepage interactions, including the five-card deck and birth-year context, also run locally in the browser.
The practical boundary is clear: source content and navigation are pre-rendered; optional interaction happens after the page arrives. There is no need to request the fact from an application database on each page view.
5. Build once, serve the files
The actual astro.config.mjs sets the public site URL and static output:
export default defineConfig({
site: 'https://feeloldyet.com',
output: 'static',
});
The package’s build script is astro build. It generates the site into dist, including the story pages and assets. The Workers configuration points at that directory:
{
"assets": {
"directory": "./dist"
}
}
The project’s Wrangler configuration also names the FeelOldYet Worker and declares feeloldyet.com as a custom domain. This is a static-assets deployment: Cloudflare serves the generated files, rather than asking an Astro server to render every incoming request. This matches Cloudflare’s manual configuration for a static Astro site.
The publishing sequence is therefore: verify the source, update the catalogue, build the pages and publish the resulting asset directory. A content correction is a new build. This article describes the existing architecture; creating the Code4You site did not deploy or change FeelOldYet.
What this approach buys us—and what it does not
The content model is small enough to inspect directly. Each fact has a route and a visible source. The deployed site can deliver its core reading experience as files, with no runtime content database to operate.
There are limits. Editorial verification remains human work. A broken source needs attention. New content requires a build, and an identifier change needs a redirect strategy. A JavaScript array also offers less editorial structure than a dedicated content schema as the catalogue grows.
For this product, the useful decision was to keep the content pipeline proportional to the experience. The interesting work is choosing reliable stories and making them enjoyable to explore. Static generation provides a straightforward way to put those stories on the web.