Repository navigation
site: Add llms.txt, a link preview and a comparison of Rust data grids - #23
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 tosite/src/lib/sidebar.ts, which the config and the endpoint both read) and the examples' list, so it never says something they do not.site/public/social-preview.png(1280×640): the quotes poster under the crate's name. It is theog:imageof 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'sDataTable, 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.DataTablerow 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 throughcell_textanddump), and a link to the new page.docker/site/smoke.shran to its end only on a site with the demos' data: underpipefail,findon a missingdemo/datastopped it before its skip message. It now checks the folder first, and checks that/llms.txtgoes 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'ssrc/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: passedtyposAfter merging
site/public/social-preview.png.script/release-site) and its deploy put the new page,llms.txtand the picture online.