#game-format #sgf #go-game #viewer #editor

app gocat

A terminal SGF (Smart Game Format) viewer and editor

5 releases

0.1.4 Aug 31, 2025
0.1.3 Jul 31, 2025
0.1.2 Jul 7, 2025
0.1.1 Jul 5, 2025
0.1.0 Jul 5, 2025

#196 in Games

GPL-3.0-only

165KB
990 lines

gocat: Terminal Go Game SGF Viewer & Editor

gocat is a modern, interactive terminal tool for viewing and editing Go game records in SGF (Smart Game Format). It offers a powerful, keyboard-driven interface to navigate, annotate, and modify game records directly from your terminal, making it ideal for Go players and reviewers.

Screenshot of gocat in action


Installation

Install gocat via Homebrew:

brew tap hzhang08/gocat
brew install gocat

Install gocat via Cargo:

cargo install gocat

Publishing Instructions

  1. Update version in Cargo.toml
  2. Run cargo publish --dry-run
  3. Run cargo publish

Usage

To launch the interactive SGF viewer/editor:

gocat <your_file.sgf>

Replace <your_file.sgf> with the path to your SGF file.


Features & Hotkeys

  • q Quit
  • n / Next move
  • p / Previous move
  • ] Next commented move
  • [ Previous commented move
  • g Goto move number
  • m Modify current move
  • / Search for coordinate
  • c Add/Edit move comment
  • t Add/Edit triangles
  • i Insert new move
  • x Remove current move
  • h Show this help
  • Esc/Enter Close help or input dialogs

Dependencies

~10MB
~162K SLoC