This is purely a hobby project and it is meant to be used for reference only. It is not meant to be used in production.
- Beta version
- Unstable, not guaranteed to work with any particular source.
Either git clone
and build or use:
go install github.com/nguyendhst/gonews@latest && touch config.yaml
Then edit the config file to your liking. The config file is in YAML format. The following is an example config file:
NewsSource1:
name: News
url: https://example.com/rss
NewsSource2:
name: News2
url: https://example2.com/rss
and then run:
gonews generate
cmd -- contains the generate command.
|
pkg -- contains the core logic
| \__ fetch -- contains the logic to fetch the RSS/Atom feeds
| \__ render -- contains the logic to generate the static site
|
resources -- contains the HTML template file
- Duplicate .html file name in the same directory are not handled yet.
- Not yet tested on Windows.