rss-cli is a CLI application for you to retrieve posts via RSS and have all of them on a single place. YOUR TERMINAL!
- 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)
{
"db_url":"postgres://<dbuser>:<password>@localhost:5432/<db_name>?sslmode=disable",
}- 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>Use goose for database migrations