← All repos

View on GitHub ↗Astro · 2026-10-07

fd-official-web

The official website for FindDataTechnology — 寻数 FindData, an open-data ontology MCP for AI agents. This repo is the catalog layer of the five product lines (not a line member itself); it carries no line tag.

Stack

Astro (static output) served behind nginx on the Tencent CN box, live at www.finddatatech.cloud — see OPS.md for deployment, env vars, and HTTPS setup.

Develop

npm install
npm run dev        # local dev at localhost:4321
npm run build      # fetches repos.json from GitHub API, then builds dist/
./deploy.sh        # rsync dist/ → server, nginx reload (needs SSH_PASSWORD or SSH key)

Structure

src/
  i18n.ts               UI strings (en/zh)
  content.config.ts     docs content collections (Content Layer API)
  content/docs/{en,zh}/*.md
  content/apps/{en,zh}/*.md      product-line app entries (frontmatter: line/order/kind)
  content/roadmap/*.md           codename phases (bilingual frontmatter, optional items_en/items_zh)
  components/           Layout, RepoCard, TourMockup, TourTrial, ProductCatalog
  pages/                en default, zh/ prefixed
scripts/fetch-repos.mjs       build-time GitHub API fetch (last-good fallback)
scripts/fetch-indicators.mjs  build-time MCP catalog export (last-good fallback)
scripts/build-data-modules.mjs build-time curated module aggregation (last-good snapshot)