Skip to content

Add Delving Bitcoin forum archive dataset - #40

Draft
b10claude wants to merge 1 commit into
bitcoin-data:mainfrom
b10claude:add-delving-bitcoin-archive
Draft

b10claude wants to merge 1 commit into
bitcoin-data:mainfrom
b10claude:add-delving-bitcoin-archive

Conversation

@b10claude

Copy link
Copy Markdown

Adds datasets/delving-bitcoin-archive.toml.

Sources

Add Delving Bitcoin forum archive dataset

Sources for each claim:

  • Repository, purpose and owner: https://github.com/jamesob/delving-bitcoin-archive (GitHub API: description: "A public archive of delvingbitcoin.org", owner: jamesob, default_branch: master)
  • Layout and what each directory holds: https://github.com/jamesob/delving-bitcoin-archive/blob/master/README.md ("Rendered topic threads are in archive/rendered-topics. Raw post JSON, which might be useful for search indexing, can be found in archive/posts")
  • Root contents are .gitmodules (empty), README.md and archive/; archive/ holds .metadata.json, posts/ and rendered-topics/ (GitHub contents API)
  • Files are filed by month: both archive/posts and archive/rendered-topics contain directories such as 2024-01-January, 2024-02-February, ... (GitHub contents API)
  • One raw Discourse post JSON per post: https://github.com/jamesob/delving-bitcoin-archive/tree/master/archive/posts/2024-01-January contains files like 0000000894-AntoineP-v3-transaction-policy-for-anti-pinning.json; the file is a Discourse post object with 54 keys including id, topic_id, topic_slug, post_number, username, created_at, updated_at, raw, cooked, reply_to_post_number, reactions, score, reads, wiki
  • One rendered Markdown file per topic, with the thread's posts in order: https://raw.githubusercontent.com/jamesob/delving-bitcoin-archive/master/archive/rendered-topics/2024-01-January/2024-01-02-v3-transaction-policy-for-anti-pinning-id340.md starts with the topic title as an # heading, then AntoineP | 2024-01-02 09:36:47 UTC | #1, the post body, a --- separator, then #2, and so on
  • Collected with the discourse-archive tool against the forum: README gives the exact invocation discourse-archive -u https://delvingbitcoin.org -t archive; the tool is https://github.com/jamesob/discourse-archive ("Provides a simple archive of Discourse content")
  • discourse-archive reads the forum's public API, so the mirror is a one-way export; the live forum is https://delvingbitcoin.org/
  • Automated: every recent commit is authored by jamesobot <w.githubbot@au92.org> with the message Update (GitHub commits API), and archive/.metadata.json holds only a last_sync_date
  • Licence: no LICENSE file in the repository, GET /repos/jamesob/delving-bitcoin-archive/license returns 404 and the repository's license field is null -> Not specified, with the note that post text belongs to its authors (same wording style as the existing github-metadata-backup-* entries). The discourse-archive tool itself is MIT (GitHub API license.spdx_id: MIT)

Not verified / notes:

  • Nothing in the repository states that the sync is run from GitHub Actions; there is no .github/workflows directory (contents API returns 404). The entry says only "an automated job", which the bot-authored commits support.
  • The archive's licence status is inferred from the absence of a licence file. Delving Bitcoin's own site terms were not checked, so the entry does not claim any forum-side licence.
  • Whether every topic and post on the forum is present (deleted, hidden or category-restricted content) was not checked; only sampled months and files were inspected.
  • .gitmodules exists but is empty, so there are no submodules.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EQFKPv3mB1J6LFakJnjNsd

@b10claude
b10claude force-pushed the add-delving-bitcoin-archive branch from 6193789 to 86ebfae Compare November 2, 2026 19:31
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

Dataset preview (1 changed entry)

How these entries will read once merged, straight from the generator.

Delving Bitcoin forum archive

/datasets/delving-bitcoin-archive/

A mirror of the Delving Bitcoin research forum: the raw Discourse JSON of every post, and a rendered Markdown file per topic holding that thread's posts in order, both filed by month. An automated job runs the discourse-archive tool against the forum's public API and commits the result. Useful for grepping and citing protocol research outside the forum; the export is one-way, so the live site stays authoritative.

Field Value
Category Development
Format JSON, Plain text
License Not specified; forum post text belongs to its authors. MIT (discourse-archive tool)
Author James O'Beirne
Tags bitcoin-core, forum, history
Description 3 sentences, 68 words

Links, in the order they will render:

Generated by ci/preview.py.

@0xB10C

0xB10C commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

As per https://delvingbitcoin.org/t/public-archive-for-delving-bitcoin/87/8?u=0xb10c

Note that the discourse-archive tool has an off-by-one bug and might miss some posts: fix: off-by-one error in post fetching by 0xB10C · Pull Request #3 · jamesob/discourse-archive · GitHub

and:

I’ve opened [no-merge] what's the diff to a fresh run by 0xB10C · Pull Request #1 · jamesob/delving-bitcoin-archive · GitHub to check how big the diff of GitHub - jamesob/delving-bitcoin-archive: A public archive of delvingbitcoin.org to a fresh archival would be. Some diff is expected (e.g. number of likes, JSON fields only added in newer discourse versions, …), but I also noticed some posts and topics that were never archived.

@0xB10C

0xB10C commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

The dataset might not be complete. I'm also doing one, but mine is not yet pushed to GH.

@0xB10C
0xB10C marked this pull request as draft November 5, 2026 19:57

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants