trie-bot/README.md
Ari Archer 6d4576ee77
init
Signed-off-by: Ari Archer <ari@ari.lt>
2024-05-31 16:49:21 +03:00

33 lines
480 B
Markdown

# Trie bot
> A Matrix bot based off https://ari.lt/gh/libtrie
# Importing Element chat exports
If you want to import an Element chat export (JSON) format,
you can simply:
```sh
node import.mjs my-export.json ...
```
You may supply multiple exports.
# Running
```sh
docker compose up -d
```
Or
- Install [Libtrie](https://ari.lt/gh/libtrie) systemwide
- Then:
```sh
npm i
make strip -j$(nproc)
su -c 'make install'
printf '' | ./bin/trie-update model.bin
npm run bot
```