尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
Indicial.ro is a Romanian currency exchange rate site — daily reference rates,
a currency converter, and historical rate charts, built on the official
public XML feeds published by the National Bank of Romania (BNR).檢視完整 README ↗Indicial.ro is a Romanian currency exchange rate site — daily reference rates, a currency converter, and historical rate charts, built on the official public XML feeds published by the National Bank of Romania (BNR).
It offers the same kind of functionality as sites like valutare.ro (daily rates, converter, exchange-office comparison, historical charts), with original branding and design. The official reference rate is fetched live from BNR; exchange-office and bank rates are real quotes entered manually from their own published boards/sites (no live feed exists for those), kept current by periodic updates.
https://www.bnr.ro/nbrfxrates.xmlhttps://www.bnr.ro/files/xml/years/nbrfxrates{year}.xmlBoth are public feeds documented at bnr.ro. If they're unreachable (e.g. no outbound network access), the app falls back to bundled sample data and labels it as such in the UI.
BNR republishes rates once a day, usually between 13:00 and 13:15 Europe/Bucharest time. Two mechanisms keep the site in sync with no manual steps:
src/lib/bnr.ts). The first request after that window expires
automatically refetches BNR in the background. No cron needed — worst case
the site is a few minutes stale./api/revalidate (optional, for precise timing).
This route calls revalidateTag/revalidatePath to invalidate the cache
immediately. vercel.json schedules it twice a day, at 10:15 and 11:15 UTC
— one of those always lands at ~13:15 Bucharest time regardless of
DST (EEST in summer, EET in winter), so it self-adjusts across the
March/October clock changes without editing the schedule.To enable step 2 on Vercel: set a CRON_SECRET environment variable in the
project settings (any random string). Vercel automatically sends it as
Authorization: Bearer <CRON_SECRET> when it triggers the cron, and the route
checks it before revalidating. On another host, hit the same URL from your
own scheduler instead, e.g.:
curl "https://your-domain.com/api/revalidate?secret=$CRON_SECRET"
Without CRON_SECRET set, /api/revalidate responds 500 and the site
still updates fine via mechanism 1, just within a 5-minute window instead of
instantly.
npm install
npm run dev
Open http://localhost:3000.
src/lib/bnr.ts — fetch/parse BNR feeds, with fallback datasrc/lib/demoOffices.ts — sample exchange-office comparison datasrc/app/api/rates, src/app/api/history — JSON endpoints used by client componentssrc/app/* — home, /convertor, /istoric, /despre