Skip to content
/ loli Public

A pretty CLI to find animes passing images πŸ‘‰πŸ˜³πŸ‘ˆ

License

Notifications You must be signed in to change notification settings

lpsm-dev/loli

Repository files navigation

gif-header

Loli CLI

Semantic Release Commitizen friendly


pipelines

Loli is a pretty CLI that search animes passing images or links

Getting StartedΒ Β Β |Β Β Β  InstallΒ Β Β |Β Β Β  UsageΒ Β Β |Β Β Β  Versioning


➀ Getting Started

If you want contribute on this project, first you need to make a git clone:

git clone --depth 1 https://github.com/ci-monk/loli.git -b main

This will give you access to the code on your local machine.

➀ Description

This CLI is intended to be a code lab and best practices for creating a project ready to receive community builds, while introducing the basics for creating a CLI tool in Go and the standardization of conventions for the development workflow.

➀ Install

with go:

go install github.com/ci-monk/loli/cmd/loli

# if you cannot install directly, try following command,
# then input install command again
go get -x -u github.com/ci-monk/loli/cmd/loli

with brew:

brew tap ci-monk/tools
brew install loli

or use a binary from releases.

➀ Usage

Get anime with a file

loli search file anime.jpg

Get anime with a link

loli search link https://anime.com/image.png

➀ Trace.moe

Example trace.moe response:

{
  "frameCount": 745506,
  "error": "",
  "result": [
    {
      "anilist": {
        "id": 99939,
        "idMal": 34658,
        "title": { "native": "ネコぱらOVA", "romaji": "Nekopara OVA", "english": null },
        "synonyms": ["Neko Para OVA"],
        "isAdult": false
      },
      "filename": "Nekopara - OVA (BD 1280x720 x264 AAC).mp4",
      "episode": null,
      "from": 97.75,
      "to": 98.92,
      "similarity": 0.9440424588727485,
      "video": "https://media.trace.moe/video/99939/Nekopara%20-%20OVA%20(BD%201280x720%20x264%20AAC).mp4?t=98.33500000000001&token=xxxxxxxxxxxxxx",
      "image": "https://media.trace.moe/image/99939/Nekopara%20-%20OVA%20(BD%201280x720%20x264%20AAC).mp4?t=98.33500000000001&token=xxxxxxxxxxxxxx"
    }
  ]
}

➀ Demo

Screen.Recording.2022-09-27.at.14.20.53.mov

➀ Links

➀ Versioning

To check the change history, please access the CHANGELOG.md file.

➀ Show your support

Give me a ⭐️ if you like this project!

gif-footer

Made with πŸ’œ by me πŸ‘‹ inspired on readme-md-generator