Linux command
newsboat 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start newsboat
newsboat
Import OPML feed list
newsboat -i [feeds.opml]
Export feeds to OPML
newsboat -e > [feeds.opml]
Use alternate config file
newsboat -C [/path/to/config]
Use alternate URL file
newsboat -u [/path/to/urls]
Refresh feeds and exit
newsboat -x reload
Specify cache file
newsboat -c [/path/to/cache.db]
说明
Newsboat is a terminal RSS/Atom feed reader forked from Newsbeuter. It displays feeds in a customizable text interface with vim-like keybindings. Feeds are configured in ~/.newsboat/urls, one URL per line. Tags can be added after URLs for organization. Query feeds allow filtering across multiple feeds by criteria like unread status or age. The config file (~/.newsboat/config) controls appearance and behavior: colors, keybindings, browser command, refresh settings, and macros. Extensive customization is possible. Articles are cached locally in SQLite, enabling offline reading. Automatic cleanup removes old articles. The cache can be shared across machines. Integration with external tools includes: opening links in browsers, saving articles, piping content to scripts, and executing shell commands on articles. Podcast support downloads enclosures. Filter expressions select articles by date, author, title, or content. Bookmarking sends articles to external services or scripts.
参数
- -C, --config-file _file_
- Alternate config file.
- -u, --url-file _file_
- Alternate URL file.
- -c, --cache-file _file_
- Alternate cache database.
- -i, --import-from-opml _file_
- Import feeds from OPML.
- -e, --export-to-opml
- Export feeds to OPML on stdout.
- -r, --refresh-on-start
- Refresh feeds on startup.
- -x _command_, --execute _command_
- Execute command (reload, print-unread).
- -l _level_, --log-level _level_
- Logging level (1-6).
- -q, --quiet
- Quiet startup.
- -v, --version
- Show version.
- -h, --help
- Show help.
FAQ
What is the newsboat command used for?
Newsboat is a terminal RSS/Atom feed reader forked from Newsbeuter. It displays feeds in a customizable text interface with vim-like keybindings. Feeds are configured in ~/.newsboat/urls, one URL per line. Tags can be added after URLs for organization. Query feeds allow filtering across multiple feeds by criteria like unread status or age. The config file (~/.newsboat/config) controls appearance and behavior: colors, keybindings, browser command, refresh settings, and macros. Extensive customization is possible. Articles are cached locally in SQLite, enabling offline reading. Automatic cleanup removes old articles. The cache can be shared across machines. Integration with external tools includes: opening links in browsers, saving articles, piping content to scripts, and executing shell commands on articles. Podcast support downloads enclosures. Filter expressions select articles by date, author, title, or content. Bookmarking sends articles to external services or scripts.
How do I run a basic newsboat example?
Run `newsboat` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -C, --config-file _file_ do in newsboat?
Alternate config file.