App
stashapp / stash
An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
This connects Repowise to stashapp/stash's code. It does not install stash.
Repowise maps public repos from their source. Not affiliated with stashapp. What is Repowise?
github.com/stashapp/stashIndexed at d04ecc4
What is stash?
Stash is a self-hosted web app written in Go that organizes and serves your own collection of videos and images, including both SFW and NSFW content. It gathers information about videos from the internet through community-built plugins and scrapers, and lets you tag files and find them later. Its backend uses Go with a GraphQL API and SQLite, and its frontend uses React and TypeScript. Its code health is 6.3 out of 10 (Fair), ranked #203 of 4,000+ indexed repos. The last commit to stash was on Jun 2, 2026.
As of commit d04ecc4, indexed Jun 2, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.
For agentsstash.md
Repo facts: type, license, health, rank, contributors
| Type | App |
|---|---|
| License | AGPL-3.0 |
| Code health | 6.3 / 10 (Fair) |
| Health rank | #203 of 4,000+ indexed repos |
| Last commit | Jun 2, 2026 |
| Bus factor | 1 |
| Size | 1,561 files, 129,802 lines |
Explore stash
- DocumentationModule-by-module documentation, written from the source.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
Ask about this code in your agent
This connects Repowise to stash's code. It does not install stash.
Useful if you want to change or fork stash: your agent can ask how it is put together and get answers that cite its files.
Ask about stash
Answers come from stash's README and source, with the files they cite. Two free answers a day without an account.
Want this for your own codebase? Map your repo free
About this page
Get a page like this for your own codebase
Repowise built this map of stashapp/stash from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.
Free for 2 public repos, with a page like this one. No card. See how Repowise works
Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub
stashapp/stash FAQ
What is Stash?
Stash is a self-hosted web app that organizes and serves your collection of videos and images. It gathers information about videos from the internet and lets you tag files so you can find them later.
How does Stash work?
Stash indexes the media directories you choose during first-run setup, then shows them in a browsable library. Metadata such as performers, tags and studios is pulled in through scrapers and stash-box services.
What language is Stash written in?
Stash is written in Go for its backend. Its frontend is written in TypeScript with React.
How is the Stash code organized?
The ui directory holds the React and TypeScript frontend, and pkg holds most of the Go packages. internal/api/server.go serves the API, and cmd/stash/main.go is the application entry point.
Who is Stash for?
Stash is for organizing and serving your own collection of videos and images. It supports both SFW and NSFW content.
What license does Stash use?
Stash uses the AGPL-3.0 license.
Code health
Hotspots average 4.4, the place fixes pay off most.
On the leaderboards:#26 of 28 Go repos
Key features of stash
- Gathers information about videos in your collection from the internet through community-built plugins.
- Supports a wide variety of video and image formats.
- Lets you tag videos and find them later.
- Provides statistics about performers, tags, studios and more.
How stashapp/stash works
On first run, Stash asks for media directories to index, a step the README calls Scanning, and the indexed media becomes available for browsing and tagging. The entry point cmd/stash/main.go starts the application, and internal/api/server.go serves the API that the interface calls. The graphql directory holds the GraphQL schema that defines this API. Metadata such as performers, tags and studios comes from scrapers and from stash-box services, and pkg/stashbox/graphql/generated_client.go is the generated client for talking to stash-box. The ui directory contains the React and TypeScript frontend, where ui/v2.5/src/components/Scenes/SceneList.tsx renders the list of scenes.
The codebase has 1,561 files and 11,136 symbols in 7 modules, led by Go, TypeScript and Python. Code health is 6.2 out of 10, rated fair.
Maintain stashapp/stash?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of stashapp/stash. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask stash's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/stashapp/stash?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/stashapp/stash?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/stashapp/stash.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/stashapp/stash?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/stashapp/stash.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/stashapp/stash.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>