Skip to content

site: Add llms.txt, a link preview and a comparison of Rust data grids - #23

Merged
glani merged 5 commits into
mainfrom
site/discovery
Nov 19, 2026
Merged

glani merged 5 commits into
mainfrom
site/discovery

Conversation

@glani

@glani glani commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • /llms.txt (llmstxt.org): what the crate is, the install lines and compatibility table of Getting started, the main types, every page in the sidebar's order and groups with its description, the demos, and the API, crates.io and source links. An Astro endpoint builds it from the pages, the sidebar (moved to site/src/lib/sidebar.ts, which the config and the endpoint both read) and the examples' list, so it never says something they do not.
  • A link preview picture, site/public/social-preview.png (1280×640): the quotes poster under the crate's name. It is the og:image of every page without one of its own, and the file to upload as the repository's social preview.
  • /rust-data-grid/, "Rust data grid: the options compared": the tables of GPUI (gpui-kit's DataTable, gpui-table, sqlly-datatable), egui (TableBuilder, egui_table, egui-data-table), iced (table, iced_table), Slint (StandardTableView), GTK (ColumnView) and Dioxus (dioxus-tabular), with a summary table, which to take when, and where this grid is not the one to take.
  • README: the DataTable row of the comparison read against gpui-component 0.10.0 (an element per visible cell; the delegate sorts on a click and there is no filtering; cells come out as text through cell_text and dump), and a link to the new page.
  • docker/site/smoke.sh ran to its end only on a site with the demos' data: under pipefail, find on a missing demo/data stopped it before its skip message. It now checks the folder first, and checks that /llms.txt goes out as UTF-8 text.

How the comparison was checked

Every statement about another library comes from its own documentation, README or source at the version named (crates.io API for versions and dates), as of 2026-11-19; the page links the sources under each library. DataTable's were read in gpui-component 0.10.0's src/table/. Where a library's documentation says nothing, the page says "not documented" rather than "no".

Checks

  • bun run --cwd site build, bun run --cwd site check (0 errors), bun test --cwd site (83 pass, including the new llms.txt link checks)
  • docker/site/stage.sh, docker build, docker/site/smoke.sh: passed
  • typos

After merging

  • Settings → Social preview: upload site/public/social-preview.png.
  • A site release (script/release-site) and its deploy put the new page, llms.txt and the picture online.

Under pipefail, find failing on a missing demo/data ended the script before
its skip message; the folder is now tested first.
A map of the site for language models and the tools built on them
(llmstxt.org): what the crate is, the install lines and compatibility table
of Getting started, the main types, every page in the sidebar's order and
groups with its description, the demos, and the API, crates.io and source.
It is built with the site from those pages, the sidebar and the examples'
list, so it never says something they do not; the sidebar moves to its own
module, which both read.

The link check covers it, and the image's smoke check that it goes out as
UTF-8 text.
…ared

A 1280x640 picture (site/public/social-preview.png) is the og:image of
every page without one of its own, and the repository's social preview.
It is the quotes poster from its column headers down, under the name and a
line in IBM Plex Sans, made with ImageMagick:

  convert -size 1280x640 'xc:rgb(18,20,24)' \
    \( quotes.png -crop 1280x424+0+49 +repage \) -geometry +0+216 -composite \
    -font ibm-plex-sans-latin-600-normal.woff -pointsize 72 \
    -fill 'rgb(232,234,237)' -annotate +56+106 'gpui-kit-grid' \
    -font ibm-plex-sans-latin-400-normal.woff -pointsize 32 \
    -fill 'rgb(160,166,174)' \
    -annotate +58+164 'A live data grid for Rust applications built with GPUI' \
    -depth 8 -strip social-preview.png

where quotes.png is site/public/posters/quotes.webp as PNG and the fonts
are @fontsource/ibm-plex-sans's.
Read against gpui-component 0.10.0: rows and columns are virtualized, so it
builds an element per visible cell; a header click asks the delegate to
sort, on the UI thread, and there is no filtering; and the cells come out as
text through cell_text and dump for the application to write out.
A page for a reader choosing a Rust data grid (/rust-data-grid/): the
tables of GPUI (gpui-kit's DataTable, gpui-table, sqlly-datatable), egui
(TableBuilder, egui_table, egui-data-table), iced (table, iced_table), Slint
(StandardTableView), GTK (ColumnView) and Dioxus (dioxus-tabular), a summary
table, which to take when, and where this grid is not the one to take.

Every statement about another library comes from its own documentation,
README or source at the version named, as of 2026-11-19, and the page links
those sources; what a library's documentation does not mention is said to
be not documented. The README links the page under its DataTable table.
@glani
glani merged commit 1e74fd1 into main Nov 19, 2026
12 checks passed
@glani
glani deleted the site/discovery branch November 19, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant