Hackathon [Feature]: Add Reddit data-source connector
Author: NMZivkovicCreated Aug 28, 2026Updated Sep 28, 2026
LabelsenhancementINTEGRATIONShackathon
Problem Statement
cognee has five data-source connectors today (confluence, gmail, google-drive, notion, slack) against roughly 120 planned. Data sources are the thinnest surface in the project.
Reddit is on the roadmap and has no connector.
Proposed Solution
Add a reddit connector under packages/connector/reddit/ in cognee-community, following the shape of the five existing connectors.
- Auth: OAuth 2.0 (script app)
- Ingest: subreddit posts and comment trees
- Incremental sync: listing
before/aftercursor - Forget-on-delete: deleting upstream must remove the record from the graph on the next sync
Watch out for
Comment trees need recursive expansion of more nodes. Depth-limit or one thread can be thousands of calls.
Package layout to follow
packages/connector/reddit/
├── README.md
├── cognee_community_connector_reddit/
│ ├── __init__.py
│ └── reddit.py
├── examples/
├── tests/
└── pyproject.tomlRead packages/connector/notion/ first — it is the closest working reference.
Acceptance Criteria
- A user connects via OAuth 2.0 (script app) and selects what to ingest
- Selected content is ingested and searchable in cognee
- Incremental sync picks up only what changed since the last run
- Deleting the source upstream removes it from the graph on the next sync
- README with setup steps and a runnable example under
examples/ - Tests covering the ingest path and the incremental cursor
Context
Part of the cognee hackathon connector push. Difficulty: Intermediate (M) — OAuth flow, awkward pagination, or a schema that needs design work
Source: topoteretes/cognee