Skip to content

Latest commit

 

History

154 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bgg-tui

A terminal user interface for BoardGameGeek.

Note: This app uses the BGG API. The BGG API currently requires registration to use. You must register and obtain a bearer token at https://boardgamegeek.com/applications before using this app.

Note: Displaying board game images requires a terminal that supports the Kitty graphics protocol. Currently, image display works correctly only on Ghostty. There are known issues with Kitty (#10) and WezTerm (#11).

bgg-tui demo

Features

  • 🔥 Browse trending (Hot) games with ratings, weight, and rank
  • 🔍 Search games by name
  • 📚 View user collections with status filter and ratings
  • 📋 Game details: year, rating, geek rating, rank, players, play time, weight, age, owned, comments, designers, artists, categories, mechanics, description
  • 💬 Browse game forums and read threads
  • 🖼️ Thumbnail images via Kitty graphics protocol (currently Ghostty only — see #10, #11)
  • 🔎 Filter-as-you-type on any list
  • 🎨 Multiple color themes
  • ✨ Screen transition effects
  • 🎯 Selection animations
  • 🔲 Multiple border styles
  • ⚙️ Configurable list density, date format, list/thread/detail width
  • 🌐 Open any game in browser

Requirements

  • Go 1.25+
  • BGG API bearer token — You must register for API access on BoardGameGeek and generate a token at https://boardgamegeek.com/applications. Without a valid token, the app cannot fetch any data.
  • Terminal with Kitty graphics protocol support (optional, for images — currently Ghostty only)

Installation

Homebrew (macOS)

brew tap hiroaqii/bgg-tui
brew install bgg-tui

Note: macOS may block the first launch because the binary is not notarized by Apple. To allow it, run:

xattr -d com.apple.quarantine $(which bgg-tui)

go install

go install github.com/hiroaqii/bgg-tui/cmd/bgg-tui@latest

Build from source

git clone https://github.com/hiroaqii/bgg-tui.git
cd bgg-tui
make build

If make is not available (e.g., Windows), you can build directly with Go:

go build -o bgg-tui ./cmd/bgg-tui

Getting Started

bgg-tui requires a BGG API bearer token. You need to register for API access on BoardGameGeek before using the app.

  1. Go to https://boardgamegeek.com/applications and register for API access
  2. Create an application and generate a bearer token
  3. Launch bgg-tui — on first launch, a token setup screen will appear
  4. Paste the token into the input field and press Enter

You can change the token later from the Settings screen.

Configuration

Configuration file is created on first launch in your OS's default config directory (bgg-tui/config.toml). You can check the exact path in the Settings screen. Settings can also be changed from the Settings screen within the app.

Section Key Description
interface color_theme Color theme
interface transition Screen transition effect
interface selection List selection animation
interface border_style Border style for panels
interface list_density List item spacing
interface date_format Date display format
display show_images Show board game thumbnail images
display image_protocol Image protocol: auto detects terminal support, kitty forces Kitty protocol, off disables
display list_width List screen content width
display thread_width Forum thread display width
display detail_width Game detail display width
collection default_username Default BGG username for collection lookup
collection status_filter Filter by collection status: owned, prev_owned, for_trade, want, want_to_play, want_to_buy, wishlist, preordered
api token BGG API bearer token

Special Thanks

License

MIT

About

A terminal user interface for browsing BoardGameGeek

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages