An organizer for your porn, written in Go
Go to file
WithoutPants 5f690d96bd
Fix stash scraper errors and add apikey field (#5474)
* Use hasura/go-graphql-client instead of shurcooL version
* Fix graphql query errors
* Support setting api key for stash server
2024-11-13 10:14:55 +11:00
.github Lint fixes (#5476) 2024-11-13 09:47:29 +11:00
.idea Cut over to v2.5 UI (#433) 2020-04-03 08:46:23 +11:00
cmd Scan video orientation (#5189) 2024-09-03 16:33:15 +10:00
docker Upgrade gqlgenc and regenerate stash-box client (#5391) 2024-10-29 17:35:17 +11:00
docs Add package docs and project vision/goals (#5169) 2024-08-28 09:01:39 +10:00
graphql Markers can have end time (#5311) 2024-11-02 11:55:48 +11:00
internal Maintain saved filters in full export/import (#5465) 2024-11-12 16:59:28 +11:00
pkg Fix stash scraper errors and add apikey field (#5474) 2024-11-13 10:14:55 +11:00
scripts Improved/fixed macOS support (#4153) 2023-11-19 10:36:13 +11:00
ui Fix stash scraper errors and add apikey field (#5474) 2024-11-13 10:14:55 +11:00
.dockerignore Improve client-side graphql scalar types (#4511) 2024-02-07 09:49:32 +11:00
.gitattributes Refactor build (#493) 2020-04-29 12:13:08 +10:00
.gitignore Scraper and plugin manager (#4242) 2023-11-22 10:01:11 +11:00
.golangci.yml lint: switch exportloopref to copyloopvar per warning message (#5212) 2024-09-04 16:05:44 +10:00
.gqlgenc.yml Fix submission of scene drafts without performers (#2515) 2022-04-18 10:43:27 +10:00
.mockery.yml Model refactor (#3915) 2023-09-01 10:39:29 +10:00
LICENSE Add LICENSE until we get all signers on the switch (#297) 2020-01-20 22:18:12 -05:00
Makefile Fix validate-ui-quick to only run required checks 2024-07-04 11:11:26 +10:00
README.md Update README.md (#5309) 2024-09-30 15:39:57 +10:00
go.mod Fix stash scraper errors and add apikey field (#5474) 2024-11-13 10:14:55 +11:00
go.sum Fix stash scraper errors and add apikey field (#5474) 2024-11-13 10:14:55 +11:00
gqlgen.yml Add updated_at field to stash_id's (#5259) 2024-10-31 15:56:16 +11:00
tools.go Update go dependencies (#3480) 2023-02-28 08:26:14 +11:00

README.md

Stash

Build Docker pulls GitHub Sponsors Open Collective backers Go Report Card Matrix Discord GitHub release (latest by date) GitHub issues by-label

Stash is a self-hosted webapp written in Go which organizes and serves your porn.

demo image

  • Stash gathers information about videos in your collection from the internet, and is extensible through the use of community-built plugins for a large number of content producers and sites.
  • Stash supports a wide variety of both video and image formats.
  • You can tag videos and find them later.
  • Stash provides statistics about performers, tags, studios and more.

You can watch a SFW demo video to see it in action.

For further information you can consult the documentation or read the in-app manual.

Installing Stash

Windows Users:

As of version 0.27.0, Stash doesn't support anymore Windows 7, 8, Server 2008 and Server 2012.
Windows 10 or Server 2016 are at least required.

Windows macOS Linux Docker
Latest Release
Development Preview
Latest Release
Development Preview
Latest Release (amd64)
Development Preview (amd64)
More Architectures...
Instructions
Sample docker-compose.yml

Download links for other platforms and architectures are available on the Releases page.

First Run

Windows/macOS Users: Security Prompt

On Windows or macOS, running the app might present a security prompt since the binary isn't yet signed.

On Windows, bypass this by clicking "more info" and then the "run anyway" button. On macOS, Control+Click the app, click "Open", and then "Open" again.

FFmpeg

Stash requires FFmpeg. If you don't have it installed, Stash will download a copy for you. It is recommended that Linux users install ffmpeg from their distro's package manager.

Usage

Quickstart Guide

Stash is a web-based application. Once the application is running, the interface is available (by default) from http://localhost:9999.

On first run, Stash will prompt you for some configuration options and media directories to index, called "Scanning" in Stash. After scanning, your media will be available for browsing, curating, editing, and tagging.

Stash can pull metadata (performers, tags, descriptions, studios, and more) directly from many sites through the use of scrapers, which integrate directly into Stash. Identifying an entire collection will typically require a mix of multiple sources:

  • The project maintains StashDB, a crowd-sourced repository of scene, studio, and performer information. Connecting it to Stash will allow you to automatically identify much of a typical media collection. It runs on our stash-box software and is primarily focused on mainstream digital scenes and studios. Instructions, invite codes, and more can be found in this guide to Accessing StashDB.
  • Several community-managed stash-box databases can also be connected to Stash in a similar manner. Each one serves a slightly different niche and follows their own methodology. A rundown of each stash-box, their differences, and the information you need to sign up can be found in this guide to Accessing Stash-Boxes.
  • Many community-maintained scrapers can also be downloaded, installed, and updated from within Stash, allowing you to pull data from a wide range of other websites and databases. They can be found by navigating to Settings -> Metadata Providers -> Available Scrapers -> Community (stable). These can be trickier to use than a stash-box because every scraper works a little differently. For more information, please visit the CommunityScrapers repository.
  • All of the above methods of scraping data into Stash are also covered in more detail in our Guide to Scraping.

StashDB is the canonical instance of our open source metadata API, stash-box.

Translation

Translate

Stash is available in 32 languages (so far!) and it could be in your language too. We use Weblate to coordinate community translations. If you want to help us translate Stash into your language, you can make an account at Codeberg's Weblate to get started contributing new languages or improving existing ones. Thanks!

Translation status

Support (FAQ)

Check out our documentation on Stash-Docs for information about the software, questions, guides, add-ons and more.

For more help you can:

Customization

Themes and CSS Customization

There is a directory of community-created themes on Stash-Docs, along with instructions on how to install them.

You can also change the Stash interface to fit your desired style with various snippets from Custom CSS snippets.

For Developers

Pull requests are welcome!

See Development and Contributing for information on working with the codebase, getting a local development setup, and contributing changes.