MCPcopy Index your code
hub / github.com/alvarorichard/GoAnime

github.com/alvarorichard/GoAnime @v1.8.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.8.5 ↗ · + Follow
2,450 symbols 10,525 edges 211 files 1,282 documented · 52%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Рortuguês | English

Imagem logo do GoAnime

<a href="https://github.com/alvarorichard/GoAnime/raw/v1.8.5/alvarorichard/GoAnime/blob/master/LICENSE"><img src="https://img.shields.io/github/license/alvarorichard/GoAnime" alt="GitHub license"></a>
<img src="https://img.shields.io/github/stars/alvarorichard/GoAnime" alt="GitHub stars">
<img src="https://img.shields.io/github/last-commit/alvarorichard/GoAnime" alt="GitHub last commit">
<img src="https://img.shields.io/github/forks/alvarorichard/GoAnime?style=social" alt="GitHub forks">
<a href="https://github.com/alvarorichard/GoAnime/actions"><img src="https://github.com/alvarorichard/GoAnime/actions/workflows/ci.yml/badge.svg" alt="Build Status"></a>
<img src="https://img.shields.io/github/contributors/alvarorichard/GoAnime" alt="GitHub contributors">
<a href="https://discord.gg/FbQuf78D9G"><img src="https://img.shields.io/badge/Discord-Comunidade-7289DA?logo=discord&logoColor=white" alt="Discord"></a>

GoAnime

O GoAnime é uma interface de usuário baseada em texto (TUI) simples, desenvolvida em Go, que permite aos usuários procurar animes e reproduzir ou baixar episódios diretamente no mpv. Ele coleta dados de sites para oferecer conteúdo legendado e dublado em inglês e português.

Índice

  1. Recursos
  2. Pré-requisitos
  3. Instalação
  4. Como usar
  5. Uso avançado
  6. Comunidade e mobile
  7. Contribuindo

Recursos

  • Busca de animes, filmes e séries por nome
  • Pesquisa simultânea em todas as fontes ativas por padrão
  • Suporte a conteúdo legendado e dublado em inglês e português
  • Reprodução online com qualidade selecionável (1080p, 720p, etc.)
  • Download único ou em lote de múltiplos episódios
  • Integração com Discord RPC
  • Rastreamento de progresso (retomar reprodução e salvar histórico no SQLite)

  • Upscaling integrado (Anime4K) para melhorar a qualidade de vídeo

Pré-requisitos

Para que o GoAnime funcione corretamente, instale: * mpv (Reprodutor de mídia atualizado)

Instalação

Escolha o método mais adequado para o seu sistema operacional.

Instalação universal

Se você já possui o Go instalado, pode obter a versão mais recente diretamente:

go install github.com/alvarorichard/Goanime/cmd/goanime@latest

macOS

Primeiro, instale o mpv usando o Homebrew. Depois instale o GoAnime:

brew install mpv

curl -Lo goanime https://github.com/alvarorichard/GoAnime/releases/latest/download/goanime-apple-darwin
chmod +x goanime
sudo mv goanime /usr/local/bin/

sudo xattr -d com.apple.quarantine /usr/local/bin/goanime

Linux

Debian / Ubuntu (e derivados)

sudo apt update
sudo apt install mpv -y

curl -LO https://github.com/alvarorichard/Goanime/releases/latest/download/goanime-linux-amd64.tar.gz
tar -xzf goanime-linux-amd64.tar.gz
chmod +x goanime-linux-amd64
sudo mv goanime-linux-amd64 /usr/local/bin/goanime

Arch Linux / Manjaro (AUR)

yay -S goanime

Fedora

sudo dnf update
sudo dnf install mpv

curl -LO https://github.com/alvarorichard/Goanime/releases/latest/download/goanime-linux-amd64.tar.gz
tar -xzf goanime-linux-amd64.tar.gz
chmod +x goanime-linux-amd64
sudo mv goanime-linux-amd64 /usr/local/bin/goanime

Windows

