trace-moe-go
trace-moe-go copied to clipboard
A TUI app for finding anime scenes by image. 用于搜索动漫图片出处的 TUI 应用
trace-moe-go
English | 简体中文
A TUI app for finding anime scenes by image using trace.moe API.
If this repo is helpful to you, please consider giving it a star (o゜▽゜)o☆ . Thank you OwO.
Random Wink OvO
Installation
Using go
$ go install -ldflags "-s -w" github.com/acgtools/trace-moe-go
Download from releases
Quick Start
$ moe-go -h
A TUI app for finding anime scene by image, using trace.moe api
Usage:
moe-go [command]
Available Commands:
file search image by file
help Help about any command
Flags:
-h, --help help for moe-go
-v, --version version for moe-go
Use "moe-go [command] --help" for more information about a command.
Ensure your terminal charset is UTF-8
Windows
> chcp
Active code page: 65001
# if code page is not 65001(utf-8), change it temporarily
> chcp 65001
If you want to set the default charset, follow the steps:
- Start -> Run -> regedit
- Go to
[HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\Autorun] - Change the value to
@chcp 65001>nul
If Autorun is not present, you can add a New String.
This approach will auto-execute @chcp 65001>nul when cmd starts.
Linux
$ echo $LANG
en_US.UTF-8
Find by image file
$ moe-go file <image file path>
Keys:
up,down: move the cursorspace,enter: select one resultq: quit program
Example


Issue
Feel free to create issues to report bugs or request new features.