Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

fix(release,site): correct binary version, /get.sh installer, remove stale RC block, live download button

xerj-orgc29ddb0cc814
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b716fe184..807666d76 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -156,6 +156,13 @@ jobs:
export "$line"
done <<< '${{ matrix.linker_env }}'
fi
+ # Binary --version is env!("CARGO_PKG_VERSION"); without this it stays
+ # frozen at whatever engine/Cargo.toml last shipped (rc.18), so every
+ # release self-reported rc.18. Derive it from the tag.
+ VER="${GITHUB_REF_NAME#v}"
+ sed -i.bak -E "0,/^version = \".*\"/s//version = \"${VER}\"/" Cargo.toml && rm -f Cargo.toml.bak
+ echo "set workspace version to ${VER}"; grep -m1 '^version = ' Cargo.toml
+ cargo update --workspace --offline 2>/dev/null || cargo update --workspace
if [ "${{ matrix.use_zigbuild }}" = "true" ]; then
cargo zigbuild --release --locked --target ${{ matrix.target }} -p xerj-server
else
diff --git a/functions/get.sh.js b/functions/get.sh.js
new file mode 100644
index 000000000..974b5c32a
--- /dev/null
+++ b/functions/get.sh.js
@@ -0,0 +1,5 @@
+// /get.sh is an alias for /get. Users copy `curl -fsSL https://xerj.org/get.sh | sh`
+// as often as the extensionless form; without this route it fell through to the
+// static handler and served index.html, so the pipe to `sh` got HTML and any
+// sha256 check failed. Re-export the real installer handler.
+export { onRequestGet } from "./get.js";
diff --git a/landing/_headers b/landing/_headers
index 4e2aede59..a35b0016e 100644
--- a/landing/_headers
+++ b/landing/_headers
@@ -4,7 +4,7 @@
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: interest-cohort=()
- Content-Security-Policy: default-src 'self' blob:; style-src 'self' blob: https://fonts.googleapis.com 'unsafe-inline'; font-src 'self' blob: https://fonts.gstatic.com; img-src 'self' blob: data:; script-src 'self' blob: 'unsafe-inline' https://static.cloudflareinsights.com; connect-src 'self' blob: https://cloudflareinsights.com; frame-ancestors 'self';
+ Content-Security-Policy: default-src 'self' blob:; style-src 'self' blob: https://fonts.googleapis.com 'unsafe-inline'; font-src 'self' blob: https://fonts.gstatic.com; img-src 'self' blob: data:; script-src 'self' blob: 'unsafe-inline' https://static.cloudflareinsights.com; connect-src 'self' blob: https://cloudflareinsights.com https://api.github.com; frame-ancestors 'self';
# Site-wide stylesheet changes with the design — must revalidate on
# every deploy (ETag 304s keep this cheap). A stale copy here breaks
diff --git a/landing/_routes.json b/landing/_routes.json
index 83e205634..ed6524751 100644
--- a/landing/_routes.json
+++ b/landing/_routes.json
@@ -1,5 +1,10 @@
{
"version": 1,
- "include": ["/get", "/get.ps1", "/lead"],
+ "include": [
+ "/get",
+ "/get.ps1",
+ "/lead",
+ "/get.sh"
+ ],
"exclude": []
}
diff --git a/landing/index.html b/landing/index.html
index f357c0610..ee13a8a07 100644
--- a/landing/index.html
+++ b/landing/index.html
@@ -79,6 +79,10 @@
}
</script>
<!-- seo:end -->
+<style>
+.nav .nav-dl{padding:.35rem .7rem;border:1px solid var(--accent,#ffc400);border-radius:4px;color:var(--accent,#ffc400);font-weight:700;white-space:nowrap;text-decoration:none;font-family:"JetBrains Mono",monospace;font-size:.8rem;}
+.nav .nav-dl:hover{background:var(--accent,#ffc400);color:#0b0b0d;}
+</style>
</head>
<body>
@@ -97,6 +101,7 @@
<a href="/docs/recipes/">RECIPES</a>
<a href="/playground">DASHBOARDS</a>
<a href="https://github.com/xerj-org/xerj" rel="external">GITHUB</a>
+ <a class="nav-dl" href="https://github.com/xerj-org/xerj/releases/latest" rel="external" title="Download the latest XERJ release">↓ <span data-latest-tag>v1.0.0-rc.67</span></a>
<span class="theme">
<button type="button" data-theme="day" class="active">DAY</button>
<span class="dash">·</span>
@@ -298,45 +303,9 @@ $ curl -sXPOST localhost:9200/_memory/agent-demo/_recall \
</section>
-<!-- 04 — SHIPPING NOW ---------------------------------------->
-<section class="scene-section">
- <div class="kicker"><span class="accent">04</span><span class="dash">·</span><span>SHIPPING NOW · THE CURRENT BUILD</span></div>
- <h2 class="scene">RC.18.<br><span class="accent">AND COUNTING.</span></h2>
-
- <p class="wide">
- <strong>18 release candidates in 43 days</strong> — v1.0.0-rc.1 shipped
- 2026-07-07, <strong>v1.0.0-rc.18</strong> on 2026-08-19, and the installers
- above always resolve the latest. Every commit re-runs the
- <strong>1,366 / 1,369</strong> ES-YAML conformance suite; the changelog
- states known defects instead of implying their absence. In the current
- build: code arrives <strong>AST-parsed for 34 languages</strong> (symbols,
- definitions, line numbers), index lifecycle policies <strong>execute</strong>
- (ILM / ISM), <code class="inline">.gitignore</code> is honoured on
- autoindex, and dense-vector kNN is HNSW-served with exact rescoring.
- </p>
-
- <div class="recipes" style="grid-template-columns:repeat(3,1fr); margin-top:var(--sp-6);">
- <a class="recipe" href="https://github.com/xerj-org/xerj/releases">
- <span class="num">RELEASES</span>
- <span class="title">Every build, 8 targets</span>
- <p class="lead">Linux / macOS / Windows &times; x86-64 / arm64, SHA-256 checksums, prerelease-transparent.</p>
- </a>
- <a class="recipe" href="https://github.com/xerj-org/xerj/blob/main/CHANGELOG.md">
- <span class="num">CHANGELOG</span>
- <span class="title">What changed, honestly</span>
- <p class="lead">Keep-a-Changelog format — including the defects we know about at cut time.</p>
- </a>
- <a class="recipe" href="https://github.com/xerj-org/xerj/blob/main/ROADMAP.md">
- <span class="num">ROADMAP</span>
- <span class="title">Where it is going</span>
- <p class="lead">Verified against the release binary, with public milestones and a live project board.</p>
- </a>
- </div>
-</section>
-
<!-- BENCHMARKS — SUPPORTING EVIDENCE -------------------------->
<section class="scene-section" id="engine">
- <div class="kicker"><span class="accent">05</span><span class="dash">·</span><span>WHY XERJ · THE COMPETITIVE ADVANTAGE</span></div>
+ <div class="kicker"><span class="accent">04</span><span class="dash">·</span><span>WHY XERJ · THE COMPETITIVE ADVANTAGE</span></div>
<h2 class="scene">THE ADVANTAGE,<br><span class="accent">FEATURE BY FEATURE.</span></h2>
<p class="wide">
@@ -493,5 +462,8 @@ $ curl -sXPOST localhost:9200/_memory/agent-demo/_recall \
<script defer src="/chart-data.js?v=ic7"></script>
<script defer src="/charts.js?v=ic7"></script>
+<script>
+(function(){try{fetch("https://api.github.com/repos/xerj-org/xerj/releases/latest").then(function(r){return r.ok?r.json():null}).then(function(d){if(!d||!d.tag_name)return;document.querySelectorAll("[data-latest-tag]").forEach(function(e){e.textContent=d.tag_name;});}).catch(function(){});}catch(e){}})();
+</script>
</body>
</html>