https://github.com/manuelandersen/reddit-pipeline
Reddit data extraction to S3 bucket
https://github.com/manuelandersen/reddit-pipeline
airflow aws-s3 reddit-api
Last synced: about 1 month ago
JSON representation
Reddit data extraction to S3 bucket
- Host: GitHub
- URL: https://github.com/manuelandersen/reddit-pipeline
- Owner: manuelandersen
- License: gpl-3.0
- Created: 2024-07-30T22:40:56.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-20T15:55:11.000Z (almost 2 years ago)
- Last Synced: 2025-03-10T04:50:11.110Z (over 1 year ago)
- Topics: airflow, aws-s3, reddit-api
- Language: Jupyter Notebook
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Reddit ELT Pipeline
This is a repo to implement an ETL pipeline for Reddit data using Airflow and AWS cloud services.
## Overview
What the pipelines does:
- Extract Reddit data trough their API.
- Load the data to an S3 bucket.
- Perform some transformations to the data using AWS Glue.
## Installation
1) Clone the repository
``` bash
git clone https://github.com/manuelandersen/reddit-pipeline.git
```
2) Create a virtual environment (optional but recommended):
``` bash
python3 -m venv venv
source venv/bin/activate
```
3) Install the dependencies:
``` bash
pip install -r requirements.txt
```
4) Rename the configuration file:
``` bash
mv config/config.conf.example config/config.conf
```
> [!WARNING]
> Make sure to put the credentials you need in the new config.conf file.
5) Build and run the Docker container:
``` bash
docker compose up -d --build
```
6) Open Airflow web UI:
In your browser go to `http://localhost:8080`, you will see the DAG's and then you can run them.