trace-moe-go

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 1 Imported by: 0

README

trace-moe-go

English | 简体中文

A TUI app for finding anime scenes by image using trace.moe API.

If this tool is helpful to you, please consider giving it a star. Thank you OwO.

Installation

Using go
$ go install -ldflags "-s -w" github.com/acgtools/trace-moe-go
Download from releases

release page

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:

  1. Start -> Run -> regedit
  2. Go to [HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\Autorun]
  3. 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 cursor
  • space ,enter: select one result
  • q: quit program
Example

gochiusa_rize

1

Issue

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
tui
pkg
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL