derstruct

derstruct

Corpus Hub contributor since 2026-10-09

derstruct's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
6files
235lines

Totals count @derstruct's own selected commits. The repositories belong to their maintainers; their stars are not counted here.

What an agent can do with @derstruct's commit to doors

doors-dev/doors: Server-driven framework for building stateful, reactive web applications entirely in Go

Example questions
Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
Search the GitHub repository doors-dev/doors with XERJ (https://hub.xerj.org/corpus/doors-dev--doors).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/doors-dev/doors doors --filter=blob:none --no-checkout && git -C doors sparse-checkout set --no-cone /internal/client/ /internal/front/actions/ /internal/test/attr/ && git -C doors checkout b32e5ca149bed300ad698724a0f9ae49558ad43c
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./doors --url http://127.0.0.1:9200 --prefix doors --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: Apache-2.0. Keep the copyright notice and credit the authors.

corpus doors-dev--doors · Web and frontend platform
Related corpora: lightningcss, astro-docs, rspack, rust-cssparser
Case study: reference coding for agents

Selected work

Commit to doors-dev/doors

maintained by @doors-dev
b32e5ca149 feat: add ActionTime to read the client clock
selected commit: 6 files · 235 lines · Go, TypeScript · internal/test, the project root, internal/front

The corpus covers only the directories this commit changed (internal/client, internal/front/actions, internal/test/attr). The repository is @doors-dev's; this page credits @derstruct for this commit only.

live on the hub · licence clearedcorpus doors-dev--doorsWEBApache-2.0 agreed 2026-10-09
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/derstruct/badge.svg)](https://hub.xerj.org/contributors/derstruct)

Included with the author's permission (email, 2026-10-09), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.