Skip to content
xoorgzPublic

About

An organizer for your videos, written in Go. A fork of stashapp.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

🫦 stashhub

Go React TypeScript SQLite GraphQL

A fork of Stash that adds a TikTok-style vertical feed, a configurable recommendation algorithm, per-scene likes in the database, and a dark theme baked into the binary. Everything Stash already does (ingestion, scanning, scraping, performer and tag management) is untouched.

📱 TikTok-style vertical feed
🎛️ Configurable recommendation algorithm
❤️ Per-scene likes

stashhub vertical feed

Features

📱 TikTok-style vertical feed. Snap-scroll your library. Tap to play, double-tap for fullscreen.
🎛️ Configurable recommendation algorithm. Five weighted buckets, reshuffled every open.
❤️ First-class likes. Heart button persists straight to the database.
🔔 Live notification bell. Counts for new scenes, unorganized scenes, and performers without an image.
🧭 Sidebar navigation. Persistent left rail, top-right bar for quick links.
🎨 Modern dark theme. Hub-purple accent baked into the binary.
🗓️ Smart date display. Relative dates with the absolute on hover. Format configurable.
🔕 Toast toggles. Per-notice enable / disable.
🔐 No phone-home. No update check, no telemetry, no donate button.

Technical details

Algorithm buckets

Bucket Selection rule
Hottest Scenes tagged with a configurable tag
Liked Scenes with like_count > 0, ordered by likes desc
Top O-Count Scenes with o_counter at or above a threshold, desc
Top rated Scenes with rating100 at or above a threshold
Stale Scenes whose last_played_at is older than N days
Random Unfiltered random fallback

Already-viewed scene ids are excluded from the queue. All weights, thresholds, and the hottest-bucket tag live under Settings → Algorithm.

Likes

Migration 73 adds a scenes.like_count column and three GraphQL mutations: sceneIncrementLike, sceneDecrementLike, sceneSetLikeCount. The heart buttons call sceneIncrementLike and patch the Apollo cache in place so the count updates without a refetch.

Notification bell

Each row in the popover links straight to the corresponding filtered list view (e.g. Scenes with organized = false), as if you had configured the criterion manually. Rows are toggleable individually under Settings → Notifications.

Other UI changes

  • /login rewritten as a minimal pill-form layout in ui/login/login.css
  • Modal footer left-aligned, no top border, no top padding
  • Settings and Changelog pages flattened, no nested card chrome
  • Pagination buttons rendered as compact chevrons
  • Toolbar buttons consistent 35 px pills, 23 px variants attached to the search input
  • Tables get soft row dividers instead of borders, empty cells collapse

Build

git clone https://github.com/xoorgz/stashhub.git
cd stashhub

# UI bundle
cd ui/v2.5
yarn install
yarn build
cd ../..

# Go binary (needs Go 1.22 or newer)
make stash
./stash

Configuration

stashhub reads the same config.yml as upstream Stash and respects the same command-line flags (-c config.yml, --port, --host, --nobrowser, -u ui-location). First boot writes a default config; everything is editable from the Settings UI.

Upgrading from upstream Stash

stashhub is a forward fork from Stash v0.28.1 plus migration 73. Pointing stashhub at an existing Stash database runs the schema migration on first start; a backup is written next to config.yml. Downgrading back to upstream Stash after running migration 73 is not supported because the unknown like_count column blocks startup.

License

AGPL-3.0, same as upstream Stash. All credit for the underlying server, scanner, scraper system, and GraphQL API goes to the Stash maintainers. This repository's changes are limited to UI, theme, the recommendation algorithm, the like_count column, and a handful of settings panels.

About

An organizer for your videos, written in Go. A fork of stashapp.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages