profilarr-trash-guides/README.md
2025-07-26 10:10:07 +03:00

29 lines
1.1 KiB
Markdown

# Unofficial TRaSH-Guides Database Repository
This repository hosts [TRaSH-Guides's](https://trash-guides.info/) unofficial database for Profilarr containing:
- Regex Patterns
- Custom Formats
- Quality Profiles
The goal of this repository is to generate a Profilarr database based on TRaSH-Guides configuration.
## Scripts
The repository a script to generate the specification based on the TRaSH-Guide data.
### Requirements
The scripts utilize UV for easy package management, ensure it's installed by following the [official instructions](https://github.com/astral-sh/uv?tab=readme-ov-file#installation).
Additionally it's expected that you have a local folder with a TRaSH-Guides clone containing the JSON data ([docs/json within the TRaSH-Guides repository](https://github.com/TRaSH-Guides/Guides/tree/master/docs/json)). The script does not pull any data.
### Running the script
Assuming you're in the root directory of the repository you can now run:
```
uv run scripts/generate.py /path/to/trash-guides/docs/json .
```
It will clear any potentially pre-existing output and generate new output based on the provided TRaSH-Guides folder.