This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
Files
srv/README.md
Dave Gallant 073db44b81 Allow for optional external viewer args
In order to pass in options like `--new-window` to an external viewer like
`firefox`, optional args can now be defined in configuration. See
config-example.yaml for an example.
2020-04-04 23:08:43 -04:00

42 lines
877 B
Markdown

# srv
View RSS feeds from the terminal.
![image](https://user-images.githubusercontent.com/4519234/78465683-bc1f6e00-76c6-11ea-96e7-1cdd4a5c294f.png)
## configure
srv reads configuration from `~/.config/srv/config.yaml`
If a configuration is not provided, a default configuration is generated.
- `feeds` is a list of RSS/Atom feeds to be loaded in srv.
- `externalViewer` defines an application to override the default web browser (optional).
An example config can be copied:
```shell
cp ./config-example.yaml ~/.config/srv/config.yaml
```
## control
Key mappings are statically defined for the time being.
- `TAB` switches between Feeds and Items.
- `UP/DOWN` navigates feeds and items`
- `ENTER` either selects a feed or opens a feed item in an external application.
- `F5` refresh list of feeds
## build
```shell
make build
```
## test
```shell
make test
```