• Stars
    star
    152
  • Rank 243,729 (Top 5 %)
  • Language
    Go
  • License
    MIT License
  • Created over 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ“˜ A command line RSS/ATOM/JSON feed reader

CI Relase

๐Ÿ“˜ srss

Simple-RSS - A fast & simple command line RSS/ATOM/JSON feed reader written in Go, inspired by newsboat

Language:Go License:MIT Latest Release

This repository is still under development!. Specifications are subject to change without notice.

Features

  • Fast, efficient, and easy-to-use interface for CLI lovers
  • Supports multiple feed format: RSS, Atom and JSON
  • You can import a file in OPML format and register URL entries

Demo

demo

Usage

Commands and Options

NAME:
   srss - A simple command line RSS feed reader

USAGE:
   srss [global options] command [command options] [arguments...]

VERSION:
   0.0.3-alpha

COMMANDS:
   add, a     Add url entry
   edit, e    Edit URL entry file
   tui, t     View items in the feed with built-in pager
   open, o    Open feed URL on your browser
   import, i  Import Feed URL from OPML file
   update, u  Fetch the latest feeds and update the cache
   help, h    Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

Register or edit the feeds URL

Use the add command to register the feed URL.

The feeds URL is saved in a plain text file and you can edit it using the edit command. You can specify the command name of the editor in the argument of the -e, --editor option. If the environment variable $EDITOR is set, will use it.

srss add https://zenn.dev/topics/go/feed
srss edit --editor nvim

NOTE

The location of the URL entry file depends on the OS. It is as follows:

OS Path
Windows %APPDATA%\srss\urls.txt or C:\Users\%USER%\AppData\Roaming\srss\urls.txt
Linux $XDG_CONFIG_HOME/srss/urls.txt or $HOME/.config/srss/urls.txt
macOS $HOME/Library/Application Support/srss/urls.txt

Fetch the feeds and update cache

Run the update, u command before view the feeds. The feed is fetched from the URL described in the URL entry file and the cache is updated.

srss update

NOTE

The location of the cache file depends on the OS. It is as follows:

OS Path
Windows %LOCALAPPDATA%\srss\cache.gobor C:\Users\%USER%\AppData\Local\srss\cache.gob
Linux $XDG_CACHE_HOME/srss/cache.gobor $HOME/.cache/srss/cache.gob
macOS $HOME/Library/Caches/srss/cache.gob

View items in the feed on the terminal

Run the tui, t command then narrow down and select the items in the feed with a fuzzyfinder-like UI, you can browse the items with a less like pager UI.

srss tui

The key bindings in fuzzyfinder UI are follows:

Key Description
C-k C-p Move focus up
C-j C-n Move focus down
Enter Select the item
q Esc Quit fuzzyfinder

The key bindings in pager UI are follows:

Key Description
k Up Scroll up
j Down Scroll down
g Home Scroll on top
G End Scroll on bottom
q Esc Quit pager then back to fuzzyfinder

Open links on items in the feed in the browser

Use the open, o command, you can open the link of the selected item in your browser. You can select multiple items with Tab key.

srss open

Import feeds URL from OPML file

Use the import, i command, you can import a file in OPML format and register feeds URL.

srss import --path path/to/file.opml

Installation

Executable binaries are available from the latest release page.

Latest Release

To build from source, clone this repository then run go install. Developing with Go v1.18.2 linux/amd64

Contributing

Welcome any bug reports, requests, typo fixes, etc.

LICENSE

MIT

Author

Sheepla

More Repositories

1

pingu

๐Ÿงping command but with pingu
Go
2,021
star
2

fzwiki

๐Ÿš€ A command line tool with fzf-like UI to search Wikipedia articles and open it in your browser quickly
Go
80
star
3

longgopher

ส•โ—‰ฯ–โ—‰ส” loooooooooooooooooooooong gopher
Go
72
star
4

gh-userfetch

๐Ÿ‘จโ€๐Ÿ’ป An extension for GitHub CLI to show user profile pretty like Neofetch
Shell
55
star
5

fzpac

๐Ÿ”Ž Arch Linux package finder with fzf
Shell
52
star
6

wallpapers

๐Ÿ” Minimal design wallpapers.
46
star
7

og

A typo correcting tool for Go programmers
Go
43
star
8

ghin

[WIP] โฌ A CLI tool to install executables quickly from GitHub release page
Go
35
star
9

FontInstaller

๐Ÿ—ƒ๏ธ A font installer script for Windows
PowerShell
31
star
10

