gorss

LallassuMIT更新放缓

用 Go 写的终端 RSS/Atom 阅读器,支持 OPML 导入,在命令行里直接订阅和浏览订阅源,适合习惯终端工作流的人。

Go Terminal Feed Reader

v0.5发布于 2026-01-21 20:35 UTC464star34fork同步于 2026-11-07 07:33 UTC

怎么上手

由 README 提炼,执行前请确认
make run
硬件要求按 README 说明

README 未说明,仅提供 Linux 与 OSX 预编译包

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

Go 写的终端 RSS/Atom 阅读器,在命令行里订阅、检索并管理文章

用 Go 写的终端 RSS/Atom 阅读器,支持 OPML 导入,在命令行里直接订阅和浏览订阅源,适合习惯终端工作流的人。

核心能力

  • 支持 RSS 与 Atom 订阅源解析
  • 用 SQLite 本地存储文章与已读状态
  • 内置 8 套主题,按 T 键运行时切换
  • 可配置高亮词与自定义快捷键
  • 支持 OPML 导入订阅列表

容易踩的坑

首次运行会自动生成默认配置与主题文件,需自行改 gorss.conf 添加订阅源;自定义命令中的 ARTICLE 变量不做转义,拼接外部命令需谨慎;从 OSX 交叉编译 Linux 版本需先装 musl-cross

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.5
  1. v0.5最新正式版2026-01-21 · 2026-01-21 20:35 UTC

    What's Changed

    A lot of fixes and improvements - Fixes #39 - Fixes #26 - Fixes #30 - Fixes #27 - Fixes #9 - Fixes #5 - Add feedNameMaxWidth max feed name width (default 20) - Recover instead of panic if the URL feeeds cannot be parsed - Bumped deps - Switched html2text library - Adds 2 new options - keyToggleFeeds to toggle feeds widget. - collapseFeeds to start with feeds collapsed. - Potential fix for parse errors - Embed themes and add cycle theme keybinding - Embeds themes into the binary using Go's embed package - Adds a keybinding (default T) to cycle through available themes - Added more themes to choose from

  2. v0.42023-03-23 · 2023-03-23 17:16 UTC
    查看更新说明
    • Support for desktop notifications (true/false in configuration file)
    • Read all in active feed
    • Unread all in active feed
    • Mark unread has been updated to mark current article as unread
    • Possibility to override default web-browser for opening links
    • Use XDG_CONFIG_HOME for config and theme (#34)
    • Check if something has been read before undoing for #28
    • Add keybindings for feed column scrolling
    • Bump a lot of dependencies
    • Built with go 1.20.2
  3. v0.32020-10-28 · 2020-10-28 10:51 UTC
    查看更新说明
    • Ask before exit (y/Y or enter will exit when asked)
    • Search functionality (default / key to open search promt.)
    • Custom names for feeds
    • Various bug fixes
  4. v0.2Release v0.22019-09-30 · 2019-09-30 10:12 UTC
    查看更新说明
    • Key-binding for undoing the last read article (mark it unread again)
    • Bug fixes
    • Added version to binary
  5. v0.1First version2019-09-20 · 2019-09-20 15:05 UTC
    查看更新说明

    First version of gorss. Prebuilt binaries for Linux and OSX in separate tarballs.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    GORSS - Go RSS Reader

    Go Report Card MIT License

    About

    Simple RSS/Atom reader written in Golang. Highly configurable and with themes.

    Overview

    Screenshots

    Usage

    Tarballs with prebuilt binaries for both Linux and OSX can be found under release page.

    Just start by running either gorss_linux or gorss_osx binary from the tarballs.

    You can also specify theme, configuration and database manually.

    ./gorss -config gorss.conf -theme default.theme -db mydb.db
    

    If either the configuration or theme files are not specified, gorss will attempt to use$XDG_CONFIG_HOME/gorss/gorss.conf and $XDG_CONFIG_HOME/gorss/themes/default.theme, respectively. These files will be created from the defaults if not present.

    To build and run use the makefile.

    make run
    

    In order to cross-compile make release for Linux on OSX you need to install the following:

    brew install FiloSottile/musl-cross/musl-cross
    

    The database gorss.db will be automatically created in your systems 'Data Home' directory. You can specify which database to use with the argument -db to the binary.

    Features

    • OPML Support for loading feed URLs (opmlFile in gorss.conf)
    • Support for XDG configuration
    • RSS and Atom support (via github.com/mmcdole/gofeed)
    • Highlights for configurable words
    • Keyboard shortcuts highly configurable
    • Custom keys for custom execution of external applications
    • Open links in browser
    • Mark articles and open all marked in bulk in webbrowser
    • 8 Built-in themes with runtime theme switching (press T to cycle)
    • Preview content of the RSS
    • Backed by SQLite database
    • Mark articles as read
    • Mark all as read/unread
    • Undo last read (mark it as unread)
    • Search titles
    • System notifications

    Configuration Example (Default config)

    It's possible to specify configuration file as a flag, default is gorss.conf.

    The configuration file can specify URLs of feeds as strings, or, if you want to customise the name of the feed as it is shown in your Gorss, as objects with url and name fields. (See the example below for supported options).

    ./gorss -config my.conf
    
    {
        "highlights": [
            "emulation",
            "truck",
            "google",
            "network",
            "math",
            "toyota"
        ],
        "OPMLFile": "../example_ompl.xml",
        "feeds": [
            "https://news.ycombinator.com/rss",
            {"url": "https://www.sweclockers.com/feeds/nyheter", "name": "Swedish Overclocking"},
            {"url": "https://www.reddit.com/r/homeassistant/.rss", "name": "Home Assistant"},
            {"url": "https://www.reddit.com/r/golang/.rss"},
            {"url": "https://www.reddit.com/r/programming/.rss"}
        ],
        "feedWindowSizeRatio": 2,
        "articlePreviewWindowSizeRatio": 5,
        "articleWindowSizeRatio": 2,
        "previewWindowSizeRatio": 1,
        "feedNameMaxWidth": 20,
        "daysToKeepDeletedArticlesInDB": 1,
        "daysToKeepReadArticlesInDB": 1,
        "skipArticlesOlderThanDays": 10,
        "secondsBetweenUpdates": 300,
        "skipPreviewInTab": true,
        "keyOpenLink": "Backspace2",
        "keyMarkLink": "Enter",
        "keyOpenMarked": "o",
        "keyDeleteArticle": "d",
        "keyMoveDown": "s",
        "keyMoveUp": "w",
        "keySortByDate": "r",
        "keySortByUnread": "e",
        "keySortByTitle": "t",
        "keySortByFeed": "y",
        "keyUpdateFeeds": "Ctrl+U",
        "keyMarkAllRead": "Ctrl+R",
        "keyMarkAllUnread": "Ctrl+T",
        "keyMarkAllReadFeed": "Ctrl+F",
        "keyMarkAllUnreadFeed": "Ctrl+G",
        "keyTogglePreview": "q",
        "keyToggleFeeds": "f",
        "keyCycleTheme": "T",
        "keySelectFeedWindow": "1",
        "keySelectArticleWindow": "2",
        "keySelectPreviewWindow": "3",
        "keyToggleHelp": "h",
        "keySwitchWindows": "Tab",
        "keyQuit": "Esc",
        "keyUndoLastRead": "u",
        "keySearchPromt": "/",
        "collapseFeeds": false,
        "notifications": true,
        "customCommands": [
            {
                "key": "j",
                "Cmd": "echo 'ARTICLE.Content' 'ARTICLE.Link' > /tmp/test2.txt"
            },
            {
                "key": "k",
                "Cmd": "echo 'ARTICLE.Title' 'ARTICLE.Feed' > /tmp/test.txt"
            }
        ]
    }
    

    New Configuration Options (v0.5+)

    • feedNameMaxWidth (int, default: 20): Maximum width for feed names in the articles view. Reduce this to give more space to article titles.
    • keyToggleFeeds (string, default: "f"): Toggle the visibility of the feeds panel for more reading space.
    • keyCycleTheme (string, default: "T"): Cycle through all available themes at runtime without restarting.
    • collapseFeeds (bool, default: false): Start with the feeds panel hidden.

    Custom Commands

    Custom commands can be added such as the example in the example configuration above.

    The variables given will be substituted with the content of the given article. There are no escaping going on so be careful!

    Available variables are:

    • ARTICLE.Content - The content of the article
    • ARTICLE.Link - The link to the article
    • ARTICLE.Feed - Name of the feed
    • ARTICLE.Title - Title of the article

    Themes

    Gorss includes 8 beautiful built-in themes that are embedded in the binary. You can cycle through themes at runtime by pressing T (or your configured keyCycleTheme), or start with a specific theme as an argument.

    Available Built-in Themes

    • default - Vibrant teal and pink palette
    • irssi - Classic IRC client inspired theme
    • night - Dark theme for nighttime reading
    • dracula - Popular Dracula color scheme
    • nord - Arctic, north-bluish color palette
    • gruvbox - Retro groove warm colors
    • monokai - Sublime Text inspired theme
    • tokyo-night - Modern dark theme with purple accents
    ./gorss -theme dracula.theme
    

    All themes are embedded in the binary, but you can still create custom theme files. Themes are configured with JSON, default example below:

    {
        "feedNames": [
            "#8ed2c8",
            "#46aa9f",
            "#2e6294",
            "#3b9293"
        ],
        "date": "#a25478",
        "time": "#f96bad",
        "articleBorder": "#4b7d81",
        "previewBorder": "#4b7d81",
        "feedBorder": "#4b7d81",
        "feedBorderTitle": "#fcedd5",
        "articleBorderTitle": "#fcedd5",
        "previewBorderTitle": "#fcedd5",
        "highlights": "#c90036",
        "tableHead": "#b2b37d",
        "title": "#fcedd5",
        "unreadFeedName": "#FFFFFF",
        "totalColumn": "#FFFFFF",
        "unreadColumn": "#FFFFFF",
        "previewText": "#FFFFFF",
        "previewLink": "#39537e",
        "statusBackground": "#4b7d81",
        "statusText": "#fcedd5",
        "statusKey": "#f6d270",
        "statusBrackets": "#bfceab",
        "feedIcon": "🔖",
        "articleIcon": "🗞",
        "previewIcon": "📰",
        "linkMarker": "🌍",
        "unreadMarker": "🌟"
    }
    

    [Screenshots]

    default theme irssi theme night theme

    License

    This is distributed under the MIT License.