rishadbaniya/justless
关于
Up to 171× less for your coding agent to read. Compact command output, a local code graph and exact recall. Zero network calls.
开发工具实测星标增长
- 24小时
- 0
- 7天
- +2
- 15天
- +4
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
justless
One local Rust binary for your coding agent's entire context layer. Exact originals on demand.
100% local · zero LLM · zero telemetry · ~3 ms run overhead · Apache-2.0
Install · Features & Replaces · Visuals · Benchmarks · Reference · Examples · Comparison · FAQ
Failing cargo test on fixtures/failing: 380 lines (18.0 KB) -> 9 lines (517 B, 35x). Every cut links back to exact archive lines (GIF).
Install
Run one command inside your project (builds from source; requires Rust 1.91+ and a C compiler):
curl -fsSL https://raw.githubusercontent.com/rishadbaniya/justless/main/install.sh | sh -s -- claude
- Swap
claudeforcodex,agy,cursor,gemini,copilot,opencode,windsurf,cline,roo,kiro, orkilo(or omit it to configure every detected agent). - Want a faster, smaller build? Pass
--lite(19 MB, no Tree-sitter grammars or proxy; full command compaction + Rust/text graph) or--core(lang-corepack), or setJUSTLESS_FEATURES=.... - See Install & configure for
--globaluser hooks,--mcp,--statusline, Homebrew (Formula/justless.rb), andinit --remove.
What it replaces and does
Instead of gluing together separate shell wrappers, repo-map tools, AST servers, test selectors, proxies, and secret scrubbers, justless backs all of them with one binary, one incremental binary index (.justless/index.bin), and one exact local archive (.justless/runs/):
| Capability | Replaces / consolidates | Key commands |
|---|---|---|
| Command compaction & custom filters | RTK, ad-hoc shell wrappers | Auto hooks for 12 agents, run, log, search, exec --intent; grouped views for tests, linters, builds, diffs, 18 lockfiles, K8s/Docker/Terraform, CSV & bijective JSON; sub-4 KB compaction, rerun diffs, global & project [[filters]] |
| 26-language code graph & visual map | graphify, Aider Repo-Map, codebase-memory-mcp, ctags | query, path, map, map --explain, map --cycles, offline zero-CDN map --html, lookup --graph (syn + Tree-sitter, worktree cache sharing) |
| Outlines, verified edits & AST refactoring | Serena (static AST, no LSP), ast-grep (symbol/import refactors) | 48+ format read --outline (code, Markdown, .ipynb, K8s/Compose/HCL/OpenAPI), exact expand, revision-verified syntax-gated edit, workspace-wide rename, atomic move with import rewrites & rollback |
| PR blast-radius review | code-review-graph | review [--base REF] (semantic diff, lockfiles, reverse dependents, PageRank hubs/bridges, test gaps) and map --html --changed |
| Repo skeletons & task packs | Repomix, gitingest, code2prompt | Budgeted read DIR --outline, pack TASK, context --changes, paginated find |
| Affected tests & regression diff | pytest-testmon, Jest --onlyChanged, monorepo scripts |
test --affected across 18 test runners, test --compare REF (isolates new vs. pre-existing failures), test --why |
| Cache-safe API proxy & recall | Headroom, context-mode | wrap claude|codex|gemini, proxy --compact-live (Anthropic, OpenAI Chat/Responses, Gemini) with prefix-drift detection, mask / recall |
| Built-in secret redaction | gitleaks / output DLP wrappers | Keyed redaction across previews, logs, hooks, handoffs, and MCP before secrets reach model context (--unredacted on demand) |
| Analytics, status line & rule learning | ccusage, manual prompt audits | Calibrated stats (--sessions, --all), Claude Code statusline, discover --all --plan, learn --apply, doctor --fix |
Detailed flags and workflows: Command reference · Worked examples · Honest trade-offs vs. each tool
See it in action
Offline interactive graph from justless map --html (opens on localhost in your browser; pass --out FILE to save a single self-contained HTML file, zero CDN). Add --changed to highlight your Git diff's blast radius.
PR blast-radius review: justless review --base HEAD~2 — 58.5 KB flat diff -> 3.9 KB dossier (15x)
AST-safe refactoring: justless rename & justless move --dry-run
Affected tests & regression diff: test --affected (7 of 21 tests) & test --compare HEAD
Code-graph query & file outlines: query (115x) & read --outline (194x)
Status line & 26-workload benchmark chart
How it works
Measured savings
Offline release-binary measurements (full 26-workload suite & methodology):
| Workload | Raw | With justless | Reduction |
|---|---|---|---|
Markdown outline (docs/reference.md) |
273.6 KB | 1.6 KB | 171x |
Live source search (rg -n "fn " src) |
438.0 KB | 4.0 KB | 111x |
Code-graph query (justless query X, 13 functions) |
1,095.3 KB | 14.9 KB | 71x median |
Failing Rust test (cargo test, 380 -> 9 lines) |
18.0 KB | 517 B | 35x |
Full 26-workload compactor suite (scripts/suite_benchmark.py) |
1,544.5 KB | 59.6 KB | 25.9x (96.1%) |
| Three-turn repair task (provider input tokens) | 22.4-22.8k | ~2.85k | 8x |
Latency: ~1.5 ms hook rewrite · ~3 ms run overhead · 17-26 ms warm query · 34-50 ms warm map. On short tasks where tool output stays under ~9 KB, controlled runs show no net difference; Justless pays off on noisy commands, large files, and long sessions.
Guarantees
- Same commands, same exit codes. Interactive programs, pipelines, redirections, and machine formats keep running untouched; set
JUSTLESS_DISABLE=1to pause every hook immediately. - No hidden failures. Every cut points to exact archive line ranges, one
log,expand, orrecallaway. - Local and complete. No cloud account, no telemetry, no paid tier — only opt-in
proxy/wraprelays your client's own API traffic.
See CONTRIBUTING.md, AGENTS.md, and CHANGELOG.md. Licensed under Apache-2.0.
探索相关项目
加载中…