
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
github.com/Xavier-Hsiao/rss-aggregator
This is a command-line tool for aggregating and managing RSS feeds, built with Golang. It uses SQLC for database interaction, Goose for migrations, and Postgres as the database.
Before running this tool, ensure that the following dependencies are installed:
sudo apt install golang # Linux
brew install go # macOS
sudo apt install postgresql # Linux
brew install postgresql # macOS
go install github.com/pressly/goose/v3/cmd/goose@latest
go install github.com/kyleconroy/sqlc/cmd/sqlc@latest
.gatorconfig.json: Create .gatorconfig.json
file in your machine's home directory. The program will use it to track current user.
{"db_url":"","current_user_name":""}
Clone the repository and navigate into the project directory:
git clone https://github.com/Xavier-Hsiao/rss-aggregator.git
cd rss-aggregator
createdb rss_aggregator
goose postgres "postgres://user:password@localhost/rss_aggregator?sslmode=disable" up
Replace user and password with your PostgreSQL credentials.
go build -o rss-cli
./rss-cli
Use these commands to manage your RSS feeds!
./rss-cli/cmd/rss-aggregator register username
./rss-cli/cmd/rss-aggregator login username
./rss-cli/cmd/rss-aggregator addfeed feedname feedURL
./rss-cli/cmd/rss-aggregator feeds
./rss-cli/cmd/rss-aggregator follow feedURL
./rss-cli/cmd/rss-aggregator agg 1m
./rss-cli/cmd/rss-aggregator browse
FAQs
Unknown package
Did you know?
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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.