Collect news from your favorite RSS/Atom feeds and generate simple and static web pages to browse the news in.
The project is now in beta stage and being actively used at https://lmas.se/news
go install github.com/lmas/feedloggr
For a list of available flags and commands:
feedloggr -h
You can create a new config file by running:
feedloggr -example > .feedloggr3.conf
You should then edit
.feedloggr3.conf
and add in your RSS/Atom feeds.
The format of the config is
TOML
.
When you’re done editting the config, you can test it and make sure there’s no errors in it:
feedloggr -test
If no errors are shown, you’re good to go.
Now that you have a working config, it’s time to start collect news from your feeds and create a new web page showing all the collected news:
feedloggr
When it’s done you should be able to browse the newly generated pages, found inside the output directory that was specified in the config file.
Verbose = true | false
Show verbose logs while running. Default to false.
OutputPath = "/path/to/dir"
Path to directory where new pages will be stored in.
Timeout = seconds
Read timeout when sending HTTP GET requests, when updating the feeds.
[Feeds]
"Example" = "https://example.com/rss"
"Example2" = "https://somewhereelse.com/rss"
List of RSS/Atom feeds,
feedloggr
tries to download the feeds from the URLs.
MIT License, see LICENSE.
The MIT License (MIT)
Copyright (c) 2016 A. Svensson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Hide license