Skip to content

memgraph/reddit-network-explorer

Repository files navigation

🔍 Reddit Network Explorer 🔍

license build

Follow @memgraphdb

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.

📚 Data model

reddit-network-explorer

👉 Try it out!

  • The demo application - reddit.memgraph.com (Not deployed yet!)
  • The Memgraph instance - bolt://reddit.memgraph.com:7687

To explore the data, please download Memgraph Lab. The endpoint is reddit.memgraph.com and the port is '7687'.

🖥️ 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!!