一款用 Rust 编写、基于 gpui 的原生代码审查应用,支持 GitHub PR 和本地差异,具有 tree-sitter 高亮和内联审查评论。

Stars

89

7 天增长

暂无数据

Fork 数

10

开放 Issue

1

开源协议

MIT

最近更新

2026-07-19

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它提供了原生的、键盘驱动的代码审查体验,包括统一/分屏视图、词级差异和直接提交 GitHub 审查,全部集成在一个轻量级 Rust 应用中。

适合谁使用

  • 探索 gpui 原生 GUI 的 Rust 开发者
  • 经常审查 GitHub 拉取请求的 macOS 用户
  • 希望获得快速、键盘为中心的浏览器替代方案的开发者

典型使用场景

  • 在 GitHub 拉取请求中进行内联评论和审批
  • 比较本地 git 差异,包含词级变化
  • 通过缩略图和模糊文件过滤器在代码审查中快速导航大型代码库

项目优势

  • 在 Apple Silicon 上具有原生性能,依赖少
  • 丰富的差异功能:统一/分屏视图、词级行内差异、缩略图
  • 深度 GitHub 集成:PR 选择器、内联评论读写、审查提交
  • 以键盘为主的设计,提供大量快捷键以实现快速导航

使用前须知

  • 仅支持 macOS 且需要 Apple Silicon(不支持 Intel 或 Linux)
  • 应用未签名,首次启动需要手动覆盖或移除法务隔离
  • 作者声称未审查代码(vibe coded),可能影响可靠性和可维护性

README 快速开始

lgtm

A fast, native code-review app in Rust, built with gpui.

Requires the GitHub CLI (gh auth login first), otherwise you can only review code locally.

This is 100% vibe coded. I have not read the code.

Setup

Grab LGTM.dmg from the latest release (built from every commit on main, Apple Silicon only), open it, and drag LGTM to Applications.

The app is unsigned, so on first launch macOS will complain — right-click the app and choose Open, or:

xattr -d com.apple.quarantine /Applications/LGTM.app

Or build from source:

cargo run --release

Note that you will need Xcode to build it from source because the metal dev tools are bundled with it. Otherwise the build fails with the following error:

cargo:rerun-if-changed=./src/platform/mac/shaders.metal
cargo::error=metal shader compilation failed:
xcrun: error: unable to find utility "metal", not a developer tool or in PATH

Features

  • unified + split views
  • tree-sitter highlighting (18 languages),
  • word-level intra-line diffs,
  • multi-item sidebar with file tree
  • cmd-k palette with fuzzy PR picker,
  • local repo diffs
  • minimap,
  • inline GitHub review comments (reading + posting, hover a line for +)
  • submitting reviews (approve / request changes / comment, cmd-enter or the Review button)

Coming: LSP, AI inline review annotations

Keymap

KeyAction
cmd-kopen palette (GitHub PR picker / folder)
cmd-t / cmd-w / cmd-bquick-open input / close item / toggle sidebar
ctrl-tabcycle open items
] / [next / previous file
n / pnext / previous hunk
vunified ↔ split view
/fuzzy file filter
mtoggle minimap
ctoggle inline comments
cmd-jchat with Claude Code
rrefresh active item
cmd-entersubmit review (approve / request changes / comment)
home / endtop / bottom
cmd-ccopy selection
cmd-qquit

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

l0ng-ai
精选
l0ng-ai GitHub avatar

tty7

tty7 is a fast, GPU-accelerated terminal workbench with persistent sessions, built-in input tools, SSH support, and coding agent awareness.

开发者工具CLI 与终端
359
steelbrain
精选
steelbrain GitHub avatar

reims-vgpu

reims-vgpu is an experimental virtual GPU for macOS guests that uses QEMU to decode the guest's GPU command stream and execute it through Metal or Vulkan, leveraging the built-in AppleParavirtGPU driver without requiring custom kexts.

桌面应用
143
m-novotny
精选
m-novotny GitHub avatar

memguard-rs

A Rust library that provides secure memory handling primitives including zeroization on drop, memory locking, constant-time comparison, and compile-time guarded regions, with zero dependencies and no_std support.

嵌入式与物联网安全
131