A small command-line RSS aggregator. You register a user, add some feeds, and let it collect posts for you while you do something else. Built in Go with PostgreSQL.
- Go
- PostgreSQL
Create a config file in your home directory at ~/.gatorconfig.json:
{
"db_url": "postgres://user:password@localhost:5432/gator?sslmode=disable",
"current_user_name": ""
}Run the migrations in sql/schema to set up the database, then install:
go install github.com/su1uv/gator@latest
gator register <name> create a user
gator login <name> switch the current user
gator addfeed <name> <url> add a feed (and follow it)
gator agg <interval> start collecting posts, e.g. gator agg 1m
gator browse [limit] show the latest posts
Also: users, feeds, follow <url>, unfollow <url>, following, and reset (wipes the users table, careful).