ESP32-S3 Bench Guide
ESP32-S3 N16R8 bench guide: live pinout, lessons, simulators and the bench log.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
ワインのAOP(原産地呼称)を地図で学ぶWebアプリ。TanStack Start + MapLibre GL JS + Cloudflare Workers/D1。 公開URL: https://wine.nibo.sh (カスタムドメイン)。Workers のデフォルトドメイン https://wine.niboshi.workers.dev でも動作する。 • ディレクトリ構成・アーキテクチャ・ドメインモデリングのルール: docs/architecture.md • デプロイ・環境構成: docs/deployment.md public/data/aop/*.geojson は INAO / EU PDO のオープンデータから生成する(生成物はコミット済み。データ更新時のみ再実行)。手順・データソース・再生成時の注意は docs/geodata.md を参照。 AOPのメタデータ(土壌・品種・生産者)は src/lib/wine/aops.json にあり、src/lib/wine/aop-schema.ts のスキーマで読み込み時に検証される。 This project uses Vitest for testing. You can run the tests with:查看完整 README ↗
ワインのAOP(原産地呼称)を地図で学ぶWebアプリ。TanStack Start + MapLibre GL JS + Cloudflare Workers/D1。
公開URL: https://wine.nibo.sh (カスタムドメイン)。Workers のデフォルトドメイン https://wine.niboshi.workers.dev でも動作する。
public/data/aop/*.geojson は INAO / EU PDO のオープンデータから生成する(生成物はコミット済み。データ更新時のみ再実行)。手順・データソース・再生成時の注意は docs/geodata.md を参照。
AOPのメタデータ(土壌・品種・生産者)は src/lib/wine/aops.json にあり、src/lib/wine/aop-schema.ts のスキーマで読み込み時に検証される。
To run this application:
bun install
bun --bun run dev
To build this application for production:
bun --bun run build
This project uses Vitest for testing. You can run the tests with:
bun --bun run test
This app uses Cloudflare D1 (the DB binding in wrangler.jsonc) to persist Better Auth data (users / sessions / OAuth clients) and the app's own domain data (learning progress, cellar records, credit ledger, etc.).
Create the D1 database:
bunx --bun wrangler d1 create wine-db
Copy the generated database_id into wrangler.jsonc, replacing 00000000-0000-0000-0000-000000000000, then regenerate Worker binding types:
bun run cf-typegen
Migrations are hand-written sequential SQL files under drizzle/ (0000_*.sql, 0001_*.sql, …). Drizzle ORM (src/db/schema.ts / src/db/auth-schema.ts) is the runtime query layer only — schema changes are authored by hand as the next numbered SQL file and applied with wrangler d1 migrations apply. drizzle-kit (db:generate / db:push / db:pull) is intentionally not used, since its tracking state does not include the Better Auth tables and could propose destructive diffs against the production DB. See CLAUDE.md for the schema-change workflow.
Apply migrations to the local D1 (run once initially and after every schema change, before bun run dev):
bun run db:migrate:local
Migrations are applied to the remote databases automatically on deploy — Cloudflare Workers Builds runs db:migrate:remote / db:migrate:preview after a successful build (see docs/deployment.md). To apply them manually against the production D1:
bun run db:migrate:remote
This project uses Biome for linting and formatting. The following scripts are available:
bun --bun run lint
bun --bun run format
bun --bun run check
Add components using the latest version of Shadcn.
pnpm dlx shadcn@latest add button
Authentication is handled by Better Auth. It requires a
BETTER_AUTH_SECRET in every environment — it signs session cookies and OAuth tokens.
Generate one with:
bunx --bun @better-auth/cli secret
Local: put it in .dev.vars as BETTER_AUTH_SECRET=... (see .dev.vars.example).
Production / Preview (Cloudflare Workers): set it as a secret so it is never committed:
bunx --bun wrangler secret put BETTER_AUTH_SECRET
bunx --bun wrangler secret put BETTER_AUTH_SECRET --env preview
wrangler secret put values are not emitted by wrangler types, so the binding is declared
for TypeScript in src/env-secrets.d.ts. If BETTER_AUTH_SECRET is missing, Better Auth falls
back to a built-in default and, with NODE_ENV=production, fails fast at startup.
For local OAuth/MCP verification, also set BETTER_AUTH_URL=http://localhost:3000 in .dev.vars (see .dev.vars.example).
このリポジトリの成果物は PolyForm Noncommercial License 1.0.0 の下で提供されます(SPDX: PolyForm-Noncommercial-1.0.0、原文: https://polyformproject.org/licenses/noncommercial/1.0.0)。
package.json / bun.lock に記載のもの)は各々のライセンスに従います。本リポジトリのライセンス設定とは無関係です。