GitHub 火線榜

GitHub 火線榜 · 倉庫檔案

thebuggeddev/anatomy

An interactive 3D human anatomy explorer built using threejs with GPT 5.6 Sol (簡介來自倉庫自身文件。)

資料截至 October 25thebuggeddev

最好成績

#246

潛力榜 · 90 天斜率

3.8K

累計 Star

960

Fork 總數

3

近 30 天在榜天數

上榜 3 天 · 近 30 天 +25 星 · 日均 +8連續在榜 2 天

專案狀態授權條款: 未知最近 push: August 9Open Issues(含 PR): 27

自 2026-10-25 起採集;未知 = 尚未採集到

把上榜徽章放進你的 README · thebuggeddev/anatomy[![把上榜徽章放進你的 README](https://git.vaiox.xyz/api/badge/thebuggeddev/anatomy.svg)](https://git.vaiox.xyz/zh-TW/repo/thebuggeddev/anatomy)
<a href="https://git.vaiox.xyz/zh-TW/repo/thebuggeddev/anatomy"><img src="https://git.vaiox.xyz/api/badge/thebuggeddev/anatomy.svg" alt="把上榜徽章放進你的 README" height="20"></a>

專案文件

vinext-starter

A clean full-stack starter running on vinext, with optional Cloudflare D1 and Drizzle support.

Prerequisites

  • Node.js >=22.13.0

Quick Start

npm install
npm run dev
npm run build

This starter does not use wrangler.jsonc.

Included Shape

  • edit site code under app/
  • .openai/hosting.json declares optional Sites D1 and R2 bindings
  • vite.config.ts simulates declared bindings for local development
  • db/schema.ts starts intentionally empty
  • examples/d1/ contains an optional D1 example surface
  • drizzle.config.ts supports local migration generation when needed

Workspace Auth Headers

OpenAI workspace sites can read the current user's email from oai-authenticated-user-email.

SIWC-authenticated workspace sites may also receive oai-authenticated-user-full-name when the user's SIWC profile has a non-empty name claim. The full-name value is percent-encoded UTF-8 and is accompanied by oai-authenticated-user-full-name-encoding: percent-encoded-utf-8.

Treat the full name as optional and fall back to email when it is absent:

import { headers } from "next/headers";

export default async function Home() {
  const requestHeaders = await headers();
  const email = requestHeaders.get("oai-authenticated-user-email");
  const encodedFullName = requestHeaders.get("oai-authenticated-user-full-name");
  const fullName =
    encodedFullName &&
    requestHeaders.get("oai-authenticated-user-full-name-encoding") ===
      "percent-encoded-utf-8"
      ? decodeURIComponent(encodedFullName)
      : null;

  const displayName = fullName ?? email;
  // ...
}

Optional Dispatch-Owned ChatGPT Sign-In

Import the ready-to-use helpers from app/chatgpt-auth.ts when the site needs optional or required ChatGPT sign-in:

  • Use getChatGPTUser() for optional signed-in UI.
  • Use requireChatGPTUser(returnTo) for server-rendered pages that should send anonymous visitors through Sign in with ChatGPT.
  • Use chatGPTSignInPath(returnTo) and chatGPTSignOutPath(returnTo) for browser links or actions.
  • Pass a same-origin relative returnTo path for the destination after sign-in or sign-out. The helper validates and safely encodes it.
  • Mark protected pages with export const dynamic = "force-dynamic" because they depend on per-request identity headers.

Dispatch owns /signin-with-chatgpt, /signout-with-chatgpt, /callback, the OAuth cookies, and identity header injection. Do not implement app routes for those reserved paths. Routes that do not import and call the helper remain anonymous-compatible.

SIWC establishes identity only; it does not prove workspace membership. Use the Sites hosting platform's access policy controls for workspace-wide restrictions, or enforce explicit server-side membership or allowlist checks.

Use SIWC for account pages, user-specific dashboards, saved records, and write actions tied to the current ChatGPT user. Leave public content anonymous.

Useful Commands

  • npm run dev: start local development
  • npm run build: verify the vinext build output
  • npm test: build the starter and verify its rendered loading skeleton
  • npm run db:generate: generate Drizzle migrations after schema changes

Learn More

當前上榜

  • 246

    潛力榜 · 90 天斜率

    3.8K 星 · 960 fork · 星星 / 天

    潛力 →

近 30 天勢頭

累計 Star 走勢

名次走勢

每日新增 Star

同榜競速 · 名次近鄰 · 潛力

← 回到榜單