# Overview 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. # AI-native 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. # Security 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. # Cheap Reliable Hosting 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. # Organization 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) 4. Google Analytics tag 5. Google Captcha for forms 6. favicon (because I always forget these) # Initial Conversion 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 ## iNDX Website (https://indx.earth) ## Process ### 1. Author creates content in /content/ as .md files. 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. Be sure to copy those new pages in this file below in the organization section. --- 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. --- ### 2. Use skill author-content-structuring-skill.md to do initial knowledge_id and chunk parsing of the .md author/content files. 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: ```json "license": "https://creativecommons.org/licenses/by/4.0/", "usageInfo": "https://indx.earth/wiki/license/" ``` 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. ### 4. Use Hugo to convert to HTML for web and humans. Add JSON-LD content as well to these pages. Add google analytics measurement ID to baseof.html template 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 - Run manually: cd /mnt/c/projects/indx/structured-website-builder-web-website python3 skills-scripts/sync_content_to_hugo.py - Then, render manually: cd /mnt/c/projects/indx/structured-website-builder-web-website/hugo-html-builder hugo --cleanDestinationDir - run html-semantic-artifacts-checker-skill.md (see notes below) - when output passes human testing, run this scrtipt to copy the Hugo output to the root directory /public/ file: publish_hugo_output.py It copies from: hugo-html-builder/public/ into: public/ while preserving these root discovery files: robots.txt sitemap.xml llms.txt agents.md skills.md ai-index.json Run it with cd /mnt/c/projects/indx/structured-website-builder-web-website python3 skills-scripts/publish_hugo_output.py #### Adding tags in
and JSON-LD data to html pages Added a Hugo partial named semantic-discovery.html at: hugo-html-builder/layouts/partials/semantic-discovery.html The partial uses the site content license and usage guidance URLs in generated JSON-LD: ```json "license": "https://creativecommons.org/licenses/by/4.0/", "usageInfo": "https://indx.earth/wiki/license/" ``` This partial automatically generates machine-readable discovery metadata for rendered HTML pages. It adds 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 : {{ 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. ### 4.1. Add a contact us form to the home.md page where