Skip to content

hill-brand/gator

Repository files navigation

Gator

A command-line tool for aggregating RSS feeds and viewing posts. Supports multiple users.

Installation

Requires Go and a local Postgres database. Install with:

go install github.com/luckysal/gator

Config

Create a .gatorconfig.json file in your home directory with the following structure:

{
    "db_url": "<database_connection_string>"
}

Usage

Create a user:

gator register <username>

Add a feed:

gator addfeed <feed_name> <url>

Start the aggregator:

gator agg 1m

View the posts:

gator browse [limit]

Other commands:

  • gator login <username> - Log in to an existing user
  • gator users - List all registered users
  • gator feeds - List all feeds in the database
  • gator follow <url> - Follow a feed that already exists in the database
  • gator following - List all feeds the current user is following
  • gator unfollow <url> - Unfollow a feed that the current user is following

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages