Skip to content

Chander-00/rss-cli

Repository files navigation

Overview

rss-cli is a CLI application for you to retrieve posts via RSS and have all of them on a single place. YOUR TERMINAL!

Requirements

  • You need a postgres database (there is where we are going to store our posts)
  • Create a json config file on your home path, it should be: ~/.gatorconfig.json
  • The config file needs a db_url (from the database where we will store our posts)

Example json config file:

{
   "db_url":"postgres://<dbuser>:<password>@localhost:5432/<db_name>?sslmode=disable",
}

Commands list:

  • Register a user:
gator register <name>
  • Add a feed:
gator addfeed <url>
  • Start aggregation:
gator agg <time> (example: 1m to execute every minute)
  • Browse posts:
gator browse <limit>
  • Login on a different user:
gator login <name>
  • List feeds:
gator feeds
  • List users:
gator users
  • Follow feed:
gator follow <url>
  • Unfopllow feed:
gator unfollow <url>

Notes:

Use goose for database migrations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages