はじめに

端末でハッカーニュースを表示してくれるcircrumflexコマンドを使う。

https://formulae.brew.sh/formula/circumflex

環境

1
2
3
MacOS Sonoma 14.0
Homebrew 4.1.15
clx version 3.4

circumflex のインストール

1
brew install circumflex
1
2
3
4
5
6
==> Installing circumflex
==> Pouring circumflex--3.4.sonoma.bottle.tar.gz
🍺  /usr/local/Cellar/circumflex/3.4: 7 files, 21MB
==> Running `brew cleanup circumflex`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

circumflexを使ってみる

1
clx

エントリが表示される

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  clx  best • ask • show                                                                                                
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    1. Every app that adds AI looks like this                                                                             
       354 points by vitabenes 2 hours ago | 109 comments                                                                 
                                                                                                                          
    2. Tainting the CSAM client-side scanning database                                                                    
       78 points by raybb 2 hours ago | 38 comments                                                                       
                                                                                                                          
    3. The Interface of Kai Krause's Software 2003                                                                        
       212 points by rbinv 6 hours ago | 50 comments                                                                      
                                                                                                                          
    4. Making Rust supply chain attacks harder with Cackle                                                                
       61 points by djoldman 3 hours ago | 14 comments                                                                    
                                                                                                                          
    5. Signal Identification Wiki                                                                                         
       66 points by hhthrowaway1230 4 hours ago | 12 comments                                                             
                                                                                                                          
    6. The Compact Calendar 2023-2024                                                                                     
       44 points by thunderbong 3 hours ago | 5 comments                                                                  
                                                                                                                          
    7. Populating the page: how browsers work                                                                             
       145 points by sigma5 6 hours ago | 12 comments                                                                     
                                                                                                                          
    8. Bounty to Recover NIST's Elliptic Curve Seeds                                                                      
       58 points by vintagedave 4 hours ago | 4 comments                                                                  
                                                                                                                          
    9. Scrollbars are becoming a problem                                                                                  
       654 points by dredmorbius 15 hours ago | 608 comments                                                   
              

カーソルを合わせると選択して、そのニュースが閲覧できる。

urlのオプションを使うと、特定のサイトを見ることができる。

1
clx url https://gigazine.net/

下記のようにReader Modeで閲覧できる。

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

  Reader Mode
 
 ╭───────────────────────────────────╮
 │ https://gigazine.net/                                                │
 │                                                                      │
 │ Reader Mode                                                          │
 ╰───────────────────────────────────╯
 
      ███ Image 
  █ 【予告】ガス屋との出会い、ガス屋の人たちとの出会い。「ガス屋で~す
  !!」第7話【先行公開】
 
  10月14日00時00分メンバー限定
 
      ███ Image 
  █ 身長と体重だけで求めるBMIは肥満を表わす数値には向いていない、ではど
  うやって肥満を示すべきなのか?
 
  10月13日23時00分サイエンス
 
      ███ Image 
  █ 「エヴァンゲリオンのAI搭載自販機」や「プロテインを混ぜてくれる自販
  機」を見てきた
 
  10月13日22時00分取材

おわりに

端末内で記事を読むというのをやったことがなかったので結構新鮮だった。
文字しか表示されないので、軽量かつ必要な情報だけ取れるのが良い。