尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證A themed art gallery curated for today's date — Next.js, Met Museum API, Wikidata/Wikipedia, zero paid dependencies
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗A single-page app that curates a small themed art gallery based on today's date — holidays, seasons, or artist birth/death anniversaries — pulling artworks from the Met Museum's Open Access API and a short Wikipedia-sourced biography for each artist shown.
src/components/ArtworkCarousel.tsx).src/components/ReadAloudButton.tsx)./feed.xml (src/app/feed.xml/route.ts), auto-discoverable from the page <head>
and linked in the footer. Deliberately a single, daily-changing item — consistent with the rest of
the app, there's no archive of past days.src/lib/met.ts).src/lib/wikipedia.ts), one short bio per unique artist
shown that day.src/lib/calendar.ts, ~30 entries (holidays + artist anniversaries).src/lib/wikidata.ts)
finds painters born/died that day and cross-checks them against the Met, before finally falling back
to a seasonal theme. See "Gallery resolution order" below.No database, no user accounts, no archive browsing, and no paid API dependency — the whole app is one page that reflects "today," built entirely on free data sources.
For any given date, src/lib/gallery.ts resolves today's theme in this order:
src/lib/calendar.ts.src/lib/calendar-stash.json (see below).Any of these that comes up thin on Met results backfills the remainder from the season's query.
npm install
npm run dev
Open http://localhost:3000. No environment variables or API keys needed.
Add entries to the CALENDAR array in src/lib/calendar.ts:
{ id: "some-id", month: 3, day: 14, title: "Pi Day", blurb: "...", metQuery: "geometric pattern" }
metQuery is passed to the Met's /search endpoint. Set artistOrCulture: true to restrict the
search to the artist/culture field (better precision for artist names).scripts/backfill-calendar.ts is a standalone maintenance script — not run by the website — that
you run yourself whenever you feel like it, independent of what day it actually is:
npm run backfill-calendar # all 365 days, skips already-curated/stashed ones
npm run backfill-calendar -- --start=1 --end=31 # just January
npm run backfill-calendar -- --force # recheck days already in the stash
It loops over days of the year, looks each one up on Wikidata, and checks candidates against the Met.
Good matches are written to src/lib/calendar-stash.json immediately (so an interrupted run loses no
progress). Periodically review that file and promote the entries you like into the CALENDAR array in
src/lib/calendar.ts for a permanent, reviewed match.
The page is revalidated at most every 6 hours (export const revalidate in src/app/page.tsx), so a
burst of visitors doesn't hammer the Met/Wikidata/Wikipedia APIs — the gallery for the day is generated
once and served from cache until the next revalidation window.
vercel
No environment variables required.