A maubot for Matrix messaging that allows user to trace back the scene from an anime screenshot using trace.moe API.
Do one of the following:
- Reply to a message containing a screenshot/video or an external link to a screenshot/video with a command
[p]trace
. - Send a single message that contains a screenshot/video as an attachment and a command
[p]trace
. - Send a single message that contains a link to the screenshot/video and a command
[p]trace link
.
If your message contains both an image and a link, then the attachment will be used.
In order to check the search quota and limit send a message with a command: [p]trace quota
.
You can configure the plugin in maubot's control panel.
preview_size
- controls the size of video preview and its thumbnail. Available options are:l
- largem
- medium (default)s
- small
api_key
- if you have your own trace.moe API key, you can put it heremute
- controls whether the video previews have sound. Available options areyes
andno
(default)cut_borders
- trace.moe can detect black borders automatically and cut away unnecessary parts of the images that would affect search results accuracy. This is useful if your image is a screencap from a smartphone or iPad that contains black bars. Available options areyes
(default) andno
.max_results
- controls the number of displayed results (defaults to 5)
- Plugin supports images and videos - according to trace.moe docs, any format that is supported by ffmpeg
- File size limit is 25 MB
This plugin is unofficial and is not affiliated with trace.moe. It is not intended for any purpose that violates trace.moe Terms of Service. By using this plugin, you acknowledge that you will not use it in a way that infringes on trace.moe terms. The official trace.moe website can be found at https://trace.moe/.