Skip to content
A Matrix bot to use grep for searching in large messages
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
out/artifacts/MatrixGrepBot_jar deleted uselsess folder Aug 13, 2019
src
.gitignore update .gitignore Aug 13, 2019
README.md

README.md

Matrix-Grep-Bot

A Matrix bot to use grep for searching in large messages using my own API

Download

You can download the bot here

Install

Just run the bot once (java -jar MatrixGrepBot.jar) to create the config.json or create a file in the same directory and paste

{
  "host": "http://matrix.com",
  "username": "grepbot",
  "password": "",
  "usertoken": ""
}

then fill the json with your data and save it. Then start the bot again. Thats it.
Note: If a password is given, the config removes it and replace the token with the token of the given user If you want to use a usertoken, be sure the passwordfield is blank!

Usage

Invite the bot to a room. It will join automatically. Then reply on a message with
!grep <search pattern> or ! grep <search pattern>


Note Currently the bot only supports casesensitive search

The nextBatch-file is a file you shouldnt delete unless you want to run all past !grep commands again because it saves the sync-state

You can’t perform that action at this time.