tsarr 2.4.6 → 2.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,9 +8,17 @@
8
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)
9
9
  [![CI](https://github.com/robbeverhelst/Tsarr/workflows/CI/badge.svg)](https://github.com/robbeverhelst/Tsarr/actions)
10
10
 
11
- **Type-safe TypeScript SDK and CLI for Servarr APIs (Radarr, Sonarr, etc.)**
11
+ **A Radarr CLI, Sonarr CLI, and type-safe TypeScript SDK for the entire Servarr ecosystem.**
12
12
 
13
- Tsarr provides type-safe TypeScript clients and a CLI for all Servarr APIs, generated from their Swagger/OpenAPI specifications. Use it as an SDK in your code or as a standalone CLI tool.
13
+ Tsarr is a unified command-line tool and TypeScript SDK for managing Radarr, Sonarr, Lidarr, Readarr, Prowlarr, and Bazarr. Auto-generated from official OpenAPI specs, it gives you type-safe API clients and a powerful CLI to manage your entire *arr media stack from code or the terminal.
14
+
15
+ ## Why Tsarr?
16
+
17
+ - **The only type-safe TypeScript client** for all Servarr apps in one package
18
+ - **Always up-to-date** — generated from official Swagger/OpenAPI specs, not manually maintained
19
+ - **CLI + SDK** — use it as a standalone Radarr/Sonarr CLI tool or import it as a library in your code
20
+ - **Zero dependencies for binaries** — standalone binaries for every platform, or run via Node.js/Bun
21
+ - **Built for automation** — JSON output, scripting-friendly, perfect for cron jobs and CI/CD pipelines
14
22
 
15
23
  ## Features
16
24
 
@@ -109,7 +117,15 @@ yay -S tsarr-bin
109
117
 
110
118
  ### Nix
111
119
 
112
- Nix packaging is prepared under [`packaging/nix/flake.nix`](./packaging/nix/flake.nix), but shared distribution still requires a maintainer submission. See [docs/distribution.md](./docs/distribution.md) for the setup and submission flow.
120
+ Install the repo flake directly:
121
+
122
+ ```bash
123
+ nix profile install github:robbeverhelst/tsarr?dir=packaging/nix
124
+ # or run it without installing
125
+ nix run github:robbeverhelst/tsarr?dir=packaging/nix -- doctor
126
+ ```
127
+
128
+ The committed flake under [`packaging/nix/flake.nix`](./packaging/nix/flake.nix) tracks the latest published release. Shared `nixpkgs` distribution still requires a maintainer submission. See [docs/distribution.md](./docs/distribution.md) for the full distribution flow.
113
129
 
114
130
  ## CLI
115
131
 
@@ -238,6 +254,19 @@ Perfect for building:
238
254
  - **Integration scripts** - Connect Servarr apps with other services and workflows
239
255
  - **CLI usage** - Manage your media servers directly from the terminal
240
256
 
257
+ ## Alternatives
258
+
259
+ Looking for a Radarr CLI or Sonarr API client? Here's how Tsarr compares:
260
+
261
+ | Feature | Tsarr | Manual API calls |
262
+ |---------|-------|-----------------|
263
+ | Type safety | ✅ Full TypeScript types | ❌ None |
264
+ | All *arr apps | ✅ 6 apps in one package | ⚠️ DIY per app |
265
+ | CLI included | ✅ Built-in | ❌ No |
266
+ | Auto-generated | ✅ From official specs | ❌ Manual |
267
+ | Runtime | Node.js / Bun / standalone | curl |
268
+ | Package managers | npm, Homebrew, Docker, AUR, Nix, Scoop | N/A |
269
+
241
270
  ## Contributing
242
271
 
243
272
  This project uses:
@@ -249,3 +278,7 @@ This project uses:
249
278
  ## License
250
279
 
251
280
  MIT - see [LICENSE](LICENSE) file for details.
281
+
282
+ ---
283
+
284
+ <sub>**Search terms:** radarr cli · sonarr cli · lidarr cli · readarr cli · prowlarr cli · bazarr cli · servarr api client · arr typescript · selfhosted media automation</sub>
package/dist/cli/index.js CHANGED
@@ -18854,7 +18854,7 @@ init_dist();
18854
18854
  // package.json
18855
18855
  var package_default = {
18856
18856
  name: "tsarr",
18857
- version: "2.4.6",
18857
+ version: "2.4.8",
18858
18858
  author: "Robbe Verhelst",
18859
18859
  repository: {
18860
18860
  type: "git",
@@ -18966,6 +18966,7 @@ var package_default = {
18966
18966
  format: "biome format . --write",
18967
18967
  typecheck: "tsc --noEmit",
18968
18968
  generate: "bun run scripts/generate.ts",
18969
+ "refresh:specs": "bun run scripts/refresh-specs.ts",
18969
18970
  "generate:types": "bun run scripts/generate-type-exports.ts",
18970
18971
  "generate:radarr": "bun run scripts/generate-radarr.ts",
18971
18972
  "generate:sonarr": "bun run scripts/generate-sonarr.ts",
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsarr",
3
- "version": "2.4.6",
3
+ "version": "2.4.8",
4
4
  "author": "Robbe Verhelst",
5
5
  "repository": {
6
6
  "type": "git",
@@ -112,6 +112,7 @@
112
112
  "format": "biome format . --write",
113
113
  "typecheck": "tsc --noEmit",
114
114
  "generate": "bun run scripts/generate.ts",
115
+ "refresh:specs": "bun run scripts/refresh-specs.ts",
115
116
  "generate:types": "bun run scripts/generate-type-exports.ts",
116
117
  "generate:radarr": "bun run scripts/generate-radarr.ts",
117
118
  "generate:sonarr": "bun run scripts/generate-sonarr.ts",
@@ -1,2 +0,0 @@
1
- export * from '../generated/radarr/index.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/radarr/index.ts"],"names":[],"mappings":"AACA,cAAc,8BAA8B,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from '../generated/sonarr/index.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sonarr/index.ts"],"names":[],"mappings":"AACA,cAAc,8BAA8B,CAAC"}
Binary file