clacks

command module
v0.0.0-...-a550f8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2021 License: MIT Imports: 15 Imported by: 0

README

clacks

Build Status codecov Go Report Card

A Terminal Based Atom/RSS Reader that reads a list of feeds from a json file and displays them, once selected a feed entry can be opened in the browser.

Demo

demo

Config

Json file called feeds.json in the same directory with the following format:

{
  "feeds": [
    {
      "url": "https://www.theregister.com/offbeat/bofh/headlines.atom"
    },
    {
      "url": "https://barryodriscoll.net/feed/atom/"
    },
    {
      "url": "https://boingboing.net/feed/atom"
    },
    {
      "url": "https://lifehacker.com/rss"
    }
  ]
}

Instructions

  • Add feeds name/url to feeds.json.
  • Navigate lists using arrow keys.
  • Hit enter/esc to select and deselect list items.
  • Hit enter on an entry to open in default system browser.
  • Use menu shortcuts to perform related tasks.
  • Ctrl-C to quit.

Dependiences

Credits

  • The tview postgres example.
  • The tview presentation demo.
  • This stackoverflow answer on how to open a browser in go and escape urls on windows by icza.
  • The project gdu provided a great example on how to unit test code that calls the tview library with stubs.
  • Terry Pratchett for the name clacks.

Alternatives

  • GORSS is a terminal atom/rss reader also written in go that is built directly on tcell, the library tview is built on.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL