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: 2 months ago
JSON representation
📟 A pretty CLI to find animes passing images 👉😳👈
- Host: GitHub
- URL: https://github.com/lpsm-dev/loli
- Owner: lpsm-dev
- License: mit
- Created: 2021-01-23T15:24:20.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-16T23:01:27.000Z (3 months ago)
- Last Synced: 2025-04-30T00:13:01.673Z (2 months ago)
- Topics: anime, anime-cli, anime-fans, cli-application, cli-tool, cobra, cobra-cli, go-application, go-cli, golang, golang-application
- Language: Go
- Homepage:
- Size: 25.7 MB
- Stars: 21
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
**Loli CLI**
Hello Humans 👽! Loli is a pretty CLI that search animes passing images or links
[](https://www.conventionalcommits.org/en/v1.0.0/) [](https://semantic-release.gitbook.io/semantic-release/usage/configuration) [](https://jetpack.io/devbox/docs/contributor-quickstart/)
# Visão Geral
Este projeto é um **CLI** que busca animes a partir de imagens ou links. Ele utiliza a API do [trace.moe](https://soruly.github.io/trace.moe-api/#/) para realizar a busca.
# Como Instalar?
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
# Referências
Links relevantes para essa documentação:
- 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# Versionamento
Para verificar o histórico de mudanças, acesse o arquivo [**CHANGELOG.md**](CHANGELOG.md).
# Troubleshooting
Se você tiver algum problema ou queria contribuir, abra uma [issue](https://github.com/lpsm-dev/loli/issues/new/choose) nesse projeto.
# Show your support
Dê uma ⭐️ para este projeto se ele te ajudou!
Feito com 💜 pelo **Time de DevOps** :wave: inspirado no [readme-md-generator](https://github.com/kefranabg/readme-md-generator)