# Discourse Public Data Dump

**URL:** https://meta.discourse.org/t/discourse-public-data-dump/264748
**Category:** Developer Guides
**Created:** [May 12, 2023, 5:22am UTC](https://meta.discourse.org/t/discourse-public-data-dump/264748 "2023-05-12T05:22:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [May 12, 2023, 5:22am UTC](https://meta.discourse.org/t/discourse-public-data-dump/264748/1 "2023-05-12T05:22:23Z")

</div>

Given the advent of AI and the need for large datasets on local development machines, we have pulled together a quick pattern for getting a “workable” copy of all **public** (visible by anon) data from a Discourse forum.

Keeping the documentation up to date at:

> <https://github.com/SamSaffron/discourse_public_import/blob/main/README.md>

[https://github.com/SamSaffron/discourse\_public\_import/](https://github.com/SamSaffron/discourse_public_import/)

### Why you care?

- You want a local database with LOTS of topics
- You don’t want ANY personal data on your system

This is still in a very rough shape, but it is workable for initial experiments and gives you a very populous local setup.

* * *

This document is version controlled - suggest changes [on github](https://github.com/discourse/discourse/blob/main/docs/developer-guides/docs/06-general-guides/03-public-data-dump.md).

---

<div class="post-metadata">

### Author: ![bigkid](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bigkid/32/502799_2.png) [@bigkid](https://meta.discourse.org/u/bigkid)
#### Post date: [May 13, 2025, 8:06am UTC](https://meta.discourse.org/t/discourse-public-data-dump/264748/2 "2025-05-13T08:06:23Z")

</div>

hello, thank you for this work, i am pretty new to discourse api. but i would like to give it a try. from the read me file it looks like the topic\_query and the post\_query are the key docs in this repo. **do you know if we can customize those files to adapt it to our desired dump?** for example we just want to dump topics from a specific category or tags. thanks
