Skip to content
qdrawPublic

About

Accelerator to find and organize images driven by meta information. Browse and search images in your own cloud.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

14 stars

Watchers

3 watching

Forks

Latest commit

 

History

16,931 Commits

Folders and files

Repository files navigation

Starsky

A self-hosted photo manager that organises, searches and publishes your photo library using the metadata already inside your files.

MIT License Latest release Ubuntu build Coverage Docker pulls

Live demo · Download desktop app · Documentation · Changelog

Searching a photo library in Starsky

Your photos stay as normal files in normal folders. Starsky indexes them, reads and writes their EXIF/XMP metadata, and gives you a fast web interface to browse, search, tag, rename, geotag and publish them. There is no proprietary library format to get locked into.

The demo needs no login. It runs on a free tier and sleeps after 30 minutes of inactivity, so give it a moment to warm up. Changes made in the demo are not saved.

Features

  • Import from SD cards or folders, sorted into a folder structure based on the capture date (configurable)
  • Search by tag, description, date, location and more
  • Bulk editing of tags, titles and descriptions across many photos at once
  • Rename single files or whole sets by capture date, and shift timezones
  • Geotagging: match a GPX track to your photos, and reverse-geocode locations
  • Stacks, trash and video support
  • Thumbnails generated in the background, or taken from the embedded preview for speed
  • Publish a selection as a static web page, optionally pushed over FTP
  • Export and realtime updates in the UI when files change on disk
  • MCP server (opt-in) so AI agents such as Claude can search and read your library. Writes require an explicit confirmation step
  • Multi-user with account management, usable from CLI tools as well as the UI

Quick start

With Docker and SQLite:

docker run -d \
  --name starsky \
  --security-opt seccomp=unconfined \
  --security-opt apparmor=unconfined \
  -p 6470:6470 \
  -e PORT=6470 \
  -e app__databaseType="sqlite" \
  -e app__storageFolder="/app/pictures" \
  -e app__useDiskWatcher="false" \
  -e DOTNET_USE_POLLING_FILE_WATCHER="true" \
  -v /app/storage \
  -v ~/Pictures:/app/pictures \
  qdraw/starsky

Then open http://localhost:6470. MySQL/MariaDB, Windows, Raspberry Pi, systemd and other setups are covered in the getting started guide.

Prefer a desktop app? There are native builds for macOS and Windows.

Tech stack

Layer Technology
Backend .NET 10, ASP.NET Core, Entity Framework (SQLite or MySQL/MariaDB)
Web UI React, TypeScript, Vite
macOS app Swift / AppKit, WKWebView shell, Sparkle auto-updates
Windows app WPF
CLI tools Nine .NET command line tools (import, sync, geo, thumbnails, publish, admin, ...)
Testing MSTest (5,000+ test methods), Jest + Testing Library, Cypress end-to-end
Delivery Docker, GitHub Actions, Azure Pipelines, SonarCloud, Codecov

Architecture

All business logic lives in the backend. The React app, the desktop apps, the CLI tools and the MCP server are thin layers that call the same services, so a rule such as "how a file is renamed" exists in exactly one place.

The solution is split into starsky.feature.* (one library per capability, such as search, import or trash) and starsky.foundation.* (shared infrastructure such as storage, database and metadata reading). Tests mirror that structure, and use hand-written fakes instead of a mocking framework. See CLAUDE.md and the developer guide for the conventions.

Project layout

Path What it is
starsky/ .NET solution: web API, CLI tools, libraries and tests
starsky/starsky/clientapp/ React front-end
starsky-tools/ Node.js helper scripts and the Cypress end-to-end suite
mac/ Native macOS app
windows/ Windows desktop app
documentation/ Docusaurus documentation site

Each CLI tool has its own readme, linked from the solution readme.

Build from source

git clone https://github.com/qdraw/starsky.git
cd starsky
./build.sh        # macOS / Linux, builds everything and runs the tests

On Windows use .\build.ps1. Details and prerequisites are in the solution readme.

Contributing

Bug reports and pull requests are welcome, see CONTRIBUTING.md. For questions and ideas, please use GitHub Discussions. Security issues: see SECURITY.md.

About

Starsky is built and maintained by Dion (@qdraw), qdraw.nl. It started as a personal tool for a growing photo archive: fast search, no lock-in, import from an SD card, and geotagging from a GPX track recorded on a phone. It grew into a multi-platform application.

Licensed under the MIT License.

Build and quality status
.NET Windows Ubuntu Azure
React ClientApp
End-to-end end2end
Docker Docker
Desktop macOS Windows Release
Coverage codecov
SonarCloud Bugs Vulnerabilities Maintainability Reliability Lines of code

See the documentation and ./pipelines/azure for pipeline details.

List of Starsky Projects

About

Accelerator to find and organize images driven by meta information. Browse and search images in your own cloud.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

14 stars

Watchers

3 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages