# Public archive for Delving Bitcoin

**URL:** <https://delvingbitcoin.org/t/public-archive-for-delving-bitcoin/87>\
**Category:** Meta\
**Created:** [September 5, 2023, 5:42pm UTC](https://delvingbitcoin.org/t/public-archive-for-delving-bitcoin/87 "2023-09-05T17:42:56Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jamesob](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/jamesob/32/271_2.png) [@jamesob](https://delvingbitcoin.org/u/jamesob)\
**Post date:** [September 7, 2023, 3:53pm UTC](https://delvingbitcoin.org/t/public-archive-for-delving-bitcoin/87/6 "2023-09-07T15:53:41Z")

</div>

Okay! I’ve come up with a minimum viable script for doing this.

Here’s the archive repository: [GitHub - jamesob/delving-bitcoin-archive: A public archive of delvingbitcoin.org](https://github.com/jamesob/delving-bitcoin-archive).

- The most interesting contents are probably the rendered markdown listing of topic threads: [https://github.com/jamesob/delving-bitcoin-archive/tree/master/archive/rendered-topics](https://github.com/jamesob/delving-bitcoin-archive/tree/master/archive/rendered-topics).
- But I’ve also included a raw archive of the post JSON, which should be useful for search indexers: [https://github.com/jamesob/delving-bitcoin-archive/tree/master/archive/posts](https://github.com/jamesob/delving-bitcoin-archive/tree/master/archive/posts).

The script for doing the actual archiving is here (and should be easily pip-installable by anyone wanting to reproduce this process for themselves): [GitHub - jamesob/discourse-archive: Provides a simple archive of Discourse content](https://github.com/jamesob/discourse-archive)

```auto
pip install discourse-archive
discourse-archive -u https://delvingbitcoin.org

```

The only caveat with this script is if someone updates an old post (older than a day), the update won’t be detected. I’m not sure if there’s a good solution for this, but maybe some other part of the API could clue us in to updated posts.

---

_[View the full topic](https://delvingbitcoin.org/t/public-archive-for-delving-bitcoin/87)._
