Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trantuvan/bootdev-gator
RSS feed aggreGator
https://github.com/trantuvan/bootdev-gator
Last synced: 9 days ago
JSON representation
RSS feed aggreGator
- Host: GitHub
- URL: https://github.com/trantuvan/bootdev-gator
- Owner: Trantuvan
- Created: 2024-10-08T05:15:00.000Z (3 months ago)
- Default Branch: self-impl
- Last Pushed: 2024-11-18T14:58:36.000Z (2 months ago)
- Last Synced: 2024-11-30T05:55:23.932Z (about 2 months ago)
- Language: Go
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bootdev-gator
RSS feed aggreGator 🐊. It's a CLI tool that allows users to:
- Add RSS feeds from across the internet to be collected
- Store the collected posts in a PostgreSQL database
- Follow and unfollow RSS feeds that other users have added
- View summaries of the aggregated posts in the terminal, with a link to the full postRSS feeds are a way for websites to publish updates to their content. You can use this project to keep up with your favorite blogs, news sites, podcasts, and more!
`Learning Goals`
- Learn how to integrate a Go application with a PostgreSQL database
- Practice using your SQL skills to query and migrate a database (using [sqlc](https://docs.sqlc.dev/en/stable/tutorials/getting-started-postgresql.html) and [goose](https://github.com/pressly/goose), two lightweight tools for typesafe SQL in Go)
- Learn how to write a long-running service that continuously fetches new posts from RSS feeds and stores them in the database## Installation
- The aggreGator 🐊 requires Golang and Postgres as dependencies.
- `.gatorconfig.json` will be needed as config file. Create this in home director with the structure```json
{
"db_url": "connectionString",
"current_user_name": "userName"
}
```- To install the aggreGator 🐊 runs. After this `bootdev-gator` appears as a command in the shell.
```bash
go install
```Some commands to run:
- `bootdev-gator register `
- `bootdev-gator addfeed `
- `bootdev-gator agg `
- `bootdev-gator browse `