Hys, an RSS reader for digital minimalists, is built with Zig and supports Japanese.



RSS readers are useful for gathering information, but sometimes you have to reload them multiple times a day to keep up with updates, or you waste time scrolling endlessly through a large number of RSS feeds. To address this issue, a lightweight RSS reader called ' hys ' has been released, which prevents excessive information acquisition by limiting updates to once a day, allowing you to efficiently check the news and articles you need.

superstarryeyes/hys: Terminal RSS Reader for Digital Minimalists in Zig — Tool for Escaping the Doomscroll

https://github.com/superstarryeyes/hys

Since I was unable to install using the official hys installation procedure for Windows, I will install it using the Linux procedure on AlmaLinux 9 built with WSL2 on Windows 11. Download version 0.15.2, 'zig-x86_64-linux-0.15.2.tar.xz', from the Zig download page.


wget https://ziglang.org/download/0.15.2/zig-x86_64-linux-0.15.2.tar.xz



Unzip the downloaded file.


tar -xvf zig-x86_64-linux-0.15.2.tar.xz



Set the path of the extracted folder and log in again or use 'source ~/.bashrc' to reflect the path.


echo 'export PATH='$HOME/zig-x86_64-linux-0.15.2:$PATH'' >> ~/.bashrc
source ~/.bashrc



Install the necessary header files.


sudo dnf install libcurl-devel
sudo dnf install expat-devel



Clone the hys repository.


git clone https://github.com/superstarryeyes/hys.git



Go to the hys folder and build.


cd hys
zig build -Doptimize=ReleaseSafe install -p ~/.local



Once the build is complete, hys will be created in the '~/.local/bin' folder. This time, we set it with 'hys --sub 'full text RSS URL'' to use the full text RSS of GIGAZINE provided by GIGAZINE Secret Club as RSS.



To start it, type 'hys' and a list of articles will be displayed in the console. A portion of the article will be displayed, so if you Ctrl+click the link...



Your default browser will launch and display the article.



If you want to change the number of characters displayed in the list, change the 'maxDescriptionLength' in '~/.hys/config.json'. When changed to 1000 characters, it was displayed as shown below. You can also set the number of articles to retrieve at one time and the interval.



◆ List of functions
- Avoid information overload and doomscrolling by patrolling once a day
Even hundreds of articles can be processed in a few seconds
Click on the link in the terminal to open it in your browser.
- Supports OPML , allowing you to import and export subscription lists
Supports multiple languages including Japanese, Chinese, Korean, and Cyrillic characters
Grouping is possible, such as tech/science/art
- Displayed in less , it can be operated and searched using shortcut keys almost the same as vim
Focus on RSS/Atom analysis and UTF-8 support

In addition, the social news site Hacker News has been discussing hys with its author, who has reported that it 'feels like reading a newspaper' and responded to concerns that 'it's unsettling to use the Zig language, whose safety has not been established,' by saying , 'We are developing it with memory limits and sanitization processes in mind.' And so on.

in Software,   Review, Posted by darkhorse_logmk