-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 56d9479
Showing
9 changed files
with
9,642 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SONARR_API_KEY= | ||
SONARR_URL= | ||
RADARR_API_KEY= | ||
RADARR_URL= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
repos | ||
*.env | ||
!.env.template |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Configarr | ||
|
||
Configuration and synchronization tool for Sonarr and Radarr. | ||
|
||
This will be a project similar to [Recyclarr](https://github.com/recyclarr/recyclarr) or [Notifiarr](https://notifiarr.wiki/) but support for additional specification and not only what [TrashGuides](https://trash-guides.info/) offer. | ||
|
||
This is in very early development and trial stage to see if this is something we want to offer or not. | ||
|
||
> :warning: **This is in very early development and trial stage to see if this is something we want to offer or not.** | ||
Possible ideas: | ||
- keep support for syncing trash guides | ||
- I like the possible configuration in recyclarr but I miss some features | ||
- add support for local configuration to include | ||
- I don't want to fork a project to add custom things to it | ||
- Maybe an free GUI to sync your stuff | ||
- Add additional best configuration for different languages/countries like Germany |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
const { generateApi, generateTemplates } = require("swagger-typescript-api"); | ||
const path = require("path"); | ||
const fs = require("fs"); | ||
|
||
const PATH_TO_OUTPUT_DIR = path.resolve(process.cwd(), "./src/__generated__"); | ||
|
||
/* NOTE: all fields are optional expect one of `input`, `url`, `spec` */ | ||
generateApi({ | ||
name: "MySuperbApi.ts", | ||
output: path.resolve(process.cwd(), "./src/__generated__"), | ||
url: "https://raw.githubusercontent.com/Sonarr/Sonarr/develop/src/Sonarr.Api.V3/openapi.json", | ||
httpClientType: "fetch", | ||
}) | ||
.then(({ files, configuration }) => { | ||
files.forEach(({ content, name }) => { | ||
fs.writeFile(path, content); | ||
}); | ||
}) | ||
.catch((e) => console.error(e)); | ||
|
||
// generateTemplates({ | ||
// cleanOutput: false, | ||
// output: PATH_TO_OUTPUT_DIR, | ||
// httpClientType: "fetch", | ||
// modular: false, | ||
// silent: false, | ||
// rewrite: false, | ||
// }); |
Oops, something went wrong.