p5.js
p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. Looking for p5.js 2.0? http://beta.p5js.org
What XERJ indexed
Snapshot
The whole repository at commit 4374918012 (2026-10-22). main is 135 commits ahead.
Selected work

“address addon helper review feedback”. 7 files, 709 lines in test, src/strands, src/webgpu.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-25. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
javascriptgraphicseducationlearningartdesignsoundhtml
Example questions
- How does p5.js implement javascript?
- Where does p5.js handle “address addon helper review feedback”?
- What does src/strands do in p5.js?
Inside the indexed corpus
- Languages by size: JavaScript 71.8%, Markdown 24.9%, HTML 2.5%, GLSL 0.7%, TypeScript 0.2%.
- On GitHub since 2013-02-26, last push 2026-10-29, 17,809 commits on main.
- The pin is 135 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported LGPL-2.1 for processing/p5.js on 2026-10-29, and the LICENSE file at commit 4374918012 was reviewed as LGPL-2.1. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
bhabishnu (@bhabishnu) has 1 selected repository on the hub.
Using XERJ with p5.js
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones processing/p5.js at the pinned commit and indexes it on your machine.
Search the GitHub repository processing/p5.js with XERJ (https://hub.xerj.org/corpus/processing--p5-js). 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/processing/p5.js p5.js && git -C p5.js checkout 4374918012201c83e302e9930b7edcbb0b480400 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./p5.js --url http://127.0.0.1:9200 --prefix p5-js --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: LGPL-2.1. Read it for the approach only, do not copy code.
Related
bhabishnu Web and frontend platform corporajsdomminifyrousseaufazal305/browser-memory-visualizerastrnox/TATAboxfazal305/database-javascript-engineering-studio
Stats: GitHub API, fetched 2026-10-29. Selected work and consent: the XERJ registry.