An open API service indexing awesome lists of open source software.

https://github.com/joystream/transform-encoded-forum-export


https://github.com/joystream/transform-encoded-forum-export

Last synced: 18 days ago
JSON representation

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
```