An open API service indexing awesome lists of open source software.

https://github.com/memgraph/reddit-network-explorer

A graph-powered Reddit explorer that can perform real-time graph visualizations and sentiment analysis.
https://github.com/memgraph/reddit-network-explorer

memgraph network-analysis reddit reddit-api

Last synced: 10 months ago
JSON representation

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

Awesome Lists containing this project

README

          


🔍 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](https://docs.docker.com/compose/install/). 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):

```python
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.

- [Memgraph Docs](https://docs.memgraph.com)
- [Memgraph Download](https://memgraph.com/download)

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



Antonio Andelic


David Lozic


Ivan Despot

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!!