politeiamancer performs sentiment analysis on live streaming comment data from the /r/politics subreddit. It tracks overall sentiment, as well as sentiment for comments mentioning the 2024 Presidential candidates specifically.
You too can eat straight from the trash can of ideology, now in realtime! Fun!!
- πολιτεία (Gr.): citizenship, the community of citizens, a polity
- μᾰντείᾱ (Gr.): prophecy, divination, oracle
- anything is a perfectly cromulent prefix if you believe hard enough
politeiamancer complies with Reddit's Developer Data Protection Addendum by simply not storing any Reddit data. The comments are ingested into Kafka, streamed into Spark for analysis, and then dropped. All that is retained are the analytics results.
❯ cd ingest
❯ docker build -t vivshaw/politeiamancer-analyze:{INSERT VERSION HERE} ./analyze
❯ docker build -t vivshaw/politeiamancer-ingest:{INSERT VERSION HERE} ./ingest
❯ docker build -t vivshaw/politeiamancer-viz:{INSERT VERSION HERE} ./viz
❯ docker push vivshaw/politeiamancer-analyze:{INSERT VERSION HERE}
❯ docker push vivshaw/politeiamancer-ingest:{INSERT VERSION HERE}
❯ docker push vivshaw/politeiamancer-viz:{INSERT VERSION HERE}
❯ docker-compose up
don't use these instructions, they're 100% busted
❯ minikube start
❯ eval $(minikube -p minikube docker-env)
❯ helm dependency update ./helm
❯ helm install politeiamancer --namespace politeiamancer --create-namespace ./helm
❯ helm uninstall politeiamancer --namespace politeiamancer
- Figure out what to do about ready/liveness probes- currently disabled