Skip to content

RBTL Airflow

Collect YouTube and TikTok creator data, store it in MongoDB, write the Neo4j graph, and run analysis plus embedding jobs.

Get started Pipeline diagrams

Getting Started

Docker Compose, environment files, Airflow Variables, and Connections for a first local run.

Open the guide

Architecture

Orchestrator DAGs trigger ingest, Mongo → Neo4j transforms, then OpenAI analysis. AIRFLOW_ENV switches development and production stores.

Read the overview

Operations

Local Docker, GitLab auto-deploy to the VM, quota failures, and troubleshooting.

CI/CD

What it is

This repository is an Apache Airflow 3 project (LocalExecutor) for Reading between the Lines. It pulls creator, video, and comment data from the YouTube Data API and the TikTok Research API, writes documents to MongoDB, projects a graph into Neo4j, and runs thumbnail/comment analysis with OpenAI or Azure OpenAI.

The graph it writes is what GraphRAG queries. Edit markdown in this docs/ folder; the shared documentation site copies it in at build time.

Stack: Airflow 3.0.4 (LocalExecutor) · PostgreSQL · MongoDB · Neo4j · Docker Compose