/newsboat

An RSS/Atom feed reader for text terminals

Primary LanguageC++MIT LicenseMIT

Newsboat Build Status Coverage Status Coverity Scan Build Status

Newsboat is a fork of Newsbeuter, an RSS/Atom feed reader for the text console. The only difference is that Newsboat is actively maintained while Newsbeuter isn't.

Downloading

You can download the latest version of Newsboat from the official site: https://newsboat.org/

Alternatively, you can check out the latest version from the Git repository:

$ git clone git://github.com/newsboat/newsboat.git

Dependencies

Newsboat depends on a number of libraries, which need to be installed before newsboat can be compiled.

Installation

First, you'll have to get the dependencies. Make sure to install the header files for the libraries (on Debian and derivatives, headers are in -dev packages, e.g. libsqlite3-dev.) After that, compiling and installing newsboat is as simple as:

$ make
$ sudo make install

And if you ever need to uninstall it, use make uninstall.

Cross-compilers need to set CARGO_BUILD_TARGET; see cargo documentation.

Support

Development

Decided to work on an issue, fix a bug or add a feature? Great! Be sure to check out our style guide.

You'll probably want to run the tests; here's how:

$ make -j5 PROFILE=1 all test  # 5 is CPU cores + 1, to parallelize the build
$ (cd test && TMPDIR=/dev/shm ./test --order rand) && cargo test

Note the use of ramdisk as TMPDIR: some tests create temporary files, which slows them down if TMPDIR is on HDD or even SSD.

We check the formatting of the Rust code during CI using rust-fmt. To make sure your code is properly formated install and run rust-fmt:

$ rustup component add rustfmt
$ cargo fmt

License

Newsboat is licensed under the MIT license; see the LICENSE file.