Recomendado: Use o aplicativo de instalação para uma melhor experiência.

  1. Baixe e execute o Instalador do Windows.
  2. Lembre-se também de instalar o mpv e adicioná-lo ao PATH do seu sistema.

Como usar

Siga estes passos recomendados para um uso simples e interativo:

  1. Abra o terminal.
  2. Inicie o aplicativo: Digite goanime e aperte Enter.
  3. Pesquise: Escreva o nome do anime que deseja assistir.
  4. Selecione: Navegue pela lista de resultados com as setas do seu teclado e aperte Enter para prosseguir.
  5. Assista: Escolha o episódio, defina a qualidade e o vídeo será executado imediatamente no reprodutor mpv.

Uso avançado

Busca direta

Para pesquisar direto da linha de comando, informe um título:

goanime "Naruto"

Atualizando

Atualize o GoAnime com frequência para receber as novidades:

goanime --update

Menu de ajuda

goanime -h

Comunidade e mobile

Entre no nosso Discord para suporte, feedback e trocar ideias: Servidor do Discord

Uma versão mobile do GoAnime está disponível para dispositivos Android: GoAnime Mobile

Contribuindo

Contribuições são sempre bem-vindas. Antes de iniciar qualquer trabalho, certifique-se de ler o nosso Guia de desenvolvimento.

Início rápido: 1. Faça o fork do projeto. 2. Crie sua branch a partir de dev (git checkout -b feature/foo). 3. Padronize o código usando go fmt. 4. Realize commits no formato Conventional Commits. 5. Faça o push no github. 6. Abra um pull request apontando para a branch dev.

Extension points exported contracts — how you extend this code

UnifiedScraper (Interface)
UnifiedScraper provides a common interface for all scrapers [6 implementers]
internal/scraper/unified.go
Provider (Interface)
Provider encapsulates the high-level logic for a media source. Implementations know how to extract parameters from model [5 …
internal/api/providers/provider.go
FuzzyFinder (Interface)
FuzzyFinder is an interface to abstract the fuzzyfinder interaction [1 implementers]
test/util/api_select_anime_test.go
ProgressCallback (FuncType)
ProgressCallback reports download progress. bytesWritten = cumulative bytes flushed to the output file (real disk size)
internal/downloader/hls/hls.go
EpisodeDataProvider (Interface)
EpisodeDataProvider defines an interface for fetching episode data from various sources [4 implementers]
internal/api/episode_providers.go
HTTPClient (Interface)
HTTPClient is the interface for HTTP requests, allowing test mocks. [1 implementers]
internal/api/providers/metadata/metadata.go
ProviderFactory (FuncType)
ProviderFactory creates a Provider given a ScraperManager. Registered via RegisterProvider during init().
internal/api/providers/registry.go

Core symbols most depended-on inside this repo

Error
called by 369
internal/player/download.go
Set
called by 299
internal/util/httpclient.go
Debugf
called by 255
internal/util/logger.go
Debug
called by 195
internal/util/logger.go
Error
called by 137
internal/scraper/source_diagnostic.go
Get
called by 108
internal/util/httpclient.go
Is
called by 98
internal/scraper/source_diagnostic.go
Do
called by 80
internal/api/providers/metadata/metadata.go

Shape

Function 1,904
Method 354
Struct 171
TypeAlias 11
FuncType 5
Interface 5

Languages

Go100%

Modules by API surface

internal/scraper/allanime_test.go128 symbols
internal/scraper/superflix_test.go87 symbols
internal/player/download_pure_test.go60 symbols
internal/player/player.go59 symbols
internal/player/playvideo_pure_test.go52 symbols
internal/scraper/unified.go47 symbols
internal/player/download.go47 symbols
internal/updater/updater_test.go41 symbols
internal/api/movie/tmdb_unit_test.go41 symbols
internal/scraper/allanime.go40 symbols
internal/util/util.go39 symbols
internal/downloader/downloader_test.go39 symbols

For agents

$ claude mcp add GoAnime \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page