awesome-for-oneliner

๐Ÿš A list of useful commands in the Unix shell one liner
28
star
11

dotfiles-old

๐ŸงŠ My rice for Arch Linux
Shell
27
star
12

websh-prompt

๐Ÿ’ป A command line websh client with bash-like interactive UI
Go
23
star
13

ayashii-cli

๐Ÿ—พ AYASHII NIHONGO cli
Shell
23
star
14

gh-fzrepo

๐Ÿš€ An extension for GitHub CLI to browse repositories with fzf
Shell
21
star
15

strans

๐Ÿ“– A command line translate tool inspired by translate-shell
Go
21
star
16

dotfiles

๐ŸงŠ My dotfiles for Arch Linux
Shell
18
star
17

pacsummary

๐Ÿ”บ show pacman summary with ascii art
Shell
15
star
18

fzwinget

๐ŸชŸ A winget wrapper command with fuzzy finer UI
Go
15
star
19

rofi-themes

๐ŸŽจ Simple themes for rofi (window switcher / launcher)
13
star
20

qiitaz

๐Ÿ“ A terminal based Qiita searcher & viewer
Go
13
star
21

whois-cli

๐ŸŒ A simple command line whois client
Go
13
star
22

sheepla

๐Ÿ‘ My profile page (fork me!)
11
star
23

shellgei-sandbox

๐Ÿ’ฉ ใƒใ‚ฟ็ณปใ‚ทใ‚งใƒซ่Šธ็ฝฎใๅ ด
Shell
10
star
24

mayano.vim

ใ‚ขใ‚คใƒปใ‚ณใƒ”ใƒผ๏ผ
Vim Script
9
star
25

PowerUnko

๐Ÿ’ฉ super_unko written in PowerShell
PowerShell
9
star
26

fzenn

A command line Zenn searcher with fuzzyfinder UI
Go
8
star
27

go-pacsearch

๐Ÿ” A go package to search Arch Linux packages
Go
8
star
28

make-debut

โœจ ้Ÿฟใ‘ใƒ•ใ‚กใƒณใƒ•ใ‚กใƒผใƒฌ๏ผ
Makefile
8
star
29

gofind

๐Ÿ” A command line pkg.go.dev searcher and `go get` helper
Go
7
star
30

sheepla-note

๐Ÿ‘ sheeplaใฎๅ€‹ไบบใƒ–ใƒญใ‚ฐ
CSS
7
star
31

winsay

๐Ÿ“ฃ `say` command for Windows written in Go
Go
7
star
32

gh-graph

๐ŸŸฉ a wrapper command for https://github.com/kawarimidoll/deno-github-contributions-api that can also be used as an extension of GitHub CLI
Shell
7
star
33

twintent

๐Ÿฆ A small instant tweeting command
Go
6
star
34

emmet-cli

โœ’ A command line tool to expand Emmet expression
TypeScript
6
star
35

pkgbuilds

๐Ÿ”บ My package build files for Arch Linux
Shell
5
star
36

pactools

๐Ÿ“ฆ Package management scripts for Arch Linux
Shell
4
star
37

articles

๐Ÿ“• My articles
4
star
38

zenn-trend-cli

๐Ÿ“ A command to fetch https://zenn.dev trend
TypeScript
4
star
39

fzman

๐Ÿ“– Manpage finder with fzf
Shell
4
star
40

websh-cli

websh (https://github.com/jiro4989/websh) ใฎAPIใ‚’ไฝฟใฃใฆใ‚ทใ‚งใƒซ่Šธใ‚’ๅฎŸ่กŒ
Shell
3
star
41

dwebsh

๐Ÿฆ• A command line websh client powered by Deno
TypeScript
3
star
42

pywebsh

๐Ÿ A small websh(https://github.com/jiro4989/websh) client written in Python
Python
2
star
43

tdloader

A go module for easily loading test data placed in the Git repository
Go
2
star
44

csv-grid-viewer

๐Ÿ“ CSV grid viewer built with React & MUI
TypeScript
2
star
45

gtrans

A tiny command for Google Translate
TypeScript
2
star
46

PsWebsh

๐Ÿš websh client for PowerShell
PowerShell
2
star
47

pacz

Arch Linux package searcher with fzf-like UI
Go
2
star
48

slack-sidebar-themes

๐Ÿ—จ color themes for Slack sidebar
1
star
49

harview

[WIP] HTTP Archive (HAR) Viewer on the Terminal written in Rust
Rust
1
star