0.1.3 • Published 3 years ago

matrix-simple-backup v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

matrix-simple-backup

A CLI tool that backs up all messages in a matrix room to a newline-delimited JSON file.

Note that it does not backup any media or attachments, only text and state events.

Quick-and-dirty, written in one evening for my use-case, and contains no tests, so use at your own risk :)

What you'll need

Usage

# quick version
npx matrix-simple-backup path/to/output/file.ndjson

# or, pass in the params
npx matrix-simple-backup --host your.matrix.server.net --room !your-room-id:your.matrix.server.net --token super-secret-token path/to/output/file.ndjson

# see all options
npx matrix-simple-backup --help

# or, install it locally
npm i -g matrix-simple-backup

# and do same as above
matrix-simple-backup --help
0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago