Live stream of comment sentiment for r/CryptoCurrency
Dashboard
Rough explanation
Three microservices:
Comment streaming using Python and PRAW
Sentiment prediction using Python and a huggingface Transformer model
Middleware to for connecting the frontend to the Kafka stream via websocket (using Rust+tokio
All services communicate event-driven via Kafka.
The dashboard is built using React, exported as a single .js
file with Parcel. Then, the .js
-file can be loaded in an html
-cell via Quarto Markdown.