{"id":16561788,"url":"https://github.com/jamesob/discourse-archive","last_synced_at":"2025-10-28T23:30:40.859Z","repository":{"id":193292248,"uuid":"688502669","full_name":"jamesob/discourse-archive","owner":"jamesob","description":"Provides a simple archive of Discourse content","archived":false,"fork":false,"pushed_at":"2023-10-18T14:04:15.000Z","size":18,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T19:02:39.103Z","etag":null,"topics":["archive","backup","discourse"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamesob.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-07T13:32:22.000Z","updated_at":"2024-11-24T13:00:51.000Z","dependencies_parsed_at":"2023-09-07T15:31:50.694Z","dependency_job_id":null,"html_url":"https://github.com/jamesob/discourse-archive","commit_stats":null,"previous_names":["jamesob/discourse-archive"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesob%2Fdiscourse-archive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesob%2Fdiscourse-archive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesob%2Fdiscourse-archive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesob%2Fdiscourse-archive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesob","download_url":"https://codeload.github.com/jamesob/discourse-archive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238737874,"owners_count":19522264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archive","backup","discourse"],"created_at":"2024-10-11T20:34:19.751Z","updated_at":"2025-10-28T23:30:40.550Z","avatar_url":"https://github.com/jamesob.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discourse-archive\n\nA script that provides a basic archive of Discourse contents.\n\n## Install\n\n```sh\n% pip install discourse-archive\n```\n\nor, if you don't trust package managers:\n\n```sh\n% curl https://raw.githubusercontent.com/jamesob/discourse-archive/master/archive.py \u003e /on/your/path/discourse-archive\n% chmod +x /on/your/path/discourse-archive\n```\n\n## Usage\n\n```sh\n% discourse-archive --help\nusage: discourse-archive [-h] [-u URL] [--debug] [-t TARGET_DIR]\n\nCreate a basic content archive from a Discourse installation\n\noptions:\n  -h, --help            show this help message and exit\n  -u URL, --url URL     URL of the Discourse server\n  --debug\n  -t TARGET_DIR, --target-dir TARGET_DIR\n                        Target directory for the archive\n```\n\nThe structure that it generates looks something like:\n```\narchive\n├── posts\n│   ├── 2022-08-August\n│   │   ├── 0000000001-system-about-the-meta-category.json\n│   │   ├── 0000000046-RubenSomsen-deflationary-money-is-a-good-thing.json\n│   │   ├── 0000000047-ajtowns-deflationary-money-is-a-good-thing.json\n│   │   └── 0000000048-RubenSomsen-deflationary-money-is-a-good-thing.json\n│   ├── 2023-08-August\n│   │   ├── 0000000062-jamesob-thoughts-on-scaling-and-consensus-changes-2023.json\n│   │   ├── 0000000120-instagibbs-op-vault-fanfiction-for-rate-limited-and-collateralized-unvaulting.json\n│   │   ├── 0000000121-instagibbs-op-vault-fanfiction-for-rate-limited-and-collateralized-unvaulting.json\n│   │   ├── 0000000143-naumenkogs-proof-of-micro-burn-burning-btc-while-minimizing-on-chain-block-space-usage.json\n│   │   ├── 0000000144-RubenSomsen-proof-of-micro-burn-burning-btc-while-minimizing-on-chain-block-space-usage.json\n│   │   └── 0000000157-instagibbs-op-vault-fanfiction-for-rate-limited-and-collateralized-unvaulting.json\n│   └── 2023-09-September\n│       ├── 0000000167-Ajian-thoughts-on-scaling-and-consensus-changes-2023.json\n│       ├── 0000000172-jamesob-public-archive-for-delving-bitcoin.json\n│       ├── 0000000173-ajtowns-public-archive-for-delving-bitcoin.json\n│       ├── 0000000174-jamesob-public-archive-for-delving-bitcoin.json\n│       ├── 0000000175-ajtowns-public-archive-for-delving-bitcoin.json\n│       └── 0000000178-midnight-public-archive-for-delving-bitcoin.json\n└── rendered-topics\n    ├── 2022-08-August\n    │   ├── 2022-08-24-about-the-economics-category-id14.md\n    │   ├── 2022-08-24-about-the-implementation-category-id16.md\n    │   ├── 2022-08-24-design-for-algorithmic-stablecoin-backed-by-btc-id20.md\n    │   ├── 2022-08-24-proof-of-micro-burn-burning-btc-while-minimizing-on-chain-block-space-usage-id21.md\n    │   └── 2022-08-24-welcome-to-delving-bitcoin-id7.md\n    ├── 2023-01-January\n    │   └── 2023-01-10-lightning-fees-inbound-vs-outbound-id29.md\n    ├── 2023-08-August\n    │   ├── 2023-08-16-thoughts-on-scaling-and-consensus-changes-2023-id32.md\n    │   ├── 2023-08-22-op-vault-fanfiction-for-rate-limited-and-collateralized-unvaulting-id55.md\n    │   └── 2023-08-23-combined-ctv-apo-into-minimal-txhash-csfs-id60.md\n    └── 2023-09-September\n        └── 2023-09-05-public-archive-for-delving-bitcoin-id87.md\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesob%2Fdiscourse-archive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesob%2Fdiscourse-archive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesob%2Fdiscourse-archive/lists"}