Block a user
zoektbox (0.19.0)
Published 2026-05-31 14:29:45 -05:00 by joe
Installation
[registry]
default = "gitea"
[registries.gitea]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = truecargo add zoektbox@0.19.0About this package
zoektbox
Zoekt code-search service adapter for minibox.
Manages the lifecycle of Zoekt — a fast trigram-based code search engine — on a remote VPS. Handles binary distribution, deployment, and health monitoring.
Features
- Platform detection (Linux amd64/arm64, macOS arm64)
- Pinned release manifest with per-platform SHA256 checksums
- VPS provisioning via
go install(Zoekt does not publish pre-built binaries) - Remote deployment and service adapter
Modules
| Module | Description |
|---|---|
release |
Pinned version manifest, platform detection, and binary names |
download |
Tarball download with SHA256 verification |
deploy |
Remote deployment via SSH / cargo xtask |
service |
ZoektServiceAdapter — start, stop, health-check the remote service |
Pinned release
use zoektbox::ZOEKT_VERSION;
println!("deploying zoekt {ZOEKT_VERSION}");
The version, platform URLs, and SHA256 digests are pinned in release.rs. Update them when
upgrading:
- Bump
ZOEKT_VERSION - Download each platform tarball and run
sha256sum - Update
expected_sha256with the new digests
Provisioning
Zoekt is installed via go install on the target VPS because it does not publish GitHub
release binaries. ZoektServiceAdapter::provision() runs:
GOBIN=/opt/zoekt/bin go install github.com/sourcegraph/zoekt/cmd/...@latest
Go must be present on the VPS PATH.
Platform support
| Platform | Support |
|---|---|
| Linux amd64 | Yes |
| Linux arm64 | Yes |
| macOS arm64 | Yes |
| Windows | No |
Dependencies
| ID | Version |
|---|---|
| anyhow | ^1 |
| flate2 | ^1 |
| hex | ^0.4 |
| reqwest | ^0.12 |
| sha2 | ^0.10 |
| tar | ^0.4 |
| tempfile | ^3 |
| thiserror | ^2 |
| tokio | ^1 |
| tracing | ^0.1 |
| hex | ^0.4 |
| proptest | ^1 |
| sha2 | ^0.10 |
| tokio | ^1 |
Details
2026-05-31 14:29:45 -05:00
Assets (1)
Versions (1)
View all
Cargo
1
MIT OR Apache-2.0
20 KiB
zoektbox-0.19.0.crate
20 KiB
0.19.0
2026-05-31