economist-tui

command module
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Economist TUI

Responsive Terminal UI and CLI to browse and read The Economist with your subscription. Unofficial.

Install

Homebrew (macOS)
brew install tmustier/tap/economist-tui
From source
git clone https://github.com/tmustier/economist-tui
cd economist-tui

# Build local binary
make
./economist --version

# Install to ~/bin (macOS codesign included)
make install

Prereqs: Go 1.25+, Chrome/Chromium (for login and article fetching).

Quick start

# Login (one-time, for full articles)
economist login

# Demo mode (no login required)
economist demo

# Interactive Terminal UI
economist browse
economist browse finance

# Non-interactive
economist headlines leaders --json
economist read "https://www.economist.com/finance-and-economics/2026/01/19/article-slug" --raw

Commands

  • login — open browser to authenticate
  • browse [section] — interactive TUI (defaults to Leaders)
    • Enter read article, b back, type to search
    • c toggle columns on/off, Esc clear, q quit
  • demo — interactive TUI with demo content (no login required)
  • headlines [section] — list headlines
    • -n/--number, -s/--search, --json, --plain
  • read [url|-] — read full article (--raw, --wrap, --columns)
  • sections — list sections

Global flags: --version, --debug, --no-color

Configuration

Config + cookies: ~/.config/economist-tui/ Cache: ~/.config/economist-tui/cache (1h TTL)

Notes

  • RSS provides ~300 items per section (~10 months)
  • Full articles require an active Economist subscription

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
app
rss
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL