Show HN: Circumflex, browse HN in your terminal

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • circumflex

    🌿 It's Hacker News in your terminal

  • bubbletea

    A powerful little TUI framework 🏗

  • Some two years ago, I found myself spending a lot of time in the terminal between learning vim and discovering new command line tools. I was surprised to see that the niche of HN clis was (relatively) small, and so I decided to write my own command line tool for browsing HN called `circumflex`(`clx`).

    `clx` is written in Go using Bubble Tea[1]. You can read the comment section or the linked article in reader mode in the pager `less`.

    Using `lesskey` to add custom keybindings, the replies can be collapsed and expanded in real-time (but not individual replies, only all replies at once). Behind the scenes I am appending invisible unicode characters to each line so that I can use the custom keybindings to filter them out. The same technique is used to allow for jumping between top-level comments.

    I spent a lot of time thinking about syntax highlighting and finding relevant bits to highlight while also not going overboard with colors. The end result is highlighting of things I find useful for providing context in the comment section, like indicating parent poster and original poster, coloring references, coloring indentations as well as formatting YC startups.

    Other quality of life features include adding submissions as favorites (it is stored as a pretty-printed json so you can check it into your vcs to allow for readable diffs). Submissions are marked as read and new comments are indicated with a bullet point.

    [1] https://github.com/charmbracelet/bubbletea

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • nntpserver.py

    No-dependency, single file NNTP server library for developing modern, rfc3977-compliant (bridge) NNTP servers.

  • Here's a single file, no dependency nntp / Usenet server library in python3 I wrote. It includes an HN gateway as an example. I have used it with slrn (tui), meli (tui), pan (gui) and thunderbird (gui)

    https://github.com/epilys/nntpserver.py

  • hnterm

    :page_with_curl: Hacker News in the terminal

  • Love this! Bubbletea is a great library for TUIs. I've been a long time user of hnterm (https://github.com/ggerganov/hnterm) which has a nice feature for collapsing comment threads, but doesn't look as nice otherwise.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts