farfield · docs

daily

daily.farfield.systems

A hub of daily artifacts. Its first artifact is the photo: each day shows NASA's Astronomy Picture of the Day, cached in SQLite so an upstream outage never breaks the archive.

Screenshot of the Farfield daily photo UI
Daily photo page. This service has public HTML and JSON reads.

Public API

GET /api/photo
Today's photo: { "source", "photo", "prev", "next" }
GET /api/photo/{date}
One day — ETag is the photo CID
GET /api/photos?page=N
{ "source", "page", "pages", "total", "photos" }
GET /status
{ "service": "daily", "ok": true, "nasa": N }

HTML

The photo pages live under /photo: /photo is today, /photo/{date} is one day, and /photo/archive is the grid. The old /, /day/{date}, and /archive paths redirect there permanently.