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.