- TypeScript 96%
- CSS 2%
- Shell <1%
- Rust <1%
- HTML <1%
ghmr - GitHub Merge Request Viewer #

Naming is hard, this is a Git Hub Merge Request -viewer so in short: GHMR.
A secure, lightweight desktop application for reviewing GitHub Pull Requests with an optimized keyboard-first workflow.
Showcase #
| MR Details & Workflow Status | High-Speed Review Mode |
|---|---|
![]() |
![]() |
Core Features #
Review Mode #
-
Arrows/JK: Navigate between filesEnter/Space: Mark file as viewed and move to nextBackspace: Go back and unmark fileEsc: Exit review modeCmd+R: Refresh MR list (debounced)
Security Features 🔐 #
This application implements enterprise-grade security:
- ✅ Encrypted Token Storage - Uses Tauri's encrypted store plugin
- ✅ Content Security Policy (CSP) - Prevents XSS attacks
- ✅ HTML Sanitization - All user content sanitized with DOMPurify
- ✅ Token Validation - Validates GitHub token format before use
- ✅ HTTPS Enforcement - All API calls use HTTPS only
- ✅ Rate Limiting - Debounced API requests prevent quota exhaustion
- ✅ No Console Logs in Production - Stripped during build
- ✅ No Telemetry - All data stays on your device
Tech Stack #
- Frontend: React + TypeScript + Vite
- Desktop: Tauri (Rust)
- Diff Viewer: @git-diff-view/react (with built-in syntax highlighting)
- Security: DOMPurify, Tauri Store Plugin
Installation #
Prerequisites #
- Node.js 18+
- Rust toolchain (for building)
Build #
npm install
npm run tauri:build
Development #
npm install
npm run tauri:dev
Landing Page Setup #
The Mac download is docs/ghmr.app.zip. Running npm run release:mac builds the app and refreshes this archive; include it when committing a release so the website serves the updated build.
The project landing page is located in the /docs directory and is hosted via GitHub Pages.
To update the landing page:
- Modify
docs/index.htmlordocs/style.css. - Ensure images are placed in
docs/assets/. - Commit and push to the
mainbranch. - The "Deploy to GitHub Pages" workflow will automatically deploy changes if files in
/docsare modified. - Note: In GitHub Repository Settings -> Pages, ensure Build and deployment > Source is set to "GitHub Actions".
Releases & CI/CD #
The project uses GitHub Actions for automated testing and cross-platform releases.
Automated Testing #
Every push and pull request triggers the test suite via .github/workflows/tests.yml.
Creating a Release #
To create a new multi-platform release (macOS, Windows, Linux):
- Update the version in
package.jsonandsrc-tauri/tauri.conf.json. - Create and push a version tag:
git tag v0.1.0 git push origin v0.1.0 - The "Release" workflow will automatically build the binaries and create a Draft Release on GitHub.
- Review the draft and publish it once ready.

