pgx
PGX — Lightweight Postgres for AI agents. Written in Rust. Thousands of isolated databases in one runtime. 🐘
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证A visualization to show how we use our land in the EU.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗An interactive hexagonal map showing land use patterns across European countries. Each hex represents a land percentage, split into Water, Nature, Cities, and Agriculture.
🔗 Live demo: https://onsland.koenvangilst.nl
Originally created to visualize Dutch land use, this project now lets you compare land use patterns across Europe and see what makes each country unique.
https://github.com/user-attachments/assets/2e425a3a-3fa4-439e-a37d-18a6d4a0877b
Want to add more countries? The map rendering is already there, and land use data is available in the SQLite database for EU countries. PRs welcome, also for non-European countries!
Query the data from the SQLite database in data/land-cover.db to get the land use percentages for your country
Add the country configuration to public/shared/countries.js and add its slug to the supported country list in server.js
isoCode by checking the Wikipedia "List of ISO 3166 country codes" to get the country's NUMeric codecenter coordinates (longitude and then latitude) for proper map centeringscale value to get the best fit for the hex mapcategories percentages from the "Land Cover Categories" of the command's outputlabels for better readability (use the instructions in the Development section for help)Add the country name translation to the locale files in public/locales/
countries section in each language file (en.json, nl.json, fr.json, es.json, de.json)The country will automatically appear on the home page grid and in the rankings once added to the configuration. See existing country configurations for examples.
This project uses Express.js, a minimal Node.js web framework.
Start the development server:
npm run dev
Or for production mode:
npm start
The site will be available at http://localhost:8000
Build and run with Docker:
docker build -t onsland .
docker run -p 8000:8000 onsland
Enable drag-and-drop label positioning by setting DEV_MODE = true in public/country.js.
Check the browser console for the current label positions to update the configuration.
This project uses a simple Express server for routing and templating. All interactivity is handled through vanilla JavaScript files loaded directly in the browser, keeping the stack minimal and avoiding framework complexity.
Created by Koen van Gilst
Previous HN discussion: https://news.ycombinator.com/item?id=40599763
Production uses the shared vnglst/static-sites Nginx host; no Node process runs there.
Run npm ci && npm test && npm run export, commit dist/ with the source,
then update the immutable Onsland source pin in the hosting repository.
The export preserves /, /about, /rankings and all 26 /country/<name> URLs.
Unsupported countries and missing files return 404. Node/Fastify remain local development and export tools.