尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Compare cities and countries on a weighted Piltri Score (Safety, Economy, Environment, Quality of Life) for ~140,000 places (every one with 1,000+ people) in 245 countries.
pipeline/ from free bulk sources
(GeoNames, World Bank, WHO, WorldClim, NASA POWER, satellite PM2.5, GHS-POP,
Ookla, Overture Maps, Natural Earth, USGS) and published as a versioned
bundle to Supabase Storage. See pipeline/README.md.public/data/<version>/ at build time and serves it from its own CDN.
Everything - city pages, search, pin mode, Advanced Search - reads those
static files in the browser; there's no server-side data code and no
third-party API call when a page loads.lib/supabase/schema.sql).npm install
cp .env.example .env.local # fill in the values - see DEPLOYMENT.md
npm run dev # downloads the current dataset first (predev)
Open http://localhost:3000.
app/ Pages (the public ones in app/(explore)/, addresses in
lib/urls.ts); app/api/ only has Resources links + /admin
components/ui/ Design system building blocks
components/explore/ Explore pages' components (map, panels, charts)
lib/dataset/ Dataset schema (shared with the pipeline), browser loaders,
score assembly, search, pin mode
lib/advancedSearch/ Criteria registry + in-browser search engine
lib/kpiRows.ts What each section panel shows
pipeline/ Offline data pipeline (npm run pipeline)
scripts/ sync-dataset.mjs - installs the dataset before dev/build
See DEPLOYMENT.md for production setup and HANDOFF.md for history and
design decisions.