Последняя версия

Апдейт
июль 25, 2024
Разработчик
etke.cc
Платформы
REChain ® Machines
Загрузки
2,223,441
Лицензия
GNU AGPLv3
Название пакета
com.emm.matrix
Открыть страницу Купить сейчас

Подробнее о EMM

emm stands for Export Matrix Messages A CLI tool that joins the room and exports last N messages to the file(-s) you specified.
# emm: Export Matrix Messages

A CLI tool that joins the room and exports last N messages to the file you specified.

## Features

* Get messages from any matrix room with pagination (if limit greather than page, to prevent timeout errors) or without it (if limit less or equals page)
* Export messages to one file for all messages
* Export each message in separate file
* Custom templates supported (`contrib` contains an example of hugo post template, [etke.cc/webite](https://gitlab.com/etke.cc/website) can be used as reference)
* Delegation and aliases supported
* `Anyone`/`world_readable` access supported without invite

## Usage

### Full example

That's how [etke.cc/website](https://gitlab.com/etke.cc/website) news generated

```bash
emm -hs hs.url -u user -p pass -r "#room:hs.url" -t contrib/hugo-post-template.md -o /tmp/%s.md
```

### Documentation

```bash
Usage of emm:
  -hs string
    	Homeserver URL (supports delegation)
  -l int
    	Messages limit
  -o string
    	Output filename. If it contains %s, it will be replaced with event ID (one message per file)
  -p string
    	Password of the matrix user
  -r string
    	Room ID or alias
  -t string
    	Template file. Default is JSON message struct
  -u string
    	Username/Login of the matrix user
```

## How to get

* Arch Linux [AUR](https://aur.archlinux.org/packages/export-matrix-messages-git/)
* [Releases](https://gitlab.com/etke.cc/tools/emm/-/releases) for freebsd, linux and MacOS
* or `go install gitlab.com/etke.cc/tools/emm@latest`
* or from source code

Оцените приложение

Добавить комментарий и отзыв

Отзывы пользователей

Основано на 0 reviews
5 звёзд
0
4 звёзд
0
3 звёзд
0
2 звёзд
0
1 звёзд
0
Добавить комментарий и отзыв
Мы никогда не передадим вашу электронную почту кому-либо еще.