An organizer for your porn, written in Go
open sourceAGPL-3.0-onlyself-hostablefree
Stash is a self-hosted web app, written in Go, that catalogues and serves a personal collection of adult video and image files (its README says it caters to SFW and NSFW content alike). It scans the folders you point it at into a SQLite library of scenes, images and galleries, which you tag and rate with performers, studios, groups and scene markers, and it fills in metadata from filenames, community-built scrapers for many sites, or stash-box databases such as the project's crowd-sourced StashDB, matched by file fingerprints. It streams to any browser with live transcoding through FFmpeg (with hardware encoding and HLS or DASH), runs a DLNA server, finds near-duplicate videos and has a GraphQL API and plugins in JavaScript or external programs. It runs on Windows, macOS, Linux and Docker, is free under AGPL-3.0 and is funded by donations.
Ways to install
On your own server
Problems it solves
- organize a large private collection of adult videos on my own server instead of loose folders
- tag my personal video collection by performer, studio and tag and find things again later
- fill in titles, performers and studios for downloaded scenes automatically instead of renaming files by hand
- identify unnamed video files by fingerprint against a shared metadata database
- browse my private media collection from my phone or tablet like a personal streaming site
- stream my video library to any browser even when the codec isn't supported, by transcoding on the fly
- find duplicate copies of the same video at different resolutions and delete the worse one
- bookmark and tag moments inside long videos and jump to them from the player
- organize image sets and zip archives of photos into galleries alongside my videos
- keep my adult media library private on my home network behind a password
- watch my personal video library on my TV through DLNA
- a self-hosted media organizer with a GraphQL API I can script against
- add custom tasks and UI tweaks to my media library app with plugins
- see statistics about the performers, studios and tags in my collection
- a private alternative to Plex for a collection I don't want in my main media server
- export my media library's metadata to JSON and import it again on another machine
- sync videos with a Handy device using funscript files
Features
- scans library folders into scenes, images and galleries, with .stashignore patterns
- performers, studios, tags, groups, ratings and scene markers
- galleries from folders and zip archives
- metadata scraping by fragment, search or URL with built-in and community scrapers
- stash-box integration (StashDB and community instances) with fingerprint matching and batch scene tagger
- Identify task that applies several scraping sources in order
- auto-tagging of performers, studios and tags from filenames
- perceptual-hash duplicate checker with four accuracy levels
- streams to the browser with live transcoding, hardware encoding and HLS or DASH
- video previews, sprites and captions in SRT or VTT
View 8 more
- DLNA server
- GraphQL API with an API key and a built-in GraphQL playground
- plugins (embedded JavaScript or external programs), UI plugins, custom CSS and themes
- JSON import and export of the library's metadata, and database backups
- optional username and password protection
- statistics about performers, tags and studios
- interactive device sync with The Handy using funscripts
- translations through Codeberg Translate
Limitations
- Doesn't run on Windows 7, 8, Server 2008 or 2012, or on macOS before 12 Monterey: it needs Windows 10 or Server 2016 and later, and older systems can use Docker3
Capabilities
| Has an API | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what Stash does.
