This is the source code for https://indycar.xyz.
The site is a news aggregator that parses RSS-feeds and select news that match articles mentioning IndyCar, Marcus Ericsson or Felix Rosenqvist.
You can use this code to match some other words. Just change the matchingArticle()
function in pkg/news/news.go to match something else. But
you will have to change the HTML and JavaScript yourself.
go get -u github.com/RasmusLindroth/indy
- Create a database and table named
indy
. Check table.sql. If you want to use another name you'll have to change the code in pkg/database/database.go. - You should propably remove/change my google tracking code in index.gohtml.
- Create a config-file.
- Install:
go install
- Run it:
./indy -conf ./config.yml
- Go (some later version supporting modules)
- MySQL or MariaDB