DEV Community

Ilya Revenko
Ilya Revenko

Posted on

CLI for Finding Anime By Image

#go

There is a web service called https://trace.moe which allows you to search for the anime scene through image. Also this service has an API which i successfully used to create the CLI using cobra framework
And this is what i've done:
https://github.com/irevenko/what-anime-cli

Usage 🖥

Get Anime By Image File 🗃

what-anime file anime.jpg

Get Anime By Image Link 🔗

what-anime link https://anime.com/image.png


powershell trouble

NOTE: MAKE SURE THAT YOUR LINKS ENDS WITH .IMAGE_FORMAT AND DOESN'T HAVE ANY & CHARS AFTER BECAUSE THIS SYMBOL IS RESERVED BY GOLANG

Supported image extensions 🖼

I've tested these:

  • jpg
  • png
  • jfif

If you have found other's working formats please create an issue

Installation 🔨

Build from source or go to bin folder and pick your executable file

Contributing 🤝

Contributions, issues and feature requests are welcome! 👍

Feel free to check open issues.

GitHub: https://github.com/irevenko/what-anime-cli/

Top comments (1)

Collapse
 
33nano profile image
Manyong'oments

Aye, what a cool project. Its actually funny that you used a strawberry icon for the last part.