sfeed_curses-ui - www.codemadness.org - www.codemadness.org saait content files
(HTM) git clone git://git.codemadness.org/www.codemadness.org
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
sfeed_curses-ui (7609B)
---
1 1<- Back / codemadness.org 70
2 i codemadness.org 70
3 i codemadness.org 70
4 i# Sfeed_curses: a curses UI front-end for sfeed codemadness.org 70
5 i codemadness.org 70
6 iLast modification on 2025-07-24 codemadness.org 70
7 i codemadness.org 70
8 1sfeed_curses is a curses UI front-end for »sfeed«. /phlog/sfeed codemadness.org 70
9 iIt is now part of sfeed. codemadness.org 70
10 i codemadness.org 70
11 iIt shows the TAB-separated feed items in a graphical command-line UI. The codemadness.org 70
12 hinterface has a look inspired by the »mutt mail client«. It has a sidebar URL:http://www.mutt.org/ codemadness.org 70
13 ipanel for the feeds, a panel with a listing of the items and a small statusbar codemadness.org 70
14 ifor the selected item/URL. Some functions like searching and scrolling are codemadness.org 70
15 iintegrated in the interface itself. codemadness.org 70
16 i codemadness.org 70
17 i codemadness.org 70
18 i## Features codemadness.org 70
19 i codemadness.org 70
20 i* Relatively few LOC, about 2.5K lines of C. codemadness.org 70
21 i* Few dependencies: a C compiler and a curses library (typically ncurses). codemadness.org 70
22 i It also requires a terminal (emulator) which supports UTF-8. codemadness.org 70
23 1 * xterm-compatible shim »minicurses.h« /git/sfeed/file/minicurses.h.gph codemadness.org 70
24 i* Easy to customize by modifying the small source-code and shellscripts. codemadness.org 70
25 i* Plumb support: open the URL or an enclosure URL directly with any program. codemadness.org 70
26 i* Pipe support: pipe the selected Tab-Separated Value line to a program for codemadness.org 70
27 i scripting purposes. Like viewing the content in any way you like. codemadness.org 70
28 i* Yank support: copy the URL or an enclosure URL to the clipboard. codemadness.org 70
29 i* Familiar keybinds: supports both vi-like, emacs-like and arrow keys for codemadness.org 70
30 i actions. codemadness.org 70
31 i* Mouse support: it supports xterm X10 and extended SGR encoding. codemadness.org 70
32 i* Support two ways of managing read/unread items. codemadness.org 70
33 i By default sfeed_curses marks the feed items of the last day as new/bold. codemadness.org 70
34 i Alternatively a simple plain-text list with the read URLs can be used. codemadness.org 70
35 i* UI layouts: supports vertical, horizontal and monocle (full-screen) layouts. codemadness.org 70
36 i Useful for different kind of screen sizes. codemadness.org 70
37 i* Auto-execute keybind commands at startup to automate setting a preferred codemadness.org 70
38 i layout, toggle showing new items or other actions. codemadness.org 70
39 i codemadness.org 70
40 i codemadness.org 70
41 iLike the format programs included in sfeed you can run it by giving the feed codemadness.org 70
42 ifiles as arguments like this: codemadness.org 70
43 i codemadness.org 70
44 i sfeed_curses ~/.sfeed/feeds/* codemadness.org 70
45 i codemadness.org 70
46 i... or by reading directly from stdin: codemadness.org 70
47 i codemadness.org 70
48 i sfeed_curses < ~/.sfeed/feeds/xkcd codemadness.org 70
49 i codemadness.org 70
50 iIt will show a sidebar if one or more files are specified as parameters. It codemadness.org 70
51 iwill not show the sidebar by default when reading from stdin. codemadness.org 70
52 i codemadness.org 70
53 IScreenshot showing what the UI looks /downloads/screenshots/sfeed_curses_screenshot.png codemadness.org 70
54 i codemadness.org 70
55 iOn pressing the 'o' or ENTER keybind it will open the link URL of an item with codemadness.org 70
56 ithe plumb program. On pressing the 'a', 'e' or '@' keybind it will open the codemadness.org 70
57 henclosure URL if there is one. The default plumb program is set to »xdg-open«, URL:https://portland.freedesktop.org/doc/xdg-open.html codemadness.org 70
58 ibut can be modified by setting the environment variable $SFEED_PLUMBER. The codemadness.org 70
59 iplumb program receives the URL as a command-line argument. codemadness.org 70
60 i codemadness.org 70
61 iThe TAB-Separated-Value line of the current selected item in the feed file can codemadness.org 70
62 ibe piped to a program by pressing the 'c', 'p' or '|' keybind. This allows much codemadness.org 70
63 iflexibility to make a content formatter or write other custom actions or views. codemadness.org 70
64 iThis line is in the exact same format as described in the sfeed(5) man page. codemadness.org 70
65 i codemadness.org 70
66 iThe pipe program can be changed by setting the environment variable codemadness.org 70
67 i$SFEED_PIPER. codemadness.org 70
68 i codemadness.org 70
69 IScreenshot showing the output of the pipe content script /downloads/screenshots/sfeed_curses_pipe_screenshot.png codemadness.org 70
70 i codemadness.org 70
71 1The above screenshot shows the included »sfeed_content« shellscript which uses /git/sfeed/file/sfeed_content.gph codemadness.org 70
72 hthe »lynx text-browser« to convert HTML to plain-text. It pipes the formatted URL:https://invisible-island.net/lynx/ codemadness.org 70
73 iplain-text to the user $PAGER (or "less"). codemadness.org 70
74 i codemadness.org 70
75 iOf course the script can be easily changed to use a different browser or codemadness.org 70
76 iHTML-to-text converter like: codemadness.org 70
77 i codemadness.org 70
78 h* dillo URL:https://www.dillo.org/ codemadness.org 70
79 h* links URL:http://www.jikos.cz/~mikulas/links/ codemadness.org 70
80 h* w3m URL:http://w3m.sourceforge.net/ codemadness.org 70
81 1* webdump /git/webdump/file/README.gph codemadness.org 70
82 i codemadness.org 70
83 iIt's easy to modify the color-theme by changing the macros in the source-code codemadness.org 70
84 ior set a predefined theme at compile-time. The README file contains information codemadness.org 70
85 hhow to set a theme. On the left a »TempleOS«-like color-theme on the right a URL:https://templeos.org/ codemadness.org 70
86 h»newsboat«-like colorscheme. URL:https://newsboat.org/ codemadness.org 70
87 i codemadness.org 70
88 IScreenshot showing a custom colorscheme /downloads/screenshots/sfeed_curses_theme_screenshot.png codemadness.org 70
89 i codemadness.org 70
90 iIt supports a vertical layout, horizontal and monocle (full-screen) layout. codemadness.org 70
91 iThis can be useful for different kind of screen sizes. The keybinds '1', '2' codemadness.org 70
92 iand '3' can be used to switch between these layouts. codemadness.org 70
93 i codemadness.org 70
94 IScreenshot showing the horizontal layout /downloads/screenshots/sfeed_curses_horizontal_screenshot.png codemadness.org 70
95 i codemadness.org 70
96 i codemadness.org 70
97 i## Clone codemadness.org 70
98 i codemadness.org 70
99 i git clone git://git.codemadness.org/sfeed codemadness.org 70
100 i codemadness.org 70
101 i codemadness.org 70
102 i## Browse codemadness.org 70
103 i codemadness.org 70
104 iYou can browse the source-code at: codemadness.org 70
105 i codemadness.org 70
106 h* https://git.codemadness.org/sfeed/ URL:https://git.codemadness.org/sfeed/ codemadness.org 70
107 1* gopher://codemadness.org/1/git/sfeed /git/sfeed codemadness.org 70
108 i codemadness.org 70
109 i codemadness.org 70
110 i## Download releases codemadness.org 70
111 i codemadness.org 70
112 iReleases are available at: codemadness.org 70
113 i codemadness.org 70
114 h* https://codemadness.org/releases/sfeed/ URL:https://codemadness.org/releases/sfeed/ codemadness.org 70
115 1* gopher://codemadness.org/1/releases/sfeed /releases/sfeed codemadness.org 70
116 i codemadness.org 70
117 i codemadness.org 70
118 i## Build and install codemadness.org 70
119 i codemadness.org 70
120 i $ make codemadness.org 70
121 i # make install codemadness.org 70
122 .