https://github.com/joystream/transform-encoded-forum-export
https://github.com/joystream/transform-encoded-forum-export
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/joystream/transform-encoded-forum-export
- Owner: Joystream
- Created: 2019-11-29T08:07:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-29T08:19:10.000Z (over 6 years ago)
- Last Synced: 2025-11-16T18:07:28.572Z (7 months ago)
- Language: Rust
- Size: 103 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Converts forum export data from parity encoded format to serde serialized json
Usage:
Run joystream-node (Acropolis testnet):
```
joystream-node
```
Export Joystream Forum state (categories, threads and posts) using the export tool:
```
git clone -b acropolis https://github.com/Joystream/joystream-api-examples.git
cd joystream-api-examples
yarn && yarn build
node lib/export_forum --encoded > forum_data_encoded.json
```
Run the transform tool (this cargo package):
```bash
git clone https://github.com/Joystream/transform-encoded-forum-export
cd transform-encoded-forum-export/
cargo build
# output file from export tool
cat forum_data_encoded.json | cargo run > forum_data_serialized.json
```