NewsletterLibrarySupport
ARIEL
ARIEL
Developer

How Ariel is built

A static Next.js site: Markdown content with YAML front-matter, compiled at build time, exported to plain files and served from Cloudflare.

Stack

Next.js 15 (App Router, static export), Tailwind CSS 4, Fraunces, Literata and Inter, Pagefind for full-text search, cmdk for the ⌘K palette, Supabase for the shared Selene account, XP and sync. OG images are rendered from SVG to PNG at build time with resvg.

Content pipeline

Articles live in content/articles/*.md, explainers in content/explainers, lessons in content/courses/<course>/ and the glossary in content/glossary/*.json. An ETL script resolves every image to its Wikimedia Commons file with author and licence, resolves topic QIDs, and verifies every family link against each sister site’s live search index. Tests fail the build if any article is too short, has fewer than three images, lacks references or links to a page that does not exist.

Public endpoints

  • /search-index.json — Every article, explainer, series, course, lesson, glossary term and reading list: [{ t, u, k, d?, i? }].
  • /wikidata.json — Wikidata QID of each article’s main topic → article path, for cross-links from sister sites.
  • /today.json — { site, date, byDay: { "MM-DD": { title, url, kind, blurb, image? } } } — a long read for every day of the year.
  • /manifest.json — Site description, counts and endpoint list for the Selene hub.
  • /feed.xml — Atom feed of all pieces.
  • /rss.xml — RSS 2.0 feed.
  • /feed.json — JSON Feed 1.1.
  • /sitemap.xml — Sitemap.

JSON endpoints are served with Access-Control-Allow-Origin: *.

Built by Vikram Singh Yadav.