Repository navigation
docs(readme): redesign README as a branded landing page - #2474
FlureeKevin wants to merge 4 commits into
Conversation
- Centered header with the official Fluree wordmark (light/dark <picture>), tagline, brand-tinted flat-square badges and a nav row - Hero GIF of the 60-second tour, reproducible from docs/assets/readme/tour.tape (VHS) - Four value cards; Install moved up; Benchmarks section generated from fluree/benchmark-db between BENCH markers - New "For AI agents" section with a copy-paste agent prompt, MCP, llms.txt, Fluree Memory and Fluree Unstructured (replaces the two top-of-page NOTE boxes) - "What makes Fluree different" trimmed; Standards-first no longer says "Both query languages" - New "In this repo" table and branded footer - scripts/readme/sync-bench.py and a weekly workflow that opens a PR when benchmark-db numbers change - Draft org profile README in contrib/, social preview image, BRAND.md Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- GIF: 22 px text, window frame, real query shown with cat, no indexing notice, result as the first frame (scripts/readme/render-tour.sh), sized to content - Charts: sync-bench.py now draws log-scale light/dark DBLP-core charts in brand colors and uses benchmark-db's own pass rule (status 200), which fixes the Oxigraph count - Replace the unsourced Wikidata paragraph with a generated line from benchmark-db's WGPB and Wikidata-truthy reports - Tour sample output now matches what the CLI actually prints - Org profile: "source-available", not "open source" Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bars are to scale up to 500 ms; slower engines are clipped, hatched and labeled with their real values. Co-Authored-By: Claude Opus 5.5 <[email protected]>
aaj3f
left a comment
There was a problem hiding this comment.
@FlureeKevin this is a big step up for the front door, and generating every figure from benchmark-db's raw results is exactly the design I'd want. Claude recomputed each one independently, and they match benchmark-db and bplatz's #2471 to the digit.
On the two claims at README.md:75 and :296, the wording is yours to call, since it's the front door's voice more than a spec. I'd only softly flag that each is a little stronger than the page it links (inline), with the linked pages' phrasing as one option if you want lines nobody can pick at.
The one altitude note is sequencing with your #2476: the hero GIF and the tour sample show the ASCII tables #2476 replaces, and every other doc page already shows box-drawn ones, so I'd land #2476 first and re-render here. CI's test job is also red on BRAND.md; details below.
Full review below:
🔄 Request changes. Most of this is ready, and the generated block is a real improvement on main's hand-typed figures, several of which had drifted. Three things need to land first: the red test job, the fluree mcp serve sentence, and the re-render after #2476.
Before merging:
docs/assets/readme/BRAND.md:1: CI red; excludeassets/*influree-db-docs/src/embed.rsor move the folder out ofdocs/.README.md:136: land #2476 first, then re-render the GIF and this sample.README.md:219: barefluree mcp serveserves memory only; say--toolsets allor point atmcp init.
Decisions on the record: My reading is that this makes openCypher a full peer of SPARQL and JSON-LD on the front door (time travel, policies, graph sources) and puts GraphQL on the same engine with policy applied. I think that holds up from the code, but I'd like your confirmation it's the intended promise, since the docs have so far made it for SPARQL and JSON-LD only.
Notes:
- This PR is the class fix for "a figure in prose drifts from its source": main's README had 17.5 ms, 11.5×, "r8a.4xlarge" and 43 ms over "21.5-billion" triples, all stale against benchmark-db, and #2471 is fixing the same drift in
performance.md. What's left of the class is the hand-written prose around the block (README.md:75,:231,:296above). - On the claim the body flagged: "the best model-free parsing engine on a public 200-document benchmark" is sourced.
docs/unstructured/README.md:23-38, which the paragraph links, carries the opendataloader-bench table and that result. - On the tagline TODO: "remembers everything" may sit a little awkwardly beside the purge path
docs/transactions/retractions.mddescribes for right-to-be-forgotten requests, and the erasure work onnext. Worth having in mind whichever line you pick. - The tour's
insertandupdateprint "warning: novelty is 1KB (1 commits ahead of index); runfluree indexto rebuild" on a fresh two-commit ledger, whichtour-setup.shfilters out of the GIF. I'd rather the GIF not hide a line every reader will see; the better fix is probably for the CLI not to warn that early, which is outside this PR.
Adherence: patterns ✔ · performance ✔ · deployment ⚠️ · testing ✖ · conventions ⚠️ · verification
- Patterns/abstractions: ✔ figures come from benchmark-db's raw results with its own pass rule; the README-only charts are generated by the same script.
- Performance (speed first, memory second): ✔ docs, assets, a Python script and a workflow; no engine change. No performance-degradation risk.
- Deployment targets:
⚠️ BRAND.mdwould be embedded in everyflureebinary's docs corpus (CLI and MCPdocs_search); the policy test catches it, which is the red job. - Testing: ✖ CI
testfails on head (fluree-db-docsembed policy).sync-bench.py --checkpasses against benchmark-db@3b8b750. - Conventions:
⚠️ multi-line commits; three README sentences disagree with the code or the docs they link;BRAND.md:26is stale.
Verified at 1201e3007: CI run 44802510768 (one failure, the embed policy test); sync-bench.py --check against benchmark-db@3b8b750 (up to date); every figure recomputed by Claude's own script from benchmark-db's raw TSVs (all match, and match #2471); 77 relative links and all anchors resolve, 14 external URLs return 200; on a c7i.4xlarge box Claude reproduced the fluree-db-docs failure and turned it green with #[exclude = "assets/*"], ran the README tour on this branch's and #2476's binaries, and listed fluree mcp serve's tools with and without --toolsets all; generator probes on scratch copies (an empty benchmark-db commit; perturbed data).
Just be sure to get the three items above in before this merges (most simply by landing #2476 first and re-rendering here); the rest are notes I think are worth folding in while you're in the file.
| @@ -0,0 +1,32 @@ | |||
| # README brand assets | |||
There was a problem hiding this comment.
Blocking: CI's test job is red because this file ships inside the fluree binary.
fluree-db-docs embeds every *.md under docs/ into the binary (fluree-db-docs/src/embed.rs:29-43), so it can be served by fluree docs search and the MCP docs_search tool. Its policy test, every_embedded_page_is_published_or_an_extra, requires each embedded page to be linked from docs/SUMMARY.md or listed in EMBEDDED_EXTRAS. docs/assets/readme/BRAND.md is neither, so the test fails: "these pages ship inside the binary but nothing published them: ["assets/readme/BRAND.md"]" (run 44802510768, the only failure of 16565).
BRAND.md is a maintainer note, not documentation, so the policy's "internal" outcome fits. Claude checked on a box that one line in embed.rs turns the test green (22 of 22 pass):
#[exclude = "audit-impl/*"]
#[exclude = "assets/*"]
pub struct DocsAssets;Moving the folder out of docs/ (next to scripts/readme/, say) works too, and also keeps the GIF, PNG and tape out of the mdBook output, but it means re-pointing the README, the script and the workflow. While you're in this file, line 26 still says the chart is on a log scale; it went linear in 1201e3007.
Commenting here because fluree-db-docs/src/embed.rs is not in this diff.
| │ Alien │ 1979-05-25 │ | ||
| │ Blade Runner │ 1982-06-25 │ | ||
| └──────────────┴────────────┘ | ||
| +------------+--------------+ |
There was a problem hiding this comment.
Blocking (merge order): this sample and the hero GIF show the ASCII tables your #2476 replaces.
The sample is accurate for today's CLI (Claude ran the tour on a box with this branch's binary and got these exact lines). But every other doc page that shows a table already shows the box-drawn style: docs/cli/query.md:100, docs/cli/history.md:90, docs/getting-started/tutorial-end-to-end.md:79, docs/guides/cookbook-time-travel.md:152. #2476 makes the CLI print it, and its own body calls this rendering "broken", "most visibly in the README hero GIF". If this merges first, the front door is the one page showing output that the next merge changes.
I'd land #2476 first, then re-render here: scripts/readme/render-tour.sh with a current binary (the GIF was recorded with 4.1.6), and this sample becomes exactly what Claude got from #2476's binary on the box:
┌────────────┬──────────────┐
│ date │ title │
├────────────┼──────────────┤
│ 1979-05-25 │ Alien │
│ 1982-06-25 │ Blade Runner │
└────────────┴──────────────┘
| ``` | ||
|
|
||
| ### Performance | ||
| **MCP server.** `fluree mcp serve` exposes ranked search over the version-pinned docs and persistent project memory over stdio. `fluree mcp init --ide claude-code` registers it for you. See [MCP server](docs/ai/mcp-server.md) and [Claude Code and the Fluree CLI](docs/ai/claude-code.md). |
There was a problem hiding this comment.
Blocking: fluree mcp serve on its own serves memory only, not the docs.
mcp serve --toolsets defaults to memory "for back-compat when omitted" (fluree-db-cli/src/cli.rs:2668-2671); only mcp init defaults to all and writes it into the IDE config. Claude listed the tools over stdio on a box: bare fluree mcp serve exposes kg_query and the six memory_* tools; --toolsets all adds docs_search, docs_get, docs_examples and docs_tree. So someone wiring fluree mcp serve into a client by hand from this sentence gets no docs search.
| **MCP server.** `fluree mcp serve` exposes ranked search over the version-pinned docs and persistent project memory over stdio. `fluree mcp init --ide claude-code` registers it for you. See [MCP server](docs/ai/mcp-server.md) and [Claude Code and the Fluree CLI](docs/ai/claude-code.md). | |
| **MCP server.** `fluree mcp serve --toolsets all` exposes ranked search over the version-pinned docs and persistent project memory over stdio (bare `fluree mcp serve` serves memory only). `fluree mcp init --ide claude-code` registers both for you. See [MCP server](docs/ai/mcp-server.md) and [Claude Code and the Fluree CLI](docs/ai/claude-code.md). |
The same applies to the fluree mcp serve line under "Use it your way" (README.md:337); that one was on main already, but since that section now points here, I'd fix both.
|
|
||
| ## Benchmarks | ||
|
|
||
| Systems with time travel, triple-level policy and reasoning are assumed to trade speed for capability. Fluree is faster than the specialist engines that have none of it. |
There was a problem hiding this comment.
Optional (the wording is your call): the Benchmarks lead is a little stronger than the performance page it links.
"Fluree is faster than the specialist engines that have none of it" is unqualified, and it now opens the section. bplatz's #2471 rewrites the same sentence in docs/design/performance.md as "In the published benchmarks below, Fluree outperforms engines that provide none of these features", and adds the one case that goes the other way: "at 200 M triples QLever is 59% faster on the Business Intelligence mix" (BSBM, single client). In benchmark-db, Fluree leads every geometric mean in this block, but not every query (QLever is faster on 12 of the 105 DBLP-core queries).
Not a must, and the wording is yours: just flagging that, as written, a reader can find the BSBM case in the table below and pick at it. #2471's phrasing is one way to keep it strong and unfalsifiable; equally fine to keep yours if the unqualified version is deliberate.
| ### Standards-first | ||
|
|
||
| Full SPARQL 1.1 with zero compliance failures against the W3C test suite. Native JSON-LD for idiomatic JSON APIs. Both query languages access the same engine with the same capabilities — time travel, policies, graph sources, and all. | ||
| Full SPARQL 1.1 with zero compliance failures against the W3C test suite, and native JSON-LD for idiomatic JSON APIs. SPARQL, JSON-LD and openCypher compile to the same engine with the same capabilities: time travel, policies, graph sources and all. GraphQL is derived from your data and runs on that engine too, with policy applied. |
There was a problem hiding this comment.
Optional (the wording is your call): "zero compliance failures" is a little stronger than the compatibility page this paragraph links, and the parity sentence now names openCypher and GraphQL.
docs/reference/compatibility.md:95 says SPARQL 1.1 Query is "In progress toward full compliance", and the testsuite's skip register lists documented divergences in the SPARQL 1.1 query suites (timezone offsets are not retained, so TZ/TIMEZONE/HOURS tests are registered; an empty named graph can't be enumerated) plus 21 SPARQL 1.0 evaluation entries. The suite is green because those are registered, which isn't the same as zero failures. This sentence was on main already, but the paragraph is being rewritten anyway.
To be clear, the divergences are few and deliberate, so this isn't badly off; it's just a touch stronger than the docs. Something like "passes the W3C SPARQL 1.1 query suites apart from a few documented divergences", linking docs/reference/compatibility.md, would match them, but the wording's yours.
The second sentence now names openCypher and GraphQL as well; my read on that is under "Decisions on the record" in the review body.
| commit = bench_commit(bench) | ||
| gh = "https://github.com/fluree/benchmark-db/blob/main" | ||
| block = f"""{START} | ||
| <!-- Generated by scripts/readme/sync-bench.py from fluree/benchmark-db@{commit}. Do not edit by hand. --> |
There was a problem hiding this comment.
Optional: the benchmark-db commit SHA in the block makes the weekly job open a PR whenever benchmark-db moves at all.
--check compares the whole block, and the block embeds fluree/benchmark-db@{commit}. Claude added one empty commit to a scratch clone of benchmark-db (no data change) and --check reported "out of date: README.md". benchmark-db had 11 commits in the last month, several of them BSBM-only, which change no README number. Comparing the block with the provenance comment stripped (or keeping the SHA only in the commit message and PR body, where the workflow already puts it) would make the bot speak only when a number moves. This is minor and non-blocking, but if you agree it's right, I'd rather see it folded in now than lost in the backlog.
| d_rows.append((info["label"], ms, passed, total, key)) | ||
| d_rows.sort(key=lambda r: r[1]) | ||
| d = {r[4]: r for r in d_rows} | ||
| if d_rows[0][4] != "fluree": |
There was a problem hiding this comment.
Optional: the "Fluree is no longer fastest" guard covers DBLP-core only; the other sentences are templated as wins.
The Pokec sentence ("N–M× faster reads … than FalkorDB, Memgraph and Neo4j"), the truthy sentence ("QLever … takes N× as long") and the WGPB "completes all N/M" are written whatever the data says. Claude fed the generator a perturbed copy of benchmark-db on a scratch checkout and it wrote "0.50–5.75× faster reads", "QLever answers 105/105 and takes 0.5× as long" and "completes all 847/850", with exit 0. Since a bot opens these PRs, I think the same fail-closed check belongs on every comparative sentence (every ratio above 1, "all" only when timeouts and errors are zero). I recognize this is minor, but if you agree, I'd rather see it in this PR than lost in the backlog.
| # (and docs/assets/readme/dblp-core-geomean-{light,dark}.svg) from fluree/benchmark-db, and | ||
| # opens a pull request when anything changed. It never pushes to main. | ||
| # | ||
| # Needs "Allow GitHub Actions to create and approve pull requests" enabled in |
There was a problem hiding this comment.
Optional: I'd rather not flip "Allow GitHub Actions to create and approve pull requests" for this.
That setting applies to the repo, not to this workflow: once on, any workflow running with a write token can open and approve pull requests. And the PR this job opens runs no CI until someone closes and reopens it. A scheduled job that runs sync-bench.py --check and fails (or files an issue) gives the same freshness signal with no setting change, and a maintainer runs the script and opens the PR normally. If you'd still prefer the bot, a GitHub App token scoped to this repo avoids the repo-wide setting.
| @@ -0,0 +1,41 @@ | |||
| <!-- | |||
There was a problem hiding this comment.
Optional: this draft belongs in fluree/.github, not here.
Its own header says "Not used by this repo", and the README's table describes contrib/ as "Community packaging (Arch Linux AUR)" (README.md:396). Opening it as a PR against fluree/.github directly would also get it reviewed where it will live. Not a big deal either way.
| </picture> | ||
| </p> | ||
|
|
||
| **At Wikidata scale.** On the [full Wikidata dump](https://github.com/fluree/benchmark-db/blob/main/benchmarks/wgpb/reports/wikidata-all/REPORT.md) (21.1B distinct triples), Fluree v4.2.7 completes all 850/850 WGPB graph-pattern queries with a 14.4 ms geometric mean. On [Wikidata-truthy](https://github.com/fluree/benchmark-db/blob/main/benchmarks/sparqloscope/reports/wikidata-truthy/REPORT.md) (8.18B triples), Fluree v4.2.8 answers 105/105 SPARQLoscope queries with a 270.9 ms geometric mean; QLever answers 91/105 and takes 14.1× as long. |
There was a problem hiding this comment.
Optional: the Wikidata-truthy ratio is a penalized mean, and the sentence doesn't say so.
"QLever answers 91/105 and takes 14.1× as long" uses SPARQLoscope's P=2 aggregate, in which each of QLever's 14 failures counts as twice the 300 s timeout (benchmark-db's report says so). On the 91 queries both engines answer, QLever's geometric mean is 9.9× Fluree's. The DBLP cell already says "P=2"; this sentence could carry the same qualifier, e.g. "…and its P=2 geometric mean, which counts a failed query as twice the 300 s timeout, is 14.1× Fluree's." Since the block is generated, the change goes in sync-bench.py:258. Minor, but if you agree, I'd rather see it in this PR than lost in the backlog.
Turns the README from a strong technical doc with no visual identity into a branded landing page that a developer, a buyer or a coding agent can act on within 30 seconds. The substance is unchanged: the 60-second tour, capabilities table, docs map and license explainer are all kept.
Rendered preview: README on this branch (it follows your GitHub theme, so switch themes to see both).
What changed
www-flur.ee/public/fluree-logo.svgin a<picture>(Deep#091133for light mode, white for dark), a tagline, a condensed 2-line pitch, fiveflat-squarebadges in brand colors (release, Docker pulls, CI, license, docs) and a nav row.cat, then runs it now and--at 1. The first frame is the finished result, so static previews aren't blank. Regenerate it withscripts/readme/render-tour.sh. The off-camera setup (tour-setup.sh) drops only thenovelty is NKB … run fluree indexmaintenance notice from stderr; every other line is real output.<!-- BENCH:START -->/<!-- BENCH:END -->byscripts/readme/sync-bench.py. It computes every number from benchmark-db's raw results, using benchmark-db's own pass rule (status == 200, fromcommon/make_charts.py)..github/workflows/readme-bench-sync.ymlreruns it weekly and on dispatch, opening a PR instead of pushing to main. The figures match benchmark-db exactly (v4.2.8, measured 2026-11-19): DBLP-core 16.1 ms, QLever 12.6×, Virtuoso 18.6×; Pokec 1.81 ms reads, 2.54 ms durable writes.<picture>), with Fluree in Vibrant#13C6FFand transparent backgrounds. The scale is linear: bars are exactly to scale up to 500 ms (Fluree, QLever, Virtuoso). MillenniumDB, Jena, Oxigraph and Blazegraph are hatched, clipped at the axis end and labeled with their real values.fluree mcp,llms.txt, and Fluree Memory and Fluree Unstructured, which replace the two[!NOTE]boxes that sat above Install.Cargo.toml) and a branded footer.title | datetable was hand-drawn; no CLI version prints it. Switching the CLI to box drawing is a one-line follow-up influree-db-cli/src/output.rs.docs/assets/readme/BRAND.md(colors, sources, how to regenerate each asset),social-preview.png(1280×640) with its HTML source, andcontrib/org-profile-README.md.Deviations from the brief
twitter.com/flureeDBandyoutube.com/@FlureePBCboth returned 404 when checked on 2026-11-20. flur.ee's own footer uses the same URLs, so they may be broken there too.TODO: needs Kevin
<h3>,social-preview.htmland the org profile draft.fluree/.github; I didn't write policy text.GITHUB_TOKENdon't trigger CI, so close and reopen them to run checks.Claims flagged but not changed
docs/query/graphql.md), because I couldn't confirm time-travel parity.Org-level drafts (Kevin applies; nothing here needs admin)
fluree/.githubalready exists but has noprofile/folder. Copycontrib/org-profile-README.mdtoprofile/README.mdthere. Its image URLs point at this repo'smain, so they resolve after merge.https://flur.ee. The current homepage field ishttps://fluree.github.io/db/, while the README's docs badge points tolabs.flur.ee/docs, so pick one docs home.graph-databaserdfsparqlknowledge-graphjson-ldcypherrustmcpai-agentstime-travelvector-searchgh repo edit fluree/db --description "…" --homepage https://flur.ee --add-topic graph-database,rdf,sparql,knowledge-graph,json-ld,cypher,rust,mcp,ai-agents,time-travel,vector-searchdocs/assets/readme/social-preview.pngin Settings → General → Social preview.ledger(80★),server,http-api-gateway,v3-remote-multi-server-example,homebrew-flureedb(superseded byhomebrew-tap),docs.flur.eedeveloper-hub,ledger-docker-compose-example,terraform-example,transactor-group-examples,example-supply-chain,example-authority-delegation,example-iam-mdm,example-s3-ledger,kafka,events,credentials-demo,auth-pass-example,time-travel-sample-app,todomvc,dev-week-2024,v2-authority-demofluree-admin-ui,fql-react,f.template-react,fluree-react,js-react-wrapper,fql-graphql,flureenjs-listener-example,flureenjs-2-express-example,fluree-nodejs-server,vscode-fluree,smart-function-library,cra-template-flureesjcl,elliptic,jepsen,kaocha,reitit,malli,setup-java,setup-clojure,action-gh-release,official-images,http.async.client,abracadbenchmark-db,fluree-doc-parseandfluree-ai-releasesthe same wordmark, badge style (labelColor=091133, Vibrant/Purple) and nav row, pulling the logo fromfluree/db'sdocs/assets/readme/.Verification
lychee --include-fragments README.md docs/assets/readme/BRAND.mdfound 140 OK and 0 errors. LinkedIn was excluded because it blocks bots with a 403.gh api markdown) and GitHub's stylesheet, then checked in light, dark and 375 px mobile (no horizontal scroll). All four assets resolve on this branch viaraw.githubusercontent.com.python3 scripts/readme/sync-bench.py --bench-repo ../benchmark-db --checkpasses against benchmark-db@3b8b750.fluree init,fluree mcp init --ide …,fluree docs search,--at 1) was checked against--help, and bothllms.txtURLs return 200.fluree 4.1.6, not 4.2.8. The table code onmainis the same, so the output should match. Rerunscripts/readme/render-tour.shafterbrew upgrade flureeto confirm.ghCLI can't upload images, so they aren't attached yet.🤖 Generated with Claude Code