Tokens
Track, visualize, and compete on AI coding assistant token usage across Claude Code, Cursor, OpenCode, Codex, Gemini, Kimi, and Qwen. The Kardashev Scale for AI Devs.
翻譯準備中
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證核材料原子间势函数开放平台 - Nuclear Material Interatomic Potential Library
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗可持续共享的核燃料与材料物性数据库平台
Nuclear Fuel & Materials Properties Database — a sustainable and sharing platform for nuclear materials data in China.
| Layer | Technology |
|---|---|
| Frontend | Next.js 15 (App Router) + TypeScript + Ant Design 5 |
| Backend | Python 3.12+ / FastAPI |
| Database | PostgreSQL 16 |
| Package Manager | pnpm (JS) / uv (Python) |
| CI/CD | GitHub Actions |
corepack enable && corepack prepare pnpm@latest --activate)curl -LsSf https://astral.sh/uv/install.sh | sh)# 1. Clone and enter the repo
git clone <repo-url> && cd nfm-db
# 2. Start PostgreSQL (one-time)
docker compose -f docker/docker-compose.yml up -d
# 3. Install frontend dependencies
pnpm install
# 4. Install backend dependencies
cd apps/api && uv sync --dev && cd ../..
# 5. Start both dev servers (in separate terminals)
pnpm dev # Frontend → http://localhost:3000
pnpm dev:api # Backend → http://localhost:8000
That's it — the frontend runs on port 3000 with hot reload, and the API on port 8000 with auto-reload.
nfm-db/
├── apps/
│ ├── web/ # Next.js 15 frontend
│ │ ├── src/
│ │ │ ├── app/ # App Router pages
│ │ │ ├── components/
│ │ │ ├── lib/
│ │ │ └── styles/
│ │ └── e2e/ # Playwright E2E tests
│ └── api/ # FastAPI backend
│ ├── src/nfm_db/
│ │ ├── api/v1/ # API routes
│ │ ├── models/ # SQLAlchemy models
│ │ ├── schemas/ # Pydantic schemas
│ │ └── services/ # Business logic
│ └── tests/
├── packages/
│ ├── shared/ # Shared TypeScript types
│ └── config/ # Shared config (ESLint, etc.)
├── docker/ # Docker Compose & Dockerfiles
├── docs/ # Project documentation
├── .github/workflows/ # CI pipeline
├── pnpm-workspace.yaml
├── pyproject.toml # Python project config (Ruff, mypy, pytest)
└── README.md
| Command | Description |
|---|---|
pnpm dev | Start Next.js dev server (port 3000) |
pnpm dev:api | Start FastAPI dev server (port 8000) |
pnpm build | Build the Next.js frontend |
pnpm lint | Lint all packages |
pnpm typecheck | Type-check all packages |
pnpm test | Run unit tests |
pnpm test:e2e | Run Playwright E2E tests |
cd apps/api
# Install dependencies
uv sync --dev
# Run dev server with auto-reload
uvicorn nfm_db.main:app --reload --port 8000
# Run tests
uv run pytest
# Lint
uv run ruff check src tests
# Type check
uv run mypy src
API documentation is auto-generated at http://localhost:8000/docs (Swagger UI).
cd apps/web
# Install dependencies
pnpm install
# Run dev server
pnpm dev
# Run tests
pnpm test
# Type check
pnpm typecheck
GitHub Actions runs on every push to main and on pull requests:
Both jobs must pass before a PR can be merged.
Create .env files for local development:
Backend (apps/api/.env):
NFM_DATABASE_URL=postgresql+asyncpg://nfm:nfm@localhost:5432/nfm_db
NFM_DEBUG=true
Proprietary — all rights reserved.
This section added by NFM-3334 to validate GitHub auto-merge flow (AC-3). Safe to remove.