informado

Stay informed about various topics by parsing SSR feeds using Informado.

MIT License

Stars
6

Informado

Use this Go library or the tool to read various RSS feeds. Note that Atom and Reddit feeds can be parsed as well.

Installation

Ubuntu

sudo snap install informado

Usage

Create an informado directory:

mkdir ~/.informado

and subsequently an rss-feed-urls.csv file:

type,url
atom,https://github.com/golang/go/releases.atom

Once the file has been created, run:

./informado

Once informado has been completed, a /tmp/informado/last-run-time.txt has been created that contains the Epoch time when the tool was run. The next time informado is run it will lookup the time and only show newer messages. If one would like to view all messages, then the time has to be changed in the .informado file.

Create a /tmp/informado-time/last-run-time.txt file with owner 9999 and add a 0 to it.

docker run \
  -v /home/${USER}/.informado:/opt/informado/.informado \
  -v /tmp/informado-time:/opt/informado/.informado/informado-time \
  -it utrecht/informado:3.1.1

Slack

Create a Slack Channel and Token and add them to a ~/.informado/creds.yml file:

---
slackChannel: x
slackToken: y

Kubernetes

sudo chown 9999 /var/k8s-storage/informado
sudo chmod 0700 /var/k8s-storage/informado
export INFORMADO_URL="https://raw.githubusercontent.com/030/informado"
curl -L ${INFORMADO_URL}/28-slack/deployments/k8s-and-openshift/deploy.yml -o \
  deploy.yml
kubectl create -f deploy.yml

Update the Slack channel ID and secret:

kubectl edit secret informado -n informado

After the first run, add more RSS feed URLs to the configMap, e.g.:

atom,https://github.com/golang/go/releases.atom
atom,https://github.com/aws/aws-cli/releases.atom
atom,https://github.com/kubernetes/kubernetes/releases.atom
atom,https://github.com/securego/gosec/releases.atom
atom,https://github.com/sonatype/docker-nexus3/releases.atom
atom,https://status.gitlab.com/pages/5b36dc6502d06804c08349f7/rss
standard,https://aws.amazon.com/blogs/devops/feed
standard,https://aws.amazon.com/new/feed
standard,https://docker-hub-rss.now.sh/grafana/grafana.atom?includeRegex=%5E(%5Cd%2B%5C.)%7B2%7D%5Cd%2B%24
standard,https://kubernetes.io/feed.xml
standard,https://www.docker.com/blog/feed

Stargazers over time