Skip to content
Pocket Homelab
Install

Pocket Sphere

v0.6.0 · Self-hosted · MIT

Your video library, with a VR player.

Pocket Sphere keeps your videos on your own server: scenes, performers, studios, tags and markers, a player that does 180° and 360° VR in the browser, lookups that name your files by their fingerprints, and downloads from a link. A Stash replacement in one Go binary.

Install Sphere with Pocket Core in one command:

curl -fsSL https://pockethomelab.com/install.sh | sh -s -- --apps sphere

On any Linux machine or a Mac. Already running Pocket Core? Apps → Install app → Sphere. Add more apps to the line →

A VR scene on an iPhone: the player, its studio, date and 6K, a 4.5-star rating, performers and tagsA VR scene on an iPhone: the player, its studio, date and 6K, a 4.5-star rating, performers and tags

Home

Pick up where you left off.

Continue watching, what was added lately and your VR videos in rows of covers, with a short silent preview when you point at one. Shuffle picks something, and Download from a link is a click away.

The home page: continue watching, added lately and VR as rows of scene covers with ratings and performersThe home page: continue watching, added lately and VR as rows of scene covers with ratings and performers

Player

VR in the browser and the headset.

180° and 360° videos, fisheye lenses, side by side or top and bottom: drag to look around and scroll to zoom. On a Quest one button puts you inside the video, and DeoVR and HereSphere get their own feed.

  • Plays anything; the rest is converted while you watch
  • Scrubber pictures, markers and a play queue
  • HereSphere writes ratings and your place back
A VR scene's page: the player with its controls, a 4.5-star rating, plays, performers and tagsA VR scene's page: the player with its controls, a 4.5-star rating, plays, performers and tags

Library

Find any scene in a moment.

Search titles, performers, tags, studios and file names, filter and sort however you like, and save the views you come back to. Play all turns any list into a queue.

  • Ratings with half stars, favourites and history
  • Bulk edits and duplicates found by picture
  • Blur pictures until you point at them
The scenes on an iPhone: search, filters, sorting by release date and a grid of coversThe scenes on an iPhone: search, filters, sorting by release date and a grid of covers

Lookups

Names, faces and studios.

The same fingerprints as Stash look a file up on StashDB or TPDB and fill in the title, date, studio, performers with photos, tags and cover. Discover shows what a performer or studio made that you don't have.

  • Identify one scene or every new file on its own
  • A wishlist that ticks itself off
  • Follow performers and studios for new scenes
The performers page: a grid of portraits with scene counts, age and country, favourites markedThe performers page: a grid of portraits with scene counts, age and country, favourites marked

Downloads

Paste a link, it's in the library.

Videos, playlists and channels from a link, with the quality, format and folder you pick. Title, date, description and tags come along, and followed channels bring new videos on their own.

  • Your own cookies for sites that need a sign-in
  • Finds the video files on pages yt-dlp doesn't know
  • yt-dlp kept up to date by itself
Downloads: a link box with quality, format and folder, one download in progress, a failed one and two doneDownloads: a link box with quality, format and folder, one download in progress, a failed one and two done

And the rest of it

  • Bring Stash over

    Upload Stash's database: titles, performers, studios, tags, groups, markers and StashDB ids, plus your ratings, plays and resume points, matched by fingerprint.

  • Private for each person

    Ratings, history, downloads and settings belong to each person, admins included. A PIN lock, an escape page on Esc Esc and notifications without titles.

  • Pictures made for you

    Covers, scrubber pictures, short previews and marker clips, made in the background. VR videos get flat pictures, not the doubled fisheye frame.

  • Keeps to itself

    Other Pocket apps see nothing unless you switch a link on in Pocket Core, and nothing about what you watch reaches a journal.

Install

One container, two folders.

Run the image with a data folder and your video folder in any layout, and open it on port 8080. Videos show up within minutes; pictures and previews follow in the background. ffmpeg and yt-dlp are in the image.

Already installed on a Pocket Box, with sign-in through Pocket Core and the Ask panel on Pocket AI.

Every setting in the README →

The easiest way is the one command above. To run it on its own with Docker:

docker run -d --name pocket-sphere -p 8080:8080 \
  -v ./data:/data -v /path/to/your/videos:/library \
  -e BASE_URL=https://sphere.example.com -e SECURE_COOKIES=true \
  -e ADMIN_EMAIL=you@example.com -e ADMIN_PASSWORD=change-me-please \
  ghcr.io/abjelosevic88/pocket-homelab-sphere:latest