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.
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.
- Ensure you have Go installed on your system.
- Optional: Docker, if you plan to containerize the application.
- Clone the repository:
git clone https://github.com/forrest321/gcp_example- Navigate to the project directory:
cd gcp_example- Run the following command to build the backend (RSS Reader):
make backend
This will compile the backend code and create a binary named goread.
- The compiled
goreadbinary 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"
The configuration file is in YAML format. Example structure:
feeds:
- url: "https://example.com/rssfeed1"
- url: "https://example2.com/rssfeed2"