Find a file
Ari Archer 5d89a4a93b
Upgrade to Libtrie-2
Signed-off-by: Ari Archer <ari@ari.lt>
2024-06-02 06:30:54 +03:00
cli init 2024-05-31 16:49:21 +03:00
.clang-format init 2024-05-31 16:49:21 +03:00
.editorconfig init 2024-05-31 16:49:21 +03:00
.eslintrc.js init 2024-05-31 16:49:21 +03:00
.gitignore init 2024-05-31 16:49:21 +03:00
config.example.mjs fix import and config 2024-05-31 17:00:50 +03:00
docker-compose.yml init 2024-05-31 16:49:21 +03:00
Dockerfile Upgrade to Libtrie-2 2024-06-02 06:30:54 +03:00
import.mjs fix import and config 2024-05-31 17:00:50 +03:00
index.mjs Convert data to string 2024-05-31 17:10:05 +03:00
LICENSE init 2024-05-31 16:49:21 +03:00
Makefile init 2024-05-31 16:49:21 +03:00
package.json init 2024-05-31 16:49:21 +03:00
README.md init 2024-05-31 16:49:21 +03:00

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

npm i
make strip -j$(nproc)
su -c 'make install'
printf '' | ./bin/trie-update model.bin
npm run bot