Add CYD browser flasher with Next.js, i18n, and Web Serial install.

Replace the starter app with a public/local flasher that discovers sibling firmwares, supports en/zh, and documents HTTPS deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-19 19:38:53 +08:00
parent 0bf10091db
commit ae63378fdb
39 changed files with 2889 additions and 196 deletions

5
.env.example Normal file
View File

@@ -0,0 +1,5 @@
# Public site origin (canonical, Open Graph, sitemap)
NEXT_PUBLIC_SITE_URL=https://your-domain.example
# Optional: absolute path to firmware parent (sibling projects or a mirror folder)
# CYD_FIRMWARE_ROOT=C:\Users\dsx2016\Desktop\codes\cyd