This repo is the indx.earth front-end website. It is also a framework for building static websites, with home page, sub pages, contact/email subscribe forms. THe human author uses .md files to build the pages, and then uses skills, py scripts and other software to build the website.
This process builds a website that is highly structured for SEO and GEO for the AI agentic era. It makes for a fast website that is not dependent on platforms or services (wordpress, shopify, magento, etc.). Users upload it to a VM or dockerized environment. This repo will evolve over time as the indx.earth website grows. Fork it and point Codex or Claude or any inference AI to the repo to help you modify this repo for your own website.
If you have existing big, complex websites in platforms like wordpress, shopify, magento, etc., keep them as your human layer, and use the process in this builder to create corresponding content for AI. I suggest you begin first in this document (https://projects.eddiesoehnel.com/adminprojects/seo-geo) to get your bearings on SEO, GEO and findability in the AI era, and how and why this builder fits.
The final discovery stage now generates `public/.well-known/poppy.json` for Personal Agent Protocol draft 0.1. The supported profile declares ordinary website access only. See [Poppy integration](docs/poppy.md) for adaptation, validation, deployment checks, and future runtime requirements.
The idea is to build this front website in git and publish it using apps, skills and scripts. Codex or any AI can access it to complete tasks. Over time we can automate all this via a harness so that AI will do more and more of maintaining and publishing new content. We create a harness so that AI can proactively update content (like a Wiki if one is built) as other elements of the business change. We automate through AI the maintenance of all the content ontology (relationships, edges and nodes). If we add ecommerce carts (human or AI - like x402), AI manages all of that.
Never, ever store any kind of credentials in this repo. If you copy this repo and modiy for your own website, this repo is designed to be copied in its entirety to your website main directory, so don't store anything sensitive here. Keep it outside of this directory entirely.
Get an older PC (one bricked because of Windows 10 legacy), convert to Linux (Ubuntu), and then host this website on it. Many people have these PCs in their closets because they do not know what to do with them. Ask family/friends to give them to you for free. Get a static IP address with your internet provider, or use Cloudlfare TUnnel client that bypasses the need/expense of a static IP (but you have to use Cloudflare, which offers a really nice free plan with lots of functionality). Now, you have free hosting. Get a second bricked PC and keep it on standby if your primary fails.
The directory struture of this repo matches the structure, except for this README.md page, the UPDATES.md page, LICENSE, CHANGELOG.md and the tasks-workflows. folder
# Initial Primary Checklist For Setting Up A Website
1. domain name
2. Cloudflare (optional but highly recommended)
3. email server (MSFT or Google Workspace) or email forwarding if not using emails for domain (Cloudflare email services is useful for forewards)
- skills-scripts/sync_content_to_hugo.py (line 32) - generator source for future Hugo syncs
- hugo-html-builder/content/_index.md (line 296) - current Hugo home content
- hugo-html-builder/public/index.html (line 448) - Hugo rendered output
- public/index.html (line 448) - root published output
For the server process, the new secret should go only in the server env /etc/indx-contact.env. as RECAPTCHA_SECRET_KEY=..., then restart indx-contact.service: sudo systemctl restart indx-contact.service
confirm: sudo systemctl status indx-contact.service --no-pager
As this builder is originally for indx.earth, we want to convert this repo into a clean new website repo for a different domain, brand, content set, and deployment target. To do that, use AI to run this skill against this repo: indx\structured-website-builder-web-website\skills-scripts\skill-convert-builder-for-new-website.md
Just write them with headings as you would a normal webpage. I have saved a few in the folder_originals, but I now just create them, then they get overwritten in step 2 below.
I hard code the sitemap and its links into the home.md page. So, when new pages added, their links get hard coded in.
To engage AI with steps 2 and 3 below, the human should review this skill and guidance and direction on prompts and execution: execute-content-structuring-process-overview-skill.md This file is like a skill of skills that the human gives to the AI.
Create basic front-matter to the .md author/cotent files as a stand-in for the CIS envelope process that is not being employed at this time. This is a reasoning layer for AI to parse the document. Or, the author could just use a template. Identity of the chunkcs are created here. If adding/ammending an existing page within chunks, just write inside the chuncks. If major changes, then create a new page. In either case, you will run through the steps below to re-parse the page and create the correct json files. For page sections like the form for contact us and email subscribe and the sitemap (both on home page of this website), create the identifiers around those sections to be consistent, but they are not used any further in creating the .json docs.
### 3. Once approved by author, use skill cis-guided-semantic-chunk-generation-skill.md to create chunks.json and use skill semantic-qa-materialization-skill.md to create qa.json.
These semantic artifacts are stored locally under /public/data/open/pages/ so they are served publicly at /data/open/pages/ after publishing. Here, we pull from the CIS envelope (chunk-intelligence-signature.md) for reference, not as a full implementation requirement. As this is a simple static website, we only need what is required to improve retrieval, continuity, reasoning and futur extensibility. We build the schema based on this perspective first for both chunks.json and qa.json. This is a reasoning layer.
Schema pulled from CIS envelope for this website:
- IDs
- labels
- content
- ordering
- heading hierarchy
- summaries
- tags
- document-level license and usage metadata
because these directly improve:
- retrieval;
- embeddings;
- graph traversal;
- semantic ranking;
- machine-readable rights and attribution handling.
Important Design Decisions
heading_path VERY important.
Example:
[
"The iNDX Platform",
"IndustrySIG"
]
This becomes:
- structural context;
- breadcrumb semantics;
- retrieval weighting.
order Needed. Even in graph systems:
- sequence still matters;
- narrative order matters;
- summarization matters.
This is not marketing copy.
It is semantic retrieval hinting.
Tags: use lightly. Do NOT: over-taxonomize. 3–10 good tags is enough.
Things I Deliberately Excluded
- No CID hashes yet Premature.
- No provenance objects Not needed yet.
- No trust scores No evidence basis yet.
- No ontology refs Too early.
- No relationships array Can derive later.
- No granular per-chunk permissions Site is public, with document-level license metadata.
- No embeddings Separate phase.
For generated `chunks.json` and `qa.json` files, include the following document-level metadata unless a page explicitly requires different rights handling:
As final step, always run through the above documents again through an inference layer to cross-check that all the identifiers are carried throughout and content is consistent, as AI can make errors.
First, copy the author generated.md files in /content/ (which went through step 2 already) into the hugo-html-builder/content, using script sync_content_to_hugo.py
This partial automatically generates machine-readable discovery metadata for rendered HTML pages. It adds <link rel="alternate" type="application/json"> tags for pages that have corresponding semantic artifact files, pointing crawlers and agents to that page’s chunks.json and qa.json files. It also generates JSON-LD structured data using Schema.org types. The home page renders as WebPage; individual community summary pages render as Article; section/list pages render as CollectionPage. For home and article pages, the JSON-LD also includes Dataset nodes for the associated chunks.json and qa.json files, with DataDownload links to the public artifact URLs.
Modified the shared Hugo base template:
hugo-html-builder/layouts/_default/baseof.html
The base template now calls the semantic discovery partial inside the HTML <head>:
{{ partial "semantic-discovery.html" . }}
Because baseof.html is the shared wrapper for the home page, list pages, and single article pages, this makes semantic discovery metadata render automatically across the site whenever Hugo builds the HTML. Future pages should not need hand-authored JSON-LD or alternate artifact links as long as their front matter and artifact paths follow the existing project conventions.
As part of the hugo publishing process the above is added. After Hugo completes, run this skill: html-semantic-artifacts-checker-skill.md to make sure the tags and JSON-LD is correct in each new page.
#### Human Review and Copy Hugo Output To Root
When output passes human testing, run this scrtipt to copy the Hugo output to the root directory /public/ file: publish_hugo_output.py
cd /mnt/c/projects/indx/structured-website-builder-web-website
python3 skills-scripts/publish_hugo_output.py
As part of the hugo publishing process the above is added. After Hugo completes, run this skill: html-semantic-artifacts-checker-skill.md to make sure the tags and JSON-LD is correct in each new page.
Local semantic artifact files live in /public/data/open/pages/**. Public artifact URLs use /data/open/pages/** because /public is the deployed site root.
As the site grows, you’ll probably want a two-layer structure because the ai-index.json will get huge.
Keep root:
/public/ai-index.json
as the lightweight discovery manifest. It should stay small and answer:
What exists?
What categories/sections exist?
Where are the per-section indexes?
What should an AI retrieve first?
Then split detailed resource indexes by section, for example:
After ai-index.json is rebuilt, build the remaining discovery files using this skill: discovery-files-materialization-skill.md. It references build_discovery_files.py and must be run after the Hugo publish step when pages are added, renamed, or deleted so sitemap.xml, llms.txt, agents.md, skills.md, robots.txt, and .well-known/ai-catalog.json stay current.
- .well-known/ai-catalog.json - uses skill ai-catalog-materialization-skill.md through build_discovery_files.py. It advertises actual public agent-usable resources and stays separate from the content-focused ai-index.json.
- .well-known/poppy.json - generated by build_discovery_files.py from SITE_URL and SITE_TITLE; ordinary website access only, without sessions or API claims.
### 7. Redirect from Cloudflare to my edge data center
(I self-host on my farm in my own data center I built), then via Caddy to docker container on VM index-front-prod-app. There is an existing docker container already on same VM the houses a discourse app (https://community.indx.earth)
### 8. Use healthz.md file as no cache page for uptime, resolves to /public/healthz/index.html
Add to desktop AI (OpenAI, Claude) or MCP aware agent. Use the agent to compare this repo against the specs via the MCP server to help catch any other items.
As pages are added, amended, or deleted, keep this listing current. The current community summary structure is flat under `/community-summaries/`; do not reintroduce old segmented subdirectories.