Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/truncateddinosour/trie-bot
- Owner: TruncatedDinoSour
- License: agpl-3.0
- Archived: true
- Created: 2024-05-31T13:48:47.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-20T13:19:55.000Z (5 months ago)
- Last Synced: 2024-09-29T01:21:25.871Z (about 1 month ago)
- Topics: c89, javascript, libtrie, markov-chain, matrix-bot, trie
- Language: JavaScript
- Homepage: https://git.ari.lt/ari/trie-bot
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```