octoscope v0.12.0 β read PR diffs without leaving the terminal π
Following up on what @sk_uxpin asked for on the v0.11.0 launch thread: you can now read pull-request diffs inside octoscope.
Press Enter on any PR for the drill-in. Press f for a full-screen list of the changed files. Enter on a file row opens its unified diff with syntax highlighting β chroma's diff lexer, monokai palette, the universally recognised red/green for - / + lines and a scrollable viewport so a 400-line patch fits without pushing anything off-screen.
Three levels deep, all read-only:
PR detail β enter on a PR row
β Files changed β f
β File diff β enter on a file rowContextual title bar at every depth: the breadcrumb extends one segment per level (βΈ PRs / owner/repo#NN / Files / path/to/file) and the visible key hints narrow to what actually works there. You never see f inspect while already inside the inspect surface.

Free hint visibility refactor. Every key-hint line across the whole app β drill-in title bars, sub-view footers, list-tab footers, action menu, settings panel, global footer β now follows the same convention every TUI in this neighbourhood already uses (lazygit, k9s, gh-dash, ranger): emphasise the key over the label. Keys in accent pink + bold, labels in muted. The eye locks onto the actionable part.
Fast and sane. The diff loads alongside the rest of the PR drill-in β opening a PR doesn't take any longer than before. Patches over 500 hunk lines render a banner pointing at GitHub; pagination caps at 300 files per PR. A worst-case node_modules-shaped PR can't freeze the viewport. Boundary sanitization (v0.11.0) extended to the new path β hostile diff content can't inject terminal escape sequences.
Upgrade:
brew upgrade gfazioli/tap/octoscopeOr grab a binary from the release page: https://github.com/gfazioli/octoscope/releases/tag/v0.12.0
As always: read-only, free, MIT, on Linux / macOS / Windows. Source on GitHub: https://github.com/gfazioli/octoscope
Curious what people drill into next. Side-by-side diff view? Ignore-whitespace toggle? Per-file folding? Let me know β the v0.11.0 thread shaped this release, the v0.12.0 thread will shape the next one.
Thanks again @sk_uxpin β your comment kicked this whole release off π


Replies
As a terminal dweller, this is fantastic. Context switching between the browser and terminal during a PR review is a major flow breaker. Being able to see diffs directly where I am already working is a huge productivity boost. Great work!
octoscope
@rivra_devΒ Really appreciate that β βflow breakerβ is the exact phrase I had in mind when building this. The whole point is: youβre already in the terminal, the PR is right there, why open a browser tab just to scan a diff? Still read-only for now, but curious β would inline commenting from the terminal be useful to you, or is the read-only flow enough for your workflow?
@gfazioli , "youβre already in the terminal, the PR is right there, why open a browser tab just to scan a diff?" - that was the exactly my point :)
The key-hint styling shift is a nice touch β I always forget what most shortcuts do, so having my eye land on the right part helps.
octoscope
@sastra_kasraΒ Thanks! Thatβs exactly the problem I was trying to solve β when every hint looks the same, your eye has to read the whole line to find the key. Accent-on-key, muted label was the pattern I kept seeing in tools like lazygit and k9s, so I figured octoscope should speak the same visual language. Glad it clicks!
Cheers - and good job man!