Skip to content

Latest commit

 

History

History
65 lines (52 loc) · 1.53 KB

readme.md

File metadata and controls

65 lines (52 loc) · 1.53 KB

feedgaze

  • Follow feeds (Rss, Atom)
  • Make html page into feed
  • Add tags to feeds
  • Web server to manage feeds in the browser

Usage

Usage: feedgaze [command] [options]

Commands

  add       Add feed
  remove    Remove feed(s)
  update    Update feed(s)
  rule      Feed adding rules
  run       Run update in foreground
  show      Print feeds' items
  server    Start server
  batch     Do path actions

General options:

  -h, --help        Print command-specific usage
  -d, --database    Database location

Install

This will install feedgaze into $HOME/.local/bin/feedgaze

zig build install --prefix ~/.local -Doptimize=ReleaseSafe

HTML to feed

Fields

  • Feed item's selector (required)
  • Feed item link selector (optional)
    • If no selector provided for link:
      • Will use first found element's 'href' attribute
  • Feed item title selector (optional)
    • If no selector provided for title:
      • Will use first found

        -

      • Will use whole item container's text
  • Feed item date selector (optional)
    • If no selector provided for title:
      • Finds first element's 'datetime' attribute otherwise uses elements content as date
  • Date format (optional)
    • Format options:
      • year: YY, YYYY
      • month: MM, MMM (Jan, Sep)
      • day: DD
      • hour: HH
      • minute: mm
      • second: ss
      • timezone: Z (+02:00, -0800)
    • Example: 'xxx MMM DD YYYY'
      • 'xxx' is text I don't care about

Inspiration

fraidycat - github