RSS-Gator app, it's a gator command line interface for managing RSS feeds.
To run this CLI, you'll need:
- Node.js (version 22 or higher)
- npm or pnpm package manager
- Command line access (Terminal, Command Prompt, or PowerShell)
Make sure you have the necessary dependencies installed by running npm install or yarn install in the project directory before using the CLI.
Before running the CLI, you'll need to set up a databse:
- Setup your database, it should be PostgreSQL
- Create a
.gatorconfig.jsonfile in the project root directory
{
"database": {
"db_url": "postgresql://user:password@localhost:5432/database",
"current_user_name": ""
}
}
- run
npx drizzle-kit migrate
Once you've set up the database, you could start using the app:
The app support the next commands:
- npm run start register - register a new user and login
- npm run start login - login to the app
- npm run start reset - clear user table
- npm run start addfeed - add a new feed and subscribe to it for the current user
- npm run start following - list all the feeds subscribed by the current user
- npm run start unfollow - unsubscribe from a feed
- npm run start follow - subscribe to a feed for the current user
- npm run start agg - aggregate all the feeds every , and save the result to the database
- npm run start browse - browse the aggregated feeds for the current user