{"id":48842511,"url":"https://github.com/golusoris/goenvoy","last_synced_at":"2026-04-15T03:01:18.579Z","repository":{"id":347865665,"uuid":"1195542658","full_name":"golusoris/goenvoy","owner":"golusoris","description":"Go client libraries for media automation, metadata, and download APIs — 62 zero-dependency modules","archived":false,"fork":false,"pushed_at":"2026-04-12T20:32:44.000Z","size":768,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-13T16:10:05.472Z","etag":null,"topics":["api-client","arr","go","golang","jellyfin","media-automation","media-server","metadata","plex","radarr","sonarr","tmdb","torrent","usenet"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/lusoris/goenvoy","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/golusoris.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"ko_fi":"lusoris","github":["lusoris"]}},"created_at":"2026-03-29T19:36:43.000Z","updated_at":"2026-04-13T13:30:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/golusoris/goenvoy","commit_stats":null,"previous_names":["lusoris/goenvoy","golusoris/goenvoy"],"tags_count":195,"template":false,"template_full_name":null,"purl":"pkg:github/golusoris/goenvoy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golusoris%2Fgoenvoy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golusoris%2Fgoenvoy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golusoris%2Fgoenvoy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golusoris%2Fgoenvoy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/golusoris","download_url":"https://codeload.github.com/golusoris/goenvoy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golusoris%2Fgoenvoy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31824118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"online","status_checked_at":"2026-04-15T02:00:06.175Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","arr","go","golang","jellyfin","media-automation","media-server","metadata","plex","radarr","sonarr","tmdb","torrent","usenet"],"created_at":"2026-04-15T03:01:08.730Z","updated_at":"2026-04-15T03:01:18.559Z","avatar_url":"https://github.com/golusoris.png","language":"Go","funding_links":["https://ko-fi.com/lusoris","https://github.com/sponsors/lusoris"],"categories":[],"sub_categories":[],"readme":"# goenvoy\n\n[![CI](https://github.com/golusoris/goenvoy/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/golusoris/goenvoy/actions/workflows/ci.yml)\n[![CodeQL](https://github.com/golusoris/goenvoy/actions/workflows/codeql.yml/badge.svg)](https://github.com/golusoris/goenvoy/actions/workflows/codeql.yml)\n[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/golusoris/goenvoy/badge)](https://scorecard.dev/viewer/?uri=github.com/golusoris/goenvoy)\n[![Go Reference](https://pkg.go.dev/badge/github.com/golusoris/goenvoy/arr/v2.svg)](https://pkg.go.dev/github.com/golusoris/goenvoy/arr/v2)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![Go Version](https://img.shields.io/badge/Go-1.26+-00ADD8?logo=go\u0026logoColor=white)](https://go.dev)\n[![ko-fi](https://img.shields.io/badge/ko--fi-support-FF5E5B?logo=ko-fi\u0026logoColor=white)](https://ko-fi.com/lusoris)\n\nA collection of Go client libraries for media automation, metadata, and download service APIs — **69 modules** covering 63+ services.\n\nDesigned as a **multi-module monorepo** — import only what you need, from a single library to an entire category.\n\n## Features\n\n- **Pure stdlib** — zero external dependencies, just `net/http` and `encoding/json`\n- **Context-aware** — every method takes `context.Context` for cancellation and timeouts\n- **Functional options** — `WithHTTPClient`, `WithTimeout`, `WithHeader` and service-specific options\n- **Type-safe errors** — each module defines an `APIError` with status code, message, and body\n- **OAuth2 support** — device code, authorization code, PKCE, and refresh flows where applicable\n- **Thoroughly tested** — httptest-based tests, race detector enabled, no live API calls\n\n## Categories\n\n| Category | Module | Services |\n|---|---|---|\n| **Arr Stack** | `github.com/golusoris/goenvoy/arr` | Sonarr, Radarr, Lidarr, Readarr, Whisparr (v2+v3), Prowlarr, Bazarr, Seerr, Autobrr, Mylar3, FlareSolverr, Jackett, NZBHydra2 |\n| **Metadata** | `github.com/golusoris/goenvoy/metadata` | TMDb, TheTVDB, Fanart.tv, OMDb, TVmaze, Letterboxd, AniList, Kitsu, AniDB, MAL, Trakt, Simkl, MusicBrainz, StashBox, TPDB, OpenSubtitles, Last.fm, Discogs, TheAudioDB, Open Library, Google Books, Spotify, Deezer, ListenBrainz, IGDB, RAWG, Steam, MobyGames, SteamGridDB, RetroAchievements, ScreenScraper, Hasheous, LaunchBox |\n| **Download Clients** | `github.com/golusoris/goenvoy/downloadclient` | qBittorrent, Transmission, Deluge, rTorrent, SABnzbd, NZBGet |\n| **Media Servers** | `github.com/golusoris/goenvoy/mediaserver` | Plex, Jellyfin, Emby, Tautulli, Audiobookshelf, Komga, Navidrome, Kavita, Stash, Tdarr |\n| **Anime** | `github.com/golusoris/goenvoy/anime` | Shoko Server |\n\n## Install\n\nImport a specific service library:\n\n```go\ngo get github.com/golusoris/goenvoy/arr/sonarr\n```\n\nOr import shared category types:\n\n```go\ngo get github.com/golusoris/goenvoy/arr\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n    \"context\"\n    \"fmt\"\n    \"log\"\n\n    \"github.com/golusoris/goenvoy/arr/sonarr\"\n)\n\nfunc main() {\n    client, err := sonarr.New(\"http://localhost:8989\", \"your-api-key\")\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    ctx := context.Background()\n\n    // Get system status\n    status, err := client.GetSystemStatus(ctx)\n    if err != nil {\n        log.Fatal(err)\n    }\n    fmt.Printf(\"%s version %s\\n\", status.AppName, status.Version)\n\n    // Get all series\n    series, err := client.GetAllSeries(ctx)\n    if err != nil {\n        log.Fatal(err)\n    }\n    fmt.Printf(\"Total series: %d\\n\", len(series))\n}\n```\n\nEach service module follows the same pattern: `New(baseURL, apiKey) → typed methods with context`.\n\n## Structure\n\nEach category has a base module with shared types, plus sub-modules for individual services:\n\n```\ngoenvoy/\n├── arr/              # shared *arr types + base client\n│   ├── sonarr/       # Sonarr v3 client\n│   ├── radarr/       # Radarr v3 client\n│   ├── lidarr/       # Lidarr client\n│   ├── readarr/      # Readarr client\n│   ├── whisparr/     # Whisparr v2 + v3 (Eros) client\n│   ├── prowlarr/     # Prowlarr client\n│   ├── bazarr/       # Bazarr client\n│   ├── seerr/        # Seerr client\n│   ├── autobrr/      # Autobrr client\n│   ├── mylar/        # Mylar3 client\n│   ├── flaresolverr/ # FlareSolverr client\n│   ├── jackett/      # Jackett client\n│   └── nzbhydra/     # NZBHydra2 client\n├── metadata/         # shared metadata types (Rating, Image, Person, ...)\n│   ├── video/        # TMDb, TheTVDB, Fanart.tv, OMDb, TVmaze, Letterboxd, OpenSubtitles\n│   ├── anime/        # AniList, Kitsu, AniDB, MAL\n│   ├── music/        # MusicBrainz, Last.fm, Discogs, TheAudioDB, Spotify, Deezer, ListenBrainz\n│   ├── tracking/     # Trakt, Simkl\n│   ├── adult/        # StashBox, TPDB\n│   ├── book/         # Google Books, Open Library\n│   └── game/         # IGDB, RAWG, Steam, MobyGames, SteamGridDB, RetroAchievements, ScreenScraper, Hasheous, LaunchBox\n├── downloadclient/   # shared download types + Downloader interface\n│   ├── qbit/         # qBittorrent WebUI client\n│   ├── transmission/ # Transmission RPC client\n│   ├── deluge/       # Deluge JSON-RPC client\n│   ├── rtorrent/     # rTorrent XMLRPC client\n│   ├── sabnzbd/      # SABnzbd client\n│   └── nzbget/       # NZBGet JSON-RPC client\n├── mediaserver/      # shared media server types\n│   ├── plex/         # Plex Media Server client\n│   ├── jellyfin/     # Jellyfin client\n│   ├── emby/         # Emby client\n│   ├── tautulli/     # Tautulli client\n│   ├── audiobookshelf/ # Audiobookshelf client\n│   ├── komga/        # Komga client\n│   ├── navidrome/    # Navidrome client\n│   ├── kavita/       # Kavita client\n│   ├── stash/        # StashApp GraphQL client\n│   └── tdarr/        # Tdarr client\n├── anime/            # shared anime types\n│   └── shoko/        # Shoko Server client\n```\n\n## Development\n\nRequires Go 1.26+. See [CONTRIBUTING.md](CONTRIBUTING.md) for full details.\n\n```bash\n# Set up workspace (local dev, links all 63 modules)\ngo work init \u0026\u0026 find . -name 'go.mod' -not -path './.workingdir/*' -exec dirname {} \\; | xargs go work use\n\n# Run all tests\nmake test-all\n\n# Lint all modules\nmake lint-all\n\n# Tidy all modules\nmake tidy-all\n\n# Format all modules\nmake fmt-all\n```\n\n## Standards\n\n- Pure stdlib (ADR-0001). `depguard` in CI enforces.\n- Per-module independent semver (ADR-0002). Tags: `\u003cpath\u003e/vX.Y.Z`.\n- Every release: cosign-signed checksums + SPDX SBOM + SLSA-L3 provenance.\n- Every merged commit: 0 lint / 0 gosec / 0 govulncheck / race-green across all modules.\n- [AGENTS.md](AGENTS.md) / [CLAUDE.md](CLAUDE.md) for agent-assisted development conventions.\n- `docs/adr/` for all architectural decisions (Nygard format).\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) and [SECURITY.md](SECURITY.md).\n\n## License\n\n[MIT](LICENSE)\n\n## Support\n\nIf goenvoy saves you time, a coffee helps ☕\n\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://ko-fi.com/lusoris\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://ko-fi.com/img/githubbutton_sm.svg\" alt=\"Support me on Ko-fi\" /\u003e\n  \u003c/a\u003e\n  \u0026nbsp;\u0026nbsp;\n  \u003ca href=\"https://github.com/sponsors/lusoris\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Sponsor-%E2%9D%A4-ea4aaa?style=for-the-badge\u0026logo=github\u0026logoColor=white\" alt=\"GitHub Sponsors\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolusoris%2Fgoenvoy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgolusoris%2Fgoenvoy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolusoris%2Fgoenvoy/lists"}