1
0
Fork
You've already forked newsraft
0
forked from newsraft/newsraft
feed reader for terminal
  • C 98.9%
  • Makefile 0.9%
  • Shell 0.2%
2025年01月18日 18:55:08 +03:00
.woodpecker fix settings syntax in ci workflow configuration 2024年10月25日 21:59:56 +03:00
doc add menu-responsiveness setting ( #135 ) 2025年01月18日 18:55:08 +03:00
src add menu-responsiveness setting ( #135 ) 2025年01月18日 18:55:08 +03:00
tests expand parse_feeds_file test a little bit 2024年10月18日 01:50:30 +03:00
.editorconfig add .editorconfig (see https://editorconfig.org ) 2024年05月18日 13:46:17 +03:00
.gitignore fix inconsistency in compiler flags between primary executable and test programs ( #114 ) 2024年09月11日 09:15:07 +03:00
makefile minimize xml elements parsing hash table size 2025年01月18日 17:56:02 +03:00
README.md add some answers to FAQ section 2024年12月30日 22:07:13 +03:00

Description

Newsraft is a feed reader with ncurses user interface. It's greatly inspired by Newsboat and tries to be its lightweight counterpart.

Newsraft in action

Features

Check out comparison of Newsraft and Newsboat.

Dependencies

Name Version Run Build Change
curl >= 7.87.0 + + +
expat >= 2.4.8 + + +
gumbo-parser >= 0.11.0 + + +
ncursesw >= 6.2 + + +
sqlite >= 3.36.0 + + +
yajl >= 2.1.0 + + +
C compiler Any C99 + +
make Any POSIX + +
pkg-config >= 0.29.2 + +
gperf >= 3.1 +
scdoc >= 1.9.1 +
mandoc >= 1.14.6 +

Installing

Some package repositories have Newsraft package so it can be installed with a package manager.

Packaging status

If your package repository doesn't provide Newsraft package, you can build it from source: see doc/build-instructions.md for instructions.

Learning more

The essential source of information about Newsraft is its man page (if you already have Newsraft installed, you can open it with the man newsraft command). Alternatively you can read the HTML version of this man page here.

Examples on how to configure Newsraft are located in the doc/examples directory.

Contributing

Reporting bugs: doc/contributing-report.md

Making changes: doc/contributing-change.md

FAQ

Why it's called Newsraft? This is a rip-off of Newsboat, replacing "boat" with "raft", which emphasizes a smaller codebase.
How do I bind mpv to run in the background? bind m exec setsid mpv --terminal=no "%l" &
How do I filter out things I don't want to see in my feed? See item-rule setting.
I want Newsraft to show me a help screen on ? key press. Easy. Just put bind ? exec man newsraft into your config file.
Can I alter feed's content before Newsraft processes it? Yes, you can do practically anything before Newsraft takes over. It's done via shell interlayer: any shell command in between of $( and ) will be executed on reload and its standard output will be taken for a feed content. Here are examples of such feeds:
$(gemget -sq gemini://example.org/feed.xml) "Simple blog"
$($HOME/bin/html2rss http://example.org/index.html) "Local news"
Why some of my feeds are lagging behind the upstream website even after updating? Some web servers ask Newsraft to withhold content to reduce network load. Newsraft fulfills these web server wishes by default. There are settings to disable Newsraft's respect for web servers and make it a bad boy, if you are that kind of person.
My database is over 9000 GB now. What do I do?
  • Set capacity limit on some of your heavy feeds via item-limit setting
  • Delete cache of feeds you unsubscribed from with newsraft -e purge-abandoned
Where I can find a change log? See doc/changes.md file.
How is Newsraft licensed? The license is ISC because its name is sweet.