A Matrix bot based off https://ari.lt/gh/libtrie
https://git.ari.lt/ari/trie-bot
|
||
---|---|---|
cli | ||
.clang-format | ||
.editorconfig | ||
.eslintrc.js | ||
.gitignore | ||
config.example.mjs | ||
docker-compose.yml | ||
Dockerfile | ||
import.mjs | ||
index.mjs | ||
LICENSE | ||
Makefile | ||
package.json | ||
README.md |
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:
node import.mjs my-export.json ...
You may supply multiple exports.
Running
docker compose up -d
Or
- Install Libtrie systemwide
- Then:
npm i
make strip -j$(nproc)
su -c 'make install'
printf '' | ./bin/trie-update model.bin
npm run bot