AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻譯準備中
在終端機中並排瀏覽檔案與 git 差異。
AI 翻譯
Browse files and git diffs side by side, right in your terminal
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Browse files and git diffs side by side, right in your terminal.
auri is a small terminal UI for looking at your repository: a file explorer
with syntax-highlighted previews, and a VS Code–style source control view
with side-by-side diffs. Mouse and keyboard both work.檢視完整 README ↗auri is a small terminal UI for looking at your repository: a file explorer with syntax-highlighted previews, and a VS Code–style source control view with side-by-side diffs. Mouse and keyboard both work.
i); nothing is written
until you save with Ctrl-S.n/N jump between changes), stage, unstage and discard.# Shell installer (macOS / Linux)
curl -LsSf https://github.com/matheusz-nied/auri-tui/releases/latest/download/auri-tui-installer.sh | sh
# From source (Rust toolchain)
cargo install auri-tui
Update — auri update checks GitHub for a newer release and installs
it in place of the running binary (needs curl).
Prebuilt binaries are attached to every GitHub release.
Requirements: git on your PATH. A terminal with true color gives
the best highlighting.
auri # current folder or repository
auri path/to/folder
Folders without Git open in the Explorer with file previews, editing and
explicit saving. Source Control, history and AI commit messages require a
Git repository. To create one, click Initialize Git (or press c) and
confirm Initialize. Source Control becomes available immediately; files
are not staged or committed automatically. Inside a repository, auri opens
its worktree root.
The left sidebar has two views — Explorer and Source Control —
switch with the tab bar, e or c. The right side shows the open file or
diff. Drag the dividers to resize.
| Key | Action |
|---|---|
e | Explorer view |
c | Source Control view (focus the commit box) |
1 / 3 | Focus changes / history |
2 | Focus the main pane (file or diff) |
Tab / Shift-Tab | Next / previous panel |
b | Toggle sidebar |
[ / ] | Shrink / grow sidebar |
r | Refresh |
? | All keys (help) |
Ctrl-S | Save the edited file (only while it has unsaved changes) |
q / Ctrl-C | Quit (asks first if there are unsaved changes) |
Lists — j/k or arrows to move, g/G top/bottom, Enter to open.
In the tree, l/h expand/collapse.
Changes — Space/s stage or unstage, a stage all, d discard,
i edit the file.
Edit in auri — in the file viewer, i (or Enter) starts editing and
Esc stops. i in Changes or in a diff opens that file in the editor
(at the first change in view, from a diff); the title shows ● while there are unsaved changes. Nothing is
saved automatically: Ctrl-S saves. Quitting or opening another file
with unsaved changes asks Save / Discard / Cancel (Ctrl-C twice quits
without saving). If the file changed on disk meanwhile, your edits are
kept and saving asks whether to overwrite it or reload it. Shift+arrows
or a mouse drag select; Ctrl-Z/Ctrl-Y undo/redo; Ctrl-X/Ctrl-C/
Ctrl-V cut/copy/paste (copies also go to the system clipboard through
OSC 52); Tab/Shift-Tab indent; Enter keeps the indentation.
Diff / file viewer — j/k scroll, PgUp/PgDn, h/l scroll
sideways, n/N next/previous change (diff).
Commit box — type, Enter to commit, Ctrl-J for a new line (the box
grows; pasted text keeps its line breaks and never commits), Esc to
leave. Ctrl-A or the amend toggle switches to amending
the last commit: an empty box gets its message, and nothing needs to be
staged.
Ctrl-G (or the ✦ button in the commit box) asks an AI CLI to write a
one-line message from the staged diff. It only fills the input — it never
commits. Esc cancels, Ctrl-T switches provider.
Supported providers, which must be installed and logged in:
Codex CLI (codex) and
opencode (opencode).
Preferences are saved automatically to
~/.config/auri/preferences.toml (or $XDG_CONFIG_HOME/auri/, or
$AURI_CONFIG_DIR if set). Everything is optional:
[layout]
sidebar_view = "explorer" # or "source_control"
sidebar_visible = true
# sidebar_width = 40 # columns; default 35% of the terminal
[explorer]
icons = "text" # or "nerd" (needs a Nerd Font)
[ai]
provider = "codex" # or "opencode"
codex_model = "gpt-6-luna"
codex_reasoning_effort = "low"
opencode_model = "deepseek/deepseek-flash"
timeout_secs = 60
max_diff_chars = 20000
set -g set-clipboard on).HEAD. If every conflict is resolved
back to the last commit's version, nothing is left staged and auri
refuses the merge commit with "Nothing staged", even though git would
accept it. Finish it from the shell with git commit.Latin for of gold. Albireo, the famous double star in Cygnus, shows a gold and a blue star side by side — two views of the same spot in the sky, like a diff.
cargo run -- [repo]
cargo test
cargo clippy --all-targets -- -D warnings
cargo fmt --check
See AGENTS.md for the architecture and CHANGELOG.md for release notes.