reddit-network-explorer
reddit-network-explorer copied to clipboard
A graph-powered Reddit explorer that can perform real-time graph visualizations and sentiment analysis.
🔍 Reddit Network Explorer 🔍
The Reddit Network Explorer is a web application that lets you visualize a subreddit in real-time as well as perform sentiment analysis and different network analysis algorithms.
[!NOTE]
We no longer host the Reddit Network Explorer app onreddit.memgraph.com. You can still check out this project to learn how to build an app with Memgraph.
📚 Data model

🖥️ Run the app locally
The simplest way of running the app locally is by using Docker Compose. Just run the following commands in the root directory:
docker-compose build
docker-compose up backend-app
docker-compose up frontend-app
docker-compose up reddit-stream
Make sure to set up a Reddit account and go to https://www.reddit.com/prefs/apps in order to create an app so you can
get the client_id and client_secret.
You will need those to set up the Reddit stream in reddit-stream/app.py (line 106-109):
reddit = praw.Reddit(
client_id="***REMOVED***",
client_secret="***REMOVED***",
user_agent="graph-demo data fetcher")
The app will need to run a while to populate with comments and users, so make sure to keep it running for 10-15 minutes to see some data flowing in.
❔ Find out more about Memgraph
Memgraph makes creating real-time streaming graph applications accessible to every developer. Spin up an instance, consume data directly from Kafka, and build on top of everything from super-fast graph queries to PageRank and Community Detection.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Antonio Andelic |
David Lozic |
Ivan Despot |
This project follows the all-contributors specification. Contributions of any kind welcome!!