GitHunt
ME

memgraph/reddit-network-explorer

A graph-powered Reddit explorer that can perform real-time graph visualizations and sentiment analysis.

๐Ÿ” 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.

Note

We no longer host the Reddit Network Explorer app on reddit.memgraph.com. You can still check out this project to learn how to build an app with Memgraph.

๐Ÿ“š Data model

reddit-network-explorer

๐Ÿ–ฅ๏ธ 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!!

Languages

Python42.4%TypeScript40.0%JavaScript7.0%Dockerfile4.1%HTML3.7%SCSS1.7%Shell1.0%

Contributors

MIT License
Created August 24, 2021
Updated January 29, 2026