goenvoy

module
v0.0.0-...-7f9c34b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: MIT

README ΒΆ

Release Go

CI

Security OpenSSF Scorecard OpenSSF Best Practices Codacy CodeRabbit

HISS-21 Power of 10 Conventional Commits

License

GitHub Sponsors Ko-fi

Pure-stdlib Go client libraries for media automation, metadata, and download APIs

69 modules covering 63+ services in a multi-module monorepo with zero external dependencies

goenvoy is a collection of Go client libraries for media automation, metadata, and download service APIs β€” 69 modules covering 63+ services. Designed as a multi-module monorepo, it allows importing only what you need, from a single library to an entire category, using only Go's standard library.

πŸ“– Principles Β· Architecture Decisions Β· Contributing


Why goenvoy

  • Pure stdlib β€” zero external dependencies, just net/http and encoding/json
  • Context-aware β€” every method takes context.Context for cancellation and timeouts
  • Functional options β€” WithHTTPClient, WithTimeout, WithHeader and service-specific options
  • Type-safe errors β€” each module defines an APIError with status code, message, and body
  • OAuth2 support β€” device code, authorization code, PKCE, and refresh flows where applicable
  • Thoroughly tested β€” httptest-based tests, race detector enabled, no live API calls

Get started

Install

Import a specific service library:

go get github.com/golusoris/goenvoy/arr/sonarr

Or import shared category types:

go get github.com/golusoris/goenvoy/arr

Usage

package main

import (
    "context"
    "fmt"
    "log"

    "github.com/golusoris/goenvoy/arr/sonarr"
)

func main() {
    client, err := sonarr.New("http://localhost:8989", "your-api-key")
    if err != nil {
        log.Fatal(err)
    }

    ctx := context.Background()

    // Get system status
    status, err := client.GetSystemStatus(ctx)
    if err != nil {
        log.Fatal(err)
    }
    fmt.Printf("%s version %s\n", status.AppName, status.Version)

    // Get all series
    series, err := client.GetAllSeries(ctx)
    if err != nil {
        log.Fatal(err)
    }
    fmt.Printf("Total series: %d\n", len(series))
}

Each service module follows the same pattern: New(baseURL, apiKey) β†’ typed methods with context.

At a glance

Categories

Category Module Services
Arr Stack github.com/golusoris/goenvoy/arr Sonarr, Radarr, Lidarr, Readarr, Whisparr (v2+v3), Prowlarr, Bazarr, Seerr, Autobrr, Mylar3, Jackett, NZBHydra2
Metadata github.com/golusoris/goenvoy/metadata TMDb, TheTVDB, Fanart.tv, OMDb, TVmaze, AniList, Kitsu, AniDB, MAL, Trakt, Simkl, Letterboxd, ListenBrainz, MusicBrainz, StashBox, TPDB, OpenSubtitles, Last.fm, Discogs, TheAudioDB, Open Library, Google Books, Spotify, Deezer, IGDB, RAWG, Steam, MobyGames, SteamGridDB, RetroAchievements, ScreenScraper, Hasheous, LaunchBox
Download Clients github.com/golusoris/goenvoy/downloadclient qBittorrent, Transmission, Deluge, rTorrent, SABnzbd, NZBGet
Media Servers github.com/golusoris/goenvoy/mediaserver Plex, Jellyfin, Emby, Tautulli, Audiobookshelf, Komga, Navidrome, Kavita, Stash, Tdarr
Tools github.com/golusoris/goenvoy/tools FlareSolverr
Anime github.com/golusoris/goenvoy/anime Shoko Server

Structure

Each category has a base module with shared types, plus sub-modules for individual services:

goenvoy/
β”œβ”€β”€ arr/              # shared *arr types + base client
β”‚   β”œβ”€β”€ sonarr/       # Sonarr v3 client
β”‚   β”œβ”€β”€ radarr/       # Radarr v3 client
β”‚   β”œβ”€β”€ lidarr/       # Lidarr client
β”‚   β”œβ”€β”€ readarr/      # Readarr client
β”‚   β”œβ”€β”€ whisparr/     # Whisparr v2 + v3 (Eros) client
β”‚   β”œβ”€β”€ prowlarr/     # Prowlarr client
β”‚   β”œβ”€β”€ bazarr/       # Bazarr client
β”‚   β”œβ”€β”€ seerr/        # Seerr client
β”‚   β”œβ”€β”€ autobrr/      # Autobrr client
β”‚   β”œβ”€β”€ cleanuparr/   # Cleanuparr client
β”‚   β”œβ”€β”€ mylar/        # Mylar3 client
β”‚   β”œβ”€β”€ jackett/      # Jackett client
β”‚   └── nzbhydra/     # NZBHydra2 client
β”œβ”€β”€ tools/            # adjacent automation utilities
β”‚   └── flaresolverr/ # FlareSolverr Cloudflare-bypass client
β”œβ”€β”€ metadata/         # shared metadata types (Rating, Image, Person, ...)
β”‚   β”œβ”€β”€ video/        # TMDb, TheTVDB, Fanart.tv, OMDb, TVmaze, OpenSubtitles
β”‚   β”œβ”€β”€ anime/        # AniList, Kitsu, AniDB, MAL
β”‚   β”œβ”€β”€ music/        # MusicBrainz, Last.fm, Discogs, TheAudioDB, Spotify, Deezer
β”‚   β”œβ”€β”€ tracking/     # Trakt, Simkl, Letterboxd, ListenBrainz
β”‚   β”œβ”€β”€ adult/        # StashBox, TPDB
β”‚   β”œβ”€β”€ book/         # Google Books, Open Library
β”‚   └── game/         # IGDB, RAWG, Steam, MobyGames, SteamGridDB, RetroAchievements, ScreenScraper, Hasheous, LaunchBox
β”œβ”€β”€ downloadclient/   # shared download types + Downloader interface
β”‚   β”œβ”€β”€ qbit/         # qBittorrent WebUI client
β”‚   β”œβ”€β”€ transmission/ # Transmission RPC client
β”‚   β”œβ”€β”€ deluge/       # Deluge JSON-RPC client
β”‚   β”œβ”€β”€ rtorrent/     # rTorrent XMLRPC client
β”‚   β”œβ”€β”€ sabnzbd/      # SABnzbd client
β”‚   β”œβ”€β”€ nzbget/       # NZBGet JSON-RPC client
β”‚   └── queue/        # Unified read-only queue snapshot
β”œβ”€β”€ mediaserver/      # shared media server types
β”‚   β”œβ”€β”€ plex/         # Plex Media Server client
β”‚   β”œβ”€β”€ jellyfin/     # Jellyfin client
β”‚   β”œβ”€β”€ emby/         # Emby client
β”‚   β”œβ”€β”€ tautulli/     # Tautulli client
β”‚   β”œβ”€β”€ audiobookshelf/ # Audiobookshelf client
β”‚   β”œβ”€β”€ komga/        # Komga client
β”‚   β”œβ”€β”€ navidrome/    # Navidrome client
β”‚   β”œβ”€β”€ kavita/       # Kavita client
β”‚   β”œβ”€β”€ stash/        # StashApp GraphQL client
β”‚   └── tdarr/        # Tdarr client
β”œβ”€β”€ anime/            # shared anime types
β”‚   └── shoko/        # Shoko Server client

Contribute

Requires Go 1.26+. See CONTRIBUTING.md for full details.

# Set up workspace (local dev, links all 63 modules)
go work init && find . -name 'go.mod' -not -path './.workingdir/*' -exec dirname {} \; | xargs go work use

# Run all tests
make test-all

# Lint all modules
make lint-all

# Tidy all modules
make tidy-all

# Format all modules
make fmt-all

Support

If goenvoy saves you time, a coffee helps β˜•

Support me on Ko-fi Β Β  GitHub Sponsors

Upstream and licence

MIT

Standards & Governance

  • Pure stdlib (ADR-0001). depguard in CI enforces.
  • Per-module independent semver (ADR-0002). Tags: <path>/vX.Y.Z.
  • Every release: cosign-signed checksums + SPDX SBOM + SLSA-L3 provenance.
  • Every merged commit: 0 lint / 0 gosec / 0 govulncheck / race-green across all modules.
  • AGENTS.md / CLAUDE.md for agent-assisted development conventions.
  • docs/adr/ for all architectural decisions (Nygard format).

See CONTRIBUTING.md and SECURITY.md.

Documentation Governance

Praetor manages this repository's declared governance policy. This managed block records adoption state; it is not a verification certificate.

Verification: make verify-all runs the repository's configured verification cascade.

HISS Audit: praetorctl audit enforces policy, generated-surface integrity, and the debt ratchet.

Context Sync: praetorctl compile-context --verify verifies every generated agent context against AGENTS.md.

Documentation: make docs-lint enforces locked Markdown style and the private scratch-link policy.

Debt Baseline: .standards-baseline.json anchors the debt ratchet at 5 recorded infractions; audit forbids growth.

Directories ΒΆ

Path Synopsis
anime module
arr module
bazarr module
cleanuparr module
jackett module
lidarr module
prowlarr module
radarr module
readarr module
seerr module
sonarr module
whisparr module
deluge module
nzbget module
qbit module
queue module
rtorrent module
sabnzbd module
transmission module
mediaserver module
emby module
jellyfin module
plex module
stash module
tautulli module
metadata module
adult/tpdb module
anime/anidb module
anime/anilist module
anime/kitsu module
anime/mal module
game module
game/hasheous module
game/igdb module
game/rawg module
game/steam module
music/deezer module
music/discogs module
music/lastfm module
music/spotify module
video/fanart module
video/omdb module
video/tmdb module
video/tvdb module
video/tvmaze module
tools
apicompat/gate command
Command gate is the Go API compatibility gate of the api:public-contract facet.
Command gate is the Go API compatibility gate of the api:public-contract facet.
secrets/gate command
Command gate is the standalone secrets history gate.
Command gate is the standalone secrets history gate.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL