Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stashapp/communityscripts
This is a public repository containing plugin and utility scripts created by the Stash Community.
https://github.com/stashapp/communityscripts
community-project css hacktoberfest javascript python
Last synced: 2 days ago
JSON representation
This is a public repository containing plugin and utility scripts created by the Stash Community.
- Host: GitHub
- URL: https://github.com/stashapp/communityscripts
- Owner: stashapp
- License: agpl-3.0
- Created: 2021-06-16T04:31:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T14:56:34.000Z (23 days ago)
- Last Synced: 2024-10-29T21:05:38.112Z (15 days ago)
- Topics: community-project, css, hacktoberfest, javascript, python
- Language: JavaScript
- Homepage: https://docs.stashapp.cc/add-ons/
- Size: 2.88 MB
- Stars: 188
- Watchers: 16
- Forks: 144
- Open Issues: 100
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CommunityScripts Repository
This repository contains plugin and utility scripts created by the Stash community and hosted on the official GitHub repo.
There is also [a list of third-party plugins in our documentation](https://docs.stashapp.cc/add-ons/third-party-integrations).
## Please note: V24 now uses an installer
# We recommend you use that to install (and update) plugins.
Manual installs are not recommended, and you shouldn't do so unless you otherwise know what you are doing.## How To Install
To download a plugin in Stash v24, the CommunityScripts repo source is automatically installed by default.This default source is located at https://stashapp.github.io/CommunityScripts/stable/index.yml
# Plugin, Themes, and Scripts Directory
We used to list all community supported plugins, themes, and scripts in this repository...
but with the changes in v24, ANY items installable by the plugin installer will no longer listed here.
Use the Plugin Installer built into Stash.We will continue to list the items NOT otherwise installable in this way below.
## NOTE: BREAKING CHANGES
The recent v24 release (and future development branches) had major breaking changes to old schema and plugin changes.
We're beginning to review plugins and the rest and patch them to work, but it's an ongoing process...We'll update the table below as we do this...
We will also be rearranging things a bit, and updating documentation (including this page)## Plugins will no longer be listed individually here...
Category|Triggers|Plugin Name|Description|Minimum Stash version|Updated for v24|
--------|-----------|-----------|-----------|---------------------|-----
Maintenance|Task
Scene.Update|[renamerOnUpdate](plugins/renamerOnUpdate)|Rename/Move your file based on Stash metadata.|v2.4|:white_check_mark: STOPGAP
Maintenance|Set Scene Cover|[setSceneCoverFromFile](plugins/setSceneCoverFromFile)|Searchs Stash for Scenes with a cover image in the same folder and sets the cover image in stash to that image|v0.7|:x:
Scenes|SceneMarker.Create
SceneMarker.Update|[markerTagToScene](plugins/markerTagToScene)|Adds primary tag of Scene Marker to the Scene on marker create/update.|v0.8 ([46bbede](https://github.com/stashapp/stash/commit/46bbede9a07144797d6f26cf414205b390ca88f9))|:x:
Scanning|Scene.Create
Gallery.Create
Image.Create|[defaultDataForPath](plugins/defaultDataForPath)|Adds configured Tags, Performers and/or Studio to all newly scanned Scenes, Images and Galleries..|v0.8|:x:
Scanning|Scene.Create
Gallery.Create|[filenameParser](plugins/filenameParser)|Tries to parse filenames, primarily in {studio}.{year}.{month}.{day}.{performer1firstname}.{performer1lastname}.{performer2}.{title} format, into the respective fields|v0.10|:x:
Scanning|Scene.Create|[pathParser](plugins/pathParser)|Updates scene info based on the file path.|v0.17|:x:
Scanning|Scene.Create|[titleFromFilename](plugins/titleFromFilename)|Sets the scene title to its filename|v0.17|:x:
Reporting||[TagGraph](plugins/tagGraph)|Creates a visual of the Tag relations.|v0.7|:x:## Themes
# A Variety of Themes are now available to be one click installed via the Plugin Setting page in your Stash
We welcome new themes, as well as patches to existing themes.## Utility Scripts
|Category|Name|Description|Updated for v24|
---------|---------------|-----------|----
StashDB |[StashDB Submission Helper](/userscripts/StashDB_Submission_Helper)|Adds handy functions for StashDB submissions like buttons to add aliases in bulk to a performer|:x:
Kodi|[Kodi Helper](scripts/kodi-helper)|Generates `nfo` and `strm` for use with Kodi.|v0.7|:x:## Contributing
### Formatting
Formatting is enforced on all files. Follow this setup guide:
1. **[Yarn](https://yarnpkg.com/en/docs/install)** and **its dependencies** must be installed to run the formatting tools.
```sh
yarn install --frozen-lockfile
```2. **Python dependencies** must also be installed to format `py` files.
```sh
pip install -r requirements.txt
```#### Formatting non-`py` files
```sh
yarn run format
```#### Formatting `py` files
`py` files are formatted using [`black`](https://pypi.org/project/black/).
```sh
yarn run format-py
```