Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/truncateddinosour/trie-bot

[Migrated to self-hosted ari-web Forgejo: https://git.ari.lt/ari/trie-bot] A Matrix bot based off https://ari.lt/gh/libtrie
https://github.com/truncateddinosour/trie-bot

c89 javascript libtrie markov-chain matrix-bot trie

Last synced: about 1 month ago
JSON representation

[Migrated to self-hosted ari-web Forgejo: https://git.ari.lt/ari/trie-bot] A Matrix bot based off https://ari.lt/gh/libtrie

Awesome Lists containing this project

README

        

# This repository has been migrated to the self-hosted ari-web Forgejo instance:
# 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
```