Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lpsm-dev/loli

A pretty CLI to find animes passing images 👉😳👈
https://github.com/lpsm-dev/loli

anime anime-cli anime-fans cli-application cli-tool cobra cobra-cli go-application go-cli golang golang-application

Last synced: 8 days ago
JSON representation

A pretty CLI to find animes passing images 👉😳👈

Awesome Lists containing this project

README

        

gif-header

Loli CLI

[![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/ci-monk/loli)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](https://github.com/ci-monk/loli)

---

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**:

```bash
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`:

```bash
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`:

```bash
brew tap ci-monk/tools
brew install loli
```

or use a binary from [releases](https://github.com/ci-monk/loli/releases/latest).

## ➤ Usage

### Get anime with a file

```bash
loli search file anime.jpg
```

### Get anime with a link

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

## ➤ Trace.moe

Example trace.moe response:

```json
{
"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

https://user-images.githubusercontent.com/58797390/192595643-a27003a5-d0ba-4abf-b8bb-19f449398190.mov

## ➤ Links

- https://soruly.github.io/trace.moe-api/#/
- https://img.olhardigital.com.br/wp-content/uploads/2021/07/Naruto-Classico-e-Naruto-Shippuden-fillers.jpg
- https://images.plurk.com/32B15UXxymfSMwKGTObY5e.jpg

## ➤ Versioning

To check the change history, please access the [**CHANGELOG.md**](CHANGELOG.md) file.

## ➤ Show your support

Give me a ⭐️ if you like this project!

gif-footer

Made with 💜 by [me](https://github.com/ci-monk) :wave: inspired on [readme-md-generator](https://github.com/kefranabg/readme-md-generator)