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.
- Host: GitHub
- URL: https://github.com/memgraph/reddit-network-explorer
- Owner: memgraph
- License: mit
- Created: 2021-08-24T06:18:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-13T10:23:00.000Z (almost 2 years ago)
- Last Synced: 2025-04-04T01:32:16.112Z (about 1 year ago)
- Topics: memgraph, network-analysis, reddit, reddit-api
- Language: Python
- Homepage:
- Size: 1.41 MB
- Stars: 53
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🔍 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

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