尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证The opennhp.org Website
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗The official website for OpenNHP - The Zero Trust Network-Infrastructure Hiding Protocol for the AI era.
🌐 Live Site: opennhp.org
This repository contains the source code for the OpenNHP project website, built with Hugo static site generator with multi-language support. The website showcases the vision, specifications, open-source ecosystem, research, and community around the Network-Infrastructure Hiding Protocol (NHP).
| Language | URL | Status |
|---|---|---|
| English | opennhp.org | ✅ Complete |
| 简体中文 | opennhp.org/zh-cn/ | ✅ Complete |
| 繁體中文 | opennhp.org/zh-tw/ | ✅ Complete |
| 日本語 | opennhp.org/ja/ | ✅ Complete |
| Deutsch | opennhp.org/de/ | ✅ Complete |
| Français | opennhp.org/fr/ | ✅ Complete |
| Español | opennhp.org/es/ | ✅ Complete |
First-time visitors are auto-redirected to the best match for their browser language (navigator.languages). The logic lives in an inline script at the top of layouts/partials/head.html and is silent on storage failures (private browsing). Once a visitor manually picks a language from the footer switcher, the choice is stored in localStorage (opennhp_lang) and honored site-wide on subsequent loads — auto-detection never overrides an explicit choice.
| Page | Description |
|---|---|
| Homepage | Hero section with project overview, features, and ecosystem preview |
| Vision | The "Dark Forest" Internet concept and why NHP matters in the AI era |
| Specification | IETF Internet-Draft and CSA Zero Trust specification details |
| Demo | Live demo showing how NHP hides server ports from unauthorized users |
| Open Source | OpenNHP Core, StealthDNS, NHP-FRP, and JS Agent projects |
| Research | Academic papers and collaboration opportunities |
| Community | Discord, GitHub Discussions, and contribution guidelines |
| Blog | Articles on AI security and the Dark Forest Internet |
website/
├── hugo.toml # Hugo configuration (languages, build settings)
├── content/
│ ├── en/ # English content (default, served at site root)
│ │ ├── _index.html # Homepage
│ │ ├── vision.html
│ │ ├── specification.html
│ │ ├── demo.html
│ │ ├── opensource.html
│ │ ├── research.html
│ │ ├── community.html
│ │ └── blog/
│ ├── zh-cn/ # Simplified Chinese
│ ├── zh-tw/ # Traditional Chinese
│ ├── ja/ # Japanese
│ ├── de/ # German
│ ├── fr/ # French
│ └── es/ # Spanish
├── data/
│ └── exploits.yaml # Timeline stories for vision page
│ # (per-entry: date, icon, localized titles/
│ # descs/links for all 7 languages)
├── layouts/
│ ├── _default/
│ │ ├── baseof.html # Base template (head, body, scripts)
│ │ └── single.html # Single page layout
│ ├── blog/
│ │ ├── list.html # Blog listing layout
│ │ └── single.html # Blog post layout
│ ├── index.html # Homepage layout
│ ├── partials/
│ │ ├── head.html # <head> meta, fonts, favicon, lang-detect
│ │ ├── nav.html # Navigation bar
│ │ ├── footer.html # Footer with language switcher
│ │ ├── exploit-card.html # One card in the vision-page timeline
│ │ └── background.html # Particle/grid background effects
│ └── shortcodes/
│ └── exploits-timeline.html # Renders timeline from data/exploits.yaml
├── i18n/
│ ├── en.yaml # English UI strings (nav, footer, timeline)
│ ├── zh-cn.yaml # Simplified Chinese UI strings
│ ├── zh-tw.yaml # Traditional Chinese UI strings
│ ├── ja.yaml # Japanese UI strings
│ ├── de.yaml # German UI strings
│ ├── fr.yaml # French UI strings
│ └── es.yaml # Spanish UI strings
├── static/
│ ├── css/styles.css # Main stylesheet
│ ├── js/main.js # JavaScript interactions
│ ├── assets/images/ # Images
│ ├── assets/icons/ # Favicons
│ ├── CNAME # Custom domain
│ ├── robots.txt
│ └── llms.txt
├── .github/workflows/
│ └── hugo.yml # GitHub Actions build & deploy
├── LICENSE
└── README.md
The "VISIBILITY = VULNERABILITY" section on /vision/ renders from data/exploits.yaml via the exploits-timeline shortcode. Adding a new story is a single YAML entry — titles/descs/date labels/link labels all live per-language in the same record. The shortcode sorts by date desc, shows the newest 4 cards, and hides the rest behind a localized toggle button (show_older_findings / hide_older_findings in each i18n/*.yaml). The per-card renderer is layouts/partials/exploit-card.html and falls back to English for any missing translation.
The website uses a "Dark Forest" theme inspired by the project's vision:
# Start the development server with live reload
hugo server -D
# Build the site
hugo
Then visit http://localhost:1313
hugo.toml under [languages] — it will automatically show up in the footer switcher and in the first-visit auto-detect list once the code is added to the SUPPORTED array in layouts/partials/head.html.content/<lang-code>/ and translate the 10 content files from content/en/.i18n/<lang-code>.yaml (nav, footer, show_older_findings / hide_older_findings).titles, descs, date_labels, link labels) to every entry in data/exploits.yaml. Missing entries fall back to English.The site is automatically built and deployed via GitHub Actions on every push to main. The workflow:
hugo --gc --minifyNote: GitHub Pages source must be set to "GitHub Actions" in repo Settings > Pages.
Contributions to the website are welcome! Please:
hugo serverThis website is released under the Apache 2.0 License.
Built with ❤️ — Ad Majorem Dei Gloriam