🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

github.com/K-Road/rss_feed_aggregator

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
r

github.com/K-Road/rss_feed_aggregator

v0.0.0-20241019041214-0394b0b511d1
Version published
Created
Issues
0

Gator

A multi-user command line tool for aggregating RSS feeds and viewing the posts. (boot.dev course)

Requirements

Go Toolchain

Postgres

Make sure you have the latest Go toolchain installed as well as a local Postgres database.

Installation

Install gator with:

go install ...

Config

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

{
  "db_url": "postgres://username:@localhost:5432/database?sslmode=disable"
}

Replace the values with your database connection string.

Usage

Create a new user:

gator register <name>

Add a feed:

gator addfeed <url>

Start the aggregator:

gator agg 30s

View the posts:

gator browse [limit]

There are a few other commands you'll need as well:

  • gator login <name> - Log in as a user that already exists
  • gator users - List all users
  • gator feeds - List all feeds
  • gator follow <url> - Follow a feed that already exists in the database
  • gator unfollow <url> - Unfollow a feed that already exists in the database

FAQs

Package last updated on 19 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts