Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goread RSS Reader

Overview

Goread is a command-line RSS Reader application that fetches and processes RSS feeds. It is part of a larger project structured to run on Google Cloud Platform, with the backend and frontend managed separately.

Project Structure

  • backend/rssreader: Contains the logic for the RSS Reader.
  • cmd/main.go: Entry point for the command-line application.
  • Makefile: Simplifies the build process for the project.

Getting Started

Prerequisites

  • Ensure you have Go installed on your system.
  • Optional: Docker, if you plan to containerize the application.

Installation

  1. Clone the repository:
git clone https://github.com/forrest321/gcp_example
  1. Navigate to the project directory:
cd gcp_example

Building the Application

  • Run the following command to build the backend (RSS Reader):
    make backend

This will compile the backend code and create a binary named goread.

Running the Application

  • The compiled goread binary can be run with various flags to read RSS feeds:
  • To specify individual feed URLs:
    ./goread --feed "http://example.com/rss"
  • To use a configuration file:
    ./goread --config "path/to/config.yaml"

Configuration File Format

The configuration file is in YAML format. Example structure:

feeds:
- url: "https://example.com/rssfeed1"
- url: "https://example2.com/rssfeed2"

About

A CLI tool that reads rss feeds to find topics currently trending on social media. Created to be used as a serverless function.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages