尚未检测到更新。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