Skip to content

bensadeh/circumflex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,531 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

circumflex

circumflex is a command line tool for browsing Hacker News in your terminal

Main view

Main features

  • 🛋 Everything in one place — read both the comment section and articles in Reader Mode
  • 🌈 Syntax highlighting — syntax-aware formatting for comments and headlines
  • ⚡️ Vim-style navigation — scroll through, jump between and collapse threads with familiar keybindings

You might also like:

  • 🤹 Native terminal colors — you bring your own color scheme, circumflex does the rest
  • 💎 Nerd Fonts — full support for Nerd Fonts as icons
  • ❤️ Add to favorites — save interesting submissions for later

Installing

The binary name for circumflex is clx.

# Homebrew
brew install circumflex

# Nix
nix-shell -p circumflex

# AUR
yay -S circumflex

# Go
go install github.com/bensadeh/circumflex/cmd/clx@latest

# From source
go run ./cmd/clx

Features

Comment section

Press Enter to view the comment section.

The comment section has two modes: read mode and navigate mode.

In read mode, you can scroll using the usual vim bindings. You can also jump between top-level comments ( n/N), and you can expand and collapse threads by quote level (h/l) or all at once (Enter).

In navigate mode, you can individually select comments and collapse specific threads. This is useful in longer threads with many replies.

comment section

circumflex is read-only and does not support for logging in, voting or commenting.

Reader Mode

Press Space to read the linked article in Reader Mode. Just like in the comment section, you can jump between headers using n/N, and you can scroll using the usual vim bindings.

reader mode

Usage

Run clx help or man clx for a full list of available commands, flags and keymaps. Press i to bring up all the keybindings for the current view.