diff options
| author | Leitwolf11 | 2026-11-17 13:22:15 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-11-17 13:22:15 +0300 |
| commit | e45ac306efd73ec6a5ed37a813455da506d6aab2 (patch) | |
| tree | b64f20e0d8152553f63a235e20fd247e7e28fe5b /apps/web/lib/llms.ts | |
| parent | 477625cd75db2295d0f05bce206d9ea1b5b13ef2 (diff) | |
| download | progmaweb-site/structured-data.tar.gz | |
Add llms.txt and schema.org data, and bring project facts up to datesite/structured-data
Search tools and language models describe Progmasoft from what they can
read; the site now states it plainly.
- progmasoft.com/llms.txt (llmstxt.org form, text/markdown): what
Progmasoft makes, each project with its tagline, description, language,
release or development status, license, source and site, and the
services. It is written from the product catalog, so it follows it. It
says that only the listed projects are developed and that archived
repositories and deprecated packages are not. Only progmasoft.com and
www serve it; the proxy leaves the path alone, as it does robots.txt.
- JSON-LD (components/JsonLd.tsx, with the page's nonce): Organization
and WebSite on progmasoft.com, an ItemList of the projects on the
catalog, and SoftwareSourceCode on each project page (repository,
issues, language, SPDX license URLs, creation date, status, latest
version, site, in the language of the page). `<` is escaped so no
value can close the script element.
- products.ts: Tazel, Archer and Etincelle are MIT and Catch3 is
BSL-1.0 AND LGPL-3.0-or-later; the catalog still showed the licence
with the exception that no project uses any more.
- The Catch3 entry of the catalog, in every language, no longer calls its
runner and mocks planned: both are released; the description lists
the runner, property tests, mocks, snapshots and structured results.
Tests: 49 unit tests (new: SPDX URLs, the data of every project in every
language, the catalog list, escaping, llms.txt content), tsc, eslint,
build, 140 layout tests. Checked on next start: llms.txt 200 on
progmasoft.com and 404 on the other hosts; the JSON-LD of the Catch3 page
parses.
Claude-Session: https://claude.ai/code/session_01Ji7xZMYjc4zankoc7hGBE1
Diffstat (limited to 'apps/web/lib/llms.ts')
| -rw-r--r-- | apps/web/lib/llms.ts | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/apps/web/lib/llms.ts b/apps/web/lib/llms.ts new file mode 100644 index 0000000..40de69a --- /dev/null +++ b/apps/web/lib/llms.ts @@ -0,0 +1,58 @@ +// SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com> +// SPDX-License-Identifier: AGPL-3.0-or-later + +import { catalogMessages } from "./catalog-messages.ts"; +import { productSlugs, products } from "./products.ts"; + +/** + * progmasoft.com/llms.txt: what Progmasoft makes, in the Markdown form of + * llmstxt.org, for language models and the tools that read the site for + * them. It is written from the product catalog, so a project's status, its + * latest release and its license are the ones the catalog shows. + */ +export function llmsText(): string { + const english = catalogMessages["en-US"].products; + const projects = productSlugs.map((slug) => { + const product = products[slug]; + const release = product.latestRelease + ? `latest release ${product.latestRelease.version} (${product.latestRelease.date})` + : "in development, no release"; + const site = product.site ? `; site ${product.site}` : ""; + return ( + `- [${product.name}](https://product.progmasoft.com/${slug}): ${english[slug].tagline} ` + + `${english[slug].description} Written in ${product.language}; ${release}; ` + + `license ${product.license}; source ${product.source}${site}.` + ); + }); + return `# Progmasoft + +> Progmasoft makes open-source developer tools and data infrastructure: a build system, a C++ test framework, an +> agentic IDE, and a columnar data format with a data engine for the JVM. Every project is developed in public on +> GitHub under github.com/Progmasoft. + +Progmasoft is not a company. Only the projects listed below are developed. Repositories of the Progmasoft organization +on GitHub that are archived are no longer developed, and so are packages of Progmasoft marked deprecated on a package +registry. + +## Projects + +${projects.join("\n")} + +## Services + +- [Progmasoft Account](https://account.progmasoft.com/): one account for the services of Progmasoft; its name is also + the publisher name on ViGet. +- [ViGet](https://viget.progmasoft.com/): the package registry of Progmasoft, for C, C++ and Objective-C packages and + for the DSL plugins of build systems. +- [Progmasoft Console](https://console.progmasoft.com/): OAuth 2.1 and OpenID Connect clients for applications that + sign people in with their Progmasoft Account. +- [Progmasoft Git](https://git.progmasoft.com/): read-only mirrors of the public repositories; issues and pull + requests are on GitHub. + +## Optional + +- [Product catalog](https://product.progmasoft.com/): every project with its category, language, status and release. +- [Privacy Policy](https://progmasoft.com/privacy) +- [Security Policy](https://progmasoft.com/security) +`; +} |