Learn to chant the Lalita Sahasranama one shloka at a time: all 182 verses and 1,000 names with audio, Devanagari and transliteration, word-by-word meaning, grammar, and commentary.
翻译准备中
教育TypeScript · PythonGitHub @brandonfancher在线运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Everything is generated at build time into static files (output: "export" in next.config.ts, written to out/), so pages are served straight from Vercel's CDN as plain files rather than from the ISR cache. vercel.json sets the project up as a static site ("Other" framework), with clean URLs, the redirects, and BotID's proxy rewrites. That means no page can read cookies, headers, or the query string on the server; anything per-visitor happens in the browser, as /chant does with its range.
The form at /contact posts to /api/contact, a Vercel Function (api/contact.ts) beside the static site. It checks Vercel BotID, a hidden honeypot field, and the inputs (src/lib/contact-submit.ts), then emails the message through Resend with the sender as reply-to. Under pnpm dev, src/app/api/contact/route.dev.ts answers for the function. api/tsconfig.json makes Vercel compile the function, and the src/lib code it imports, to CommonJS, which is how Node loads it. BotID's client side is set up in src/instrumentation-client.ts; any new protected path has to be listed there as well as checked on the server.
Set these in the Vercel project (and in .env.local to send real email locally):
| Variable | Value |
|---|---|
RESEND_API_KEY | An API key from Resend, or added by the Resend integration in the Vercel Marketplace |
CONTACT_TO_EMAIL | Where messages go; several addresses can be separated by commas |
CONTACT_FROM_EMAIL | The sender, on a domain verified in Resend, e.g. Lalitā Sahasranāma <[email protected]> |
Resend only sends from a domain you have verified, by adding the DNS records it lists under Domains to lalita.study.
Without these variables, pnpm dev logs each message to the terminal instead of sending it. In development BotID treats every visitor as human; run BOTID_DEV_BYPASS=BAD-BOT pnpm dev to see how a bot is turned away. On Vercel, test from the page itself: requests made with curl carry no BotID headers and are rejected. For stronger detection on a Pro or Enterprise plan, turn on BotID Deep Analysis under the project's Firewall > Rules.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.