A command line interface for aggregating blogs.
go install github.com/Markbu8/gator@latestCreate a .gatorconfig.json file in your home directory with the following format:
{
"db_url": "postgres://postgres:postgres@localhost:5432/gator?sslmode=disable",
"current_user_name": ""
}Replace the db_url value with your own PostgreSQL connection string.
| Command | Description |
|---|---|
gator register <name> |
Register a new user |
gator login <name> |
Log in as an existing user |
gator addfeed <name> <url> |
Add a new feed |
gator follow <url> |
Follow an existing feed |
gator browse <limit> |
Browse recent posts |