discourse-archive
A script that provides a basic archive of Discourse contents.
Install
% pip install discourse-archive
or, if you don't trust package managers:
% curl https://raw.githubusercontent.com/jamesob/discourse-archive/master/archive.py > /on/your/path/discourse-archive
% chmod +x /on/your/path/discourse-archive
Usage
% discourse-archive --help
usage: discourse-archive [-h] [-u URL] [--debug] [-t TARGET_DIR]
Create a basic content archive from a Discourse installation
options:
-h, --help show this help message and exit
-u URL, --url URL URL of the Discourse server
--debug
-t TARGET_DIR, --target-dir TARGET_DIR
Target directory for the archive
The structure that it generates looks something like:
archive
├── posts
│ ├── 2022-08-August
│ │ ├── 0000000001-system-about-the-meta-category.json
│ │ ├── 0000000046-RubenSomsen-deflationary-money-is-a-good-thing.json
│ │ ├── 0000000047-ajtowns-deflationary-money-is-a-good-thing.json
│ │ └── 0000000048-RubenSomsen-deflationary-money-is-a-good-thing.json
│ ├── 2023-08-August
│ │ ├── 0000000062-jamesob-thoughts-on-scaling-and-consensus-changes-2023.json
│ │ ├── 0000000120-instagibbs-op-vault-fanfiction-for-rate-limited-and-collateralized-unvaulting.json
│ │ ├── 0000000121-instagibbs-op-vault-fanfiction-for-rate-limited-and-collateralized-unvaulting.json
│ │ ├── 0000000143-naumenkogs-proof-of-micro-burn-burning-btc-while-minimizing-on-chain-block-space-usage.json
│ │ ├── 0000000144-RubenSomsen-proof-of-micro-burn-burning-btc-while-minimizing-on-chain-block-space-usage.json
│ │ └── 0000000157-instagibbs-op-vault-fanfiction-for-rate-limited-and-collateralized-unvaulting.json
│ └── 2023-09-September
│ ├── 0000000167-Ajian-thoughts-on-scaling-and-consensus-changes-2023.json
│ ├── 0000000172-jamesob-public-archive-for-delving-bitcoin.json
│ ├── 0000000173-ajtowns-public-archive-for-delving-bitcoin.json
│ ├── 0000000174-jamesob-public-archive-for-delving-bitcoin.json
│ ├── 0000000175-ajtowns-public-archive-for-delving-bitcoin.json
│ └── 0000000178-midnight-public-archive-for-delving-bitcoin.json
└── rendered-topics
├── 2022-08-August
│ ├── 2022-08-24-about-the-economics-category-id14.md
│ ├── 2022-08-24-about-the-implementation-category-id16.md
│ ├── 2022-08-24-design-for-algorithmic-stablecoin-backed-by-btc-id20.md
│ ├── 2022-08-24-proof-of-micro-burn-burning-btc-while-minimizing-on-chain-block-space-usage-id21.md
│ └── 2022-08-24-welcome-to-delving-bitcoin-id7.md
├── 2023-01-January
│ └── 2023-01-10-lightning-fees-inbound-vs-outbound-id29.md
├── 2023-08-August
│ ├── 2023-08-16-thoughts-on-scaling-and-consensus-changes-2023-id32.md
│ ├── 2023-08-22-op-vault-fanfiction-for-rate-limited-and-collateralized-unvaulting-id55.md
│ └── 2023-08-23-combined-ctv-apo-into-minimal-txhash-csfs-id60.md
└── 2023-09-September
└── 2023-09-05-public-archive-for-delving-bitcoin-id87.md
Metadata
Release files for discourse-archive 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| discourse_archive-0.1.3.tar.gz | 2.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| discourse_archive-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / discourse_archive-0.1.3.tar.gz
| Download URL | discourse_archive-0.1.3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d81587299327a316a4a045e96a5130a6ef47b067b9be6f5c1bfd30e162e1ef0
|
|
BLAKE2b-256 checksum How to use checksums |
0bde784729cb57045b438b9d8b1712decb456880923cca1336c1f4f7e71a13c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / discourse_archive-0.1.3-py3-none-any.whl
| Download URL | discourse_archive-0.1.3-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b24c48d2ad3e30dfd9163525f37595ebfaa688075a5ed33c89bdbdd60c3830f
|
|
BLAKE2b-256 checksum How to use checksums |
9e4d95cc6025c73821b5da9982cf53ff14b05caa6fc1d6d086178b5fe18ee1f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for discourse-archive 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.