Back to browse
GitHub Repository

TUI source code viewer to browse full source code with git diff previews inline with easy keyboard navigation of both the source code and the file tree

3 starsPython

LazyViewer – TUI code viewer with Git diff previews

by xiphias2·Feb 25, 2026·3 points·0 comments

AI Analysis

●●SolidNiche GemShip It

LazyGit-style TUI for browsing diffs inline with keyboard-friendly tree nav, no mode switching.

Strengths
  • Solves specific friction point: existing tools (Cursor GUI, vim NeoTree, ranger) don't combine tree nav + inline diffs + fast search in one modal-free workflow
  • Multiple tree support and sticky function headers reduce cognitive load when reviewing generated code
  • Ripgrep integration + mouse/keyboard parity makes navigation fast without mode switching
Weaknesses
  • Author admits codebase is 'really ugly,' suggesting maintainability concerns and technical debt
  • Narrow audience: primarily useful for LLM code review workflow; limited value for traditional git workflows or static browsing
Target Audience

Developers using AI code generation (Cursor, Codex), terminal-native workflow advocates

Similar To

LazyGit · vim NeoTree · Ranger

Post Description

Hi HN,

While I was coding with Codex I missed a tool that - like Cursor - shows diffs inline while it is able to do both tree navigation easily with keyboard and navigate the source code without changing mode (like in vim).

My favourite tool in TUI was lazygit, but I wanted a way to see the diffs inside the whole source code.

As this looked like a nice little project to vibe code in a few days, I did it and tried to perfect the integration of the few features that I wanted together: - Full easy keyboard + mouse navigation - Multiple tree support (unlike VS code / Cursor) - Inline diff - Ripgrep fast search - Sticky function/class headers

I tried tools like ranger and other navigators, and vim NeoTree preview, but none of these tools were really good for my use case.

Now what I got is an ugly code base in a super functional tool

Similar Projects

Developer Tools●●●Banger

Deff – Review AI-generated code changes

Purpose-built diff reviewer for AI-generated code, vim-native, actually ships.

Solve My ProblemWizardry
flamestro
103mo